Linux - SoftwareThis forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
i just ran df command for each /home device and they both report the same statistics- which leads me to believe that the drives are mirrored, and have the same data.
That's strange. My results (post #10) were just the opposite. When you check with df, are you mounting each partition individually, or do still have them both mounted at the same time?
BTW, you can certainly do an md5sum in the manner JZL240I-U suggested, but a mismatch would not necessarily mean that the essential info was not the same. That is because the md5sum would include all of the unused sectors in addition to the actual contents of the filesystem. It would also include things like mount counts and other such data.
Distribution: openSuSE Tumbleweed-KDE, Mint 21, MX-21, Manjaro
Posts: 4,629
Rep:
Quote:
Originally Posted by blackhole54
...you can certainly do an md5sum in the manner JZL240I-U suggested, but a mismatch would not necessarily mean that the essential info was not the same. That is because the md5sum would include all of the unused sectors in addition to the actual contents of the filesystem. It would also include things like mount counts and other such data.
He could do a
Code:
dd if=/dev/zero of=/path/to/device/nullfile bs=1
As I understood from the previous posts, both disks are always simultaneously mounted but the file system data are a problem.
Like someone earlier posted, better use raid or rsync.
That's strange. My results (post #10) were just the opposite. When you check with df, are you mounting each partition individually, or do still have them both mounted at the same time?
BTW, you can certainly do an md5sum in the manner JZL240I-U suggested, but a mismatch would not necessarily mean that the essential info was not the same. That is because the md5sum would include all of the unused sectors in addition to the actual contents of the filesystem. It would also include things like mount counts and other such data.
blackhole, i did an md5sum as per JZL240I-U, and the md5sums didn't match. i ran the test 2 times, with one hdd reporting the same md5um, and the other a different one each time, both of which did not match. i'm led to believe that one /home is idled, and the other has processes ongoing that alter the md5sum (the md5sum test itself?). i'd have to archive, create an image, etc... of each /home directory, and/ or each hdd, and then md5sum the files to really see if what is stored is the same.
btw JZL240I-U, wouldn't "dd /dev/zero..." zero fill my hdd?
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.