Questions tagged [integrity]

For questions on how to ensure/verify the integrity of data and software against involuntary corruption or malicious modification.

56 questions
21
votes
5 answers

Does dd do any kind of verification?

I'm using dd to copy data from an old hard drive to a new one. I want to be sure that the data's integrity is secure. On this answer, Gilles says If [dd] terminated successfully, then the backup is correct, barring a hardware fault… What does that…
Sparhawk
  • 19,561
  • 18
  • 86
  • 152
17
votes
4 answers

Debian laptop installation fails due to debootstrap error "Failed to determine the codename for the release" at "Install the base system"

So I'm trying to install Debian 9.0 to my laptop (UEFI) via DVD and everything worked fine except that the mousepad doesn't work (yet?) and that I'm getting this error: Debootstrap error Failed to determine the codename for the release. at the…
mYnDstrEAm
  • 4,008
  • 13
  • 49
  • 108
15
votes
5 answers

Check data integrity after copying thousands of files

I copied thousands of files into an exFAT MicroSD card. The number of files and bytes is identical, but how do I know whether the data is corrupt or not? It would be good if the JackPal Android Terminal also supports the command.
neverMind9
  • 1,680
  • 2
  • 18
  • 38
14
votes
5 answers

Does gzip add integrity/crc check to a .tar?

I run commands: tar -cf myArchive.tar myDirectory/ gzip myArchive.tar then I copy the file over a lot of unreliable mediums, and later I unpack it using: tar -xzf myArchive.tar.gz The fact that I compressed the tar-ball, will that in any way…
Aksel Willgert
  • 397
  • 2
  • 3
  • 8
13
votes
2 answers

How to verify Debian ISO integrity?

I recently downloaded Debian 7.5.0 Wheezy and managed to use the Release.sig signature to verify the integrity of the Release checksum file using GPG4Win. Unfortunately, I couldn't find any advice on where to find the md5/SHA1/SHA256 checksum inside…
user295031
  • 131
  • 1
  • 2
  • 5
12
votes
3 answers

How to check integrity of a dd backup?

I just made a backup of an entire hard drive (50GB) over ssh via: dd if=/dev/hda | buffer -s 64k -S 10m | ssh myuser@myhost "cat > ~/image.img" What's now the best way to check the integrity of the file image.img, i.e. how to verify that…
student
  • 17,875
  • 31
  • 103
  • 169
11
votes
1 answer

Difference between nointegrity, noatime & relatime

What is the difference between nointegrity, noatime and relatime? And what is the best option for a SSD? I am using ext4 as my filesystem. And why disabling journaling on my system, data loss can occur? Can I use for example nointergrity & noatime…
Daniel
  • 307
  • 1
  • 2
  • 10
8
votes
1 answer

Is there any way to verify the integrity of an xz archive without decompressing the entire archive?

Can I check the integrity of the archive without decompressing it as the archive is 64GB. It is a backup of my old laptop and before i format my old laptop I wanted to verify the backup but it will take too long to decompress and verify. So is there…
PSP
  • 195
  • 3
  • 7
8
votes
3 answers

Verify file integrity by comparison with original file

I'm copying 1TB of a FreeNAS Server to a USB External Drive, I'm doing it with "cp", and after the copy has finished, I want to compare the files from original files to the copy one. Is this possible?
André M. Faria
  • 181
  • 1
  • 1
  • 3
8
votes
2 answers

How to verify that package-installed files match originals?

Let's say I have an installed, working and up-to-date system, and want to verify that all package-installed files on it are the same as those packaged by the respective package maintainer. In effect, I want a list of files that are somehow different…
user
  • 28,161
  • 13
  • 75
  • 138
6
votes
4 answers

Easy backup solution to protect against bit rot (or verify)

I'm looking for an easy solution to protect against random bit flips (so-called bit rot) of data stored on various drives. They are not disk arrays, just single disks, that I backup once a week. So I'm not looking for redundancy, but for file…
kktsuri
  • 195
  • 1
  • 7
5
votes
1 answer

What are data integrity / bit-rot protection options on CentOS 7?

I have a 2 disk CentOS 7 machine build that I need data integrity / bitrot protection on. How can I achieve this? Note from my reading btrfs,zfs and DM-Integrity does not seem to be options. Btrfs is not an option as btrfs will be deprecated by…
MeData
  • 61
  • 2
4
votes
1 answer

Replace ZFS with dm-integrity and dm-raid

I recently had a lot of data destroyed from a ZFS bug when I updated my computer (may have been related to https://www.reddit.com/r/zfs/comments/ql0bro/ubuntu_2110_zfs_corruption_bug/ or some other bug). I only use ZFS for the data integrity and the…
temp
  • 141
  • 2
4
votes
2 answers

dm-integrity standalone mapper device lost after reboot

I currently try to use dm-integrity to run in standalone mode. For that I install a plain ubuntu server 20.04 in a virtual box VM. In the next steps I create the dm-integrity device, a ext4 filesystem and mount it: integritysetup format…
schlagi123
  • 143
  • 5
4
votes
1 answer

Changed hostname, now I can't run a tripwire check: "policy file does not match policy used to create database"

So due to problems with my hostname I just changed it. The problem with that is that in the tripwire configuration I left the hostname variable within the name of the dbfile and the local keyfile as it was. (like {$hostname}-abc.key) First I tried…
mYnDstrEAm
  • 4,008
  • 13
  • 49
  • 108
1
2 3 4