Le 24/01/2018 à 05:11, David T-G a écrit :
jdd --
% so is there a way to really compare two mirrored disks to see if the % copy is good (ext4)?
I forget if we've discussed this before... What about good ol'
diff -r $SRC $DST
to recurse through both trees? Do you *need* to care if any sparse files have been expanded upon copy (ie are there a lot of them waiting to blow up your target disk space?)?
the to disks are simply archives made mostly trough Dolphin (copy/paste) then mirrored from the first disk (5to2) to the second (4To) diff run after around 24h with 18% processor (there are around 3.5To data) with little differences, but ones I don't understand. # rsync -ai --delete /run/media/jdd/intenso5to2/ /run/media/jdd/intenso4to/ to make sure nothing was changed since last mirror (nothing copied this time) try to remove empty dirs: # find /run/media/jdd/intenso5to2/ -type d -empty -delete # find /run/media/jdd/intenso4to/ -type d -empty -delete but... this is both not completely harmless, because some empty dirs may be relevant, anyway this do not remove hidden dirs and trigger a diff error: diff -r /run/media/jdd/intenso5to2/ /run/media/jdd/intenso4to/ 2> diff-r.txt gives a non empty result: 255370 25 janv. 00:34 diff-r.txt but most if not all are about symbolic links that do not point to anything (due to the copy) https://www.cjoint.com/doc/18_01/HAzgipL8PRh_Screenshot-20180125-070751.png I guess diff tried to follow the links? but also (no such file): diff: /run/media/jdd/intenso5to2/archives-avant-2016/archives-2009-180go/sauf-multimedia/web/data/srv/www/htdocs/cubahoy2009: Aucun fic hier ou dossier de ce type diff: /run/media/jdd/intenso4to/archives-avant-2016/archives-2009-180go/sauf-multimedia/web/data/srv/www/htdocs/cubahoy2009: Aucun fichier ou dossier de ce type and there is no file of this name on any disk, not even link, so from where come the diff message? so no meaningful difference thanks jdd -- http://dodin.org -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org