Stack Exchange Network

Stack Exchange network consists of 174 Q&A communities including Stack Overflow, the largest, most trusted online community for developers to learn, share their knowledge, and build their careers.

Visit Stack Exchange

Questions tagged [integrity]

The tag has no usage guidance.

1
vote
1answer
41 views

How can I copy and verify a file as I do the copy?

(Yet another "copy and verify" question...) I have a reasonable amount of data I want to copy between several HDDs, and I want to make absolutely sure the data is copied correctly. My current ...
0
votes
0answers
17 views

Can Yum or any other RPM front end work with dm-verity?

My understanding is dm-verity target is read-only so there is no way Yum or any other RPM front end can install a new package on dm-verity enabled block device? Even if some mechanism is used to ...
0
votes
1answer
70 views

md5sum warning about formatted lines

I am trying to validate a file using the following command: $ md5sum myfile_v2.1.ova -c myfile_v2.1.md5 md5sum: myfile_v2.1.ova: no properly formatted MD5 checksum lines found myfile_v2.1.ova: OK ...
2
votes
1answer
31 views

Verify disk integrity without reading data?

There is an application called “HDDscan” for Windows: http://hddscan.com/ It can also verify disks by reading them in a way they only get transferred into the internal buffer of the drive, and ...
2
votes
1answer
208 views

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'...
0
votes
1answer
49 views

Set two or more files for execution (via source) in a comfortable way to read

I used the following way to execute a collection of Bash script files, in the current Bash session: source ~/myScripts/{assignments.sh,nginx_conf.sh,php_conf.sh,drush_install.sh} It feels to me ...
0
votes
0answers
26 views

What are some good tools to monitor integrity of digital assets?

BACKGROUND: I have ~300 GB of important data that covers everything from music, photos, git repos, etc. The other day, I noticed a particular music album was not in my collection. I went to buy it ...
2
votes
1answer
73 views

How does mdadm know where changes occurred?

About 10 days ago, my RAID 1 managed with mdadm had a failure. The array consists of 2 external 2 TB hard drives which are connected via USB and I suspect there was a loose connection which lead to a ...
1
vote
1answer
265 views

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 ...
2
votes
2answers
130 views

Problems doing a tripwire database update: No protocol specified / QXcbConnection: Could not connect to display :0 / Interactive Update failed

So I'm trying to run an update to the tripwire database via ./tripwire --update --twrfile ./report/name.twr as described here as root on my computer but I get these errors (note that --init and --...
0
votes
1answer
416 views

How to verify file/directory integrity when using SCP over SSH?

I just copied a few directories and files using SCP from a SSH remote server. How can I check if the files were copied exactly and there were no errors or no files were skipped?
3
votes
2answers
7k views

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 ...
2
votes
1answer
3k views

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 ...
13
votes
5answers
3k views

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 ...
0
votes
1answer
119 views

How to check mdadm software RAID array, if the e.g. the swap file is on it?

I am on Linux Mint 18.1 with 4.8 kernel. Question is: How to check (mdadm) software RAID array, if the e.g. the swap file is on it? I need the correct procedure before and after calling the ...
2
votes
1answer
122 views

Is there a corresponding mechanism to secure apt for FreeBSD?

Coming from more of a linux background I looked into FreeBSD and I have read most of the FreeBSD Handbook, which is good and provides lots of insights also about Security (Chapter 13). Even though ...
3
votes
1answer
942 views

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

As the title says it all 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 ...
1
vote
1answer
55 views

What Unix files need to have their integrity monitored and why? [closed]

I am learning about file integrity and wanted to protect some files, I have already noted shadow, passwd and passwd_backup but I was wondering if there are many more and also why these need to be ...
3
votes
0answers
126 views

Filesystem for highly radioactive environment [closed]

My university's cubesat team is looking for a Linux filesystem that will be resistant to bitrot in the unshielded radiation of outer space. We have 3 flash-based drives but only need the storage of ...
1
vote
1answer
310 views

Using crc32 to find if files were harmed or damaged

I have a directory with a content. To ensure nothing will get lost with copying I compressed the directory and now I have a dir.tar.gz file. The copying still troubles me and the files are damaged so ...
0
votes
1answer
87 views

Are NetBSD provide digital signatures for official ISO images and binary packages?

I just install NetBSD in from ISO image inside VirtualBox. Official source ISO media contains only MD5/SHA512 sums. Similarly pkg_add binary packag repository contains only SHA512 sums. Both FTP ...
2
votes
2answers
942 views

HDD cloning and non-matching checksums

I've been trying to clone a 1Tb HDD to a 1Tb SSD following the instructions here. I tried cloning it several times with both dd (painfully slow) and cat (far quicker) but when I came to do checksums ...
6
votes
2answers
7k views

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?...
2
votes
2answers
189 views

Why can I rest assured that GNU Parted has not corrupted a single bit after shrinking my partition?

I shrunk my root partition and it seems nice. But I am thinking about overwriting now at least the most important files from the backup copy (external drive, rsync, weekly backup) in order to be sure ...
9
votes
5answers
9k views

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 ...
8
votes
2answers
8k views

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 ...
3
votes
2answers
3k views

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, ...
0
votes
2answers
275 views

md5sum check fails for git-man-pages.tar.gz package

When I try to verify the integrity of git-man-pages package I downloaded from "http://code.google.com/p/git-core/downloads/detail?name=git-manpages-1.8.4.tar.gz&can=2&q=" it fails with error. ...
4
votes
2answers
594 views

What to do after cancelled “rm -rf /usr/” on Arch?

So I just did this on my up-to-date Arch system: [anna@home ~]$ sudo rm -rf /usr/ ^C[anna@home ~]$ ^C [anna@home ~]$ ^C I terminated the rm very quickly. I can't find anything wrong with /usr/ by ...
3
votes
4answers
680 views

How to restore data atomically on a remote server?

I want to be able to backup and restore my home directory of a remote account. The command I use are: Backup ssh myuser@myuser.server.com "tar jcf - ." > backup.tar.bz2 Restore cat backup.tar....
8
votes
3answers
13k views

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 ...