On 28/09/2020 16:20, Chuck Anderson wrote: > On Mon, Sep 28, 2020 at 03:07:39PM +0200, Daniel Pocock wrote: >> 5. you can now use >> >> rsync --dry-run /mnt/sda1_non_raid /mnt/btrfs_new >> >> to see if every file on the sda1 side of the mirror matches what was >> copied to Btrfs > > Add --checksum to the rsync invocation. Otherwise, rsync relies on > modified timestamp and file size only to determine whether to sync > files. --checksum will actually run a checksum on the source and > destination files to determine if they are different. For clarification, the complete rsync command may actually be something like this: rsync -arvi --dry-run --checksum \ /mnt/sda1_non_raid/ \ /mnt/btrfs_new/ Notice the trailing slashes as well. If you love your data, please take a few minutes to experiment with the rsync command on test data and ensure you are familiar with the output for a mismatch. In my own case, I also have LVM on top of md. I was able to do the following: activate one side of the md array, vgscan to find my volumes, mount them, rsync dry-run as above, unmount, vgexport, mdadm --stop, physically remove the volume, repeat for the other physical volume Regards, Daniel _______________________________________________ devel mailing list -- devel@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe send an email to devel-leave@xxxxxxxxxxxxxxxxxxxxxxx Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/ List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines List Archives: https://lists.fedoraproject.org/archives/list/devel@xxxxxxxxxxxxxxxxxxxxxxx