On Tue, 23 Jan 2018 22:57:18 +0100 Bernhard Voelker <mail@bernhard-voelker.de> wrote:
On 01/23/2018 09:00 PM, jdd@dodin.org wrote:
so even non existent and not openned files can take place... any way to reclame the space?
AFAIK no. The only workaround I know is to create a new directory "d1.new", move all remaining entries (if any) from "d1" to "d1.new", then rmdir "d1" and rename "d1.tmp" to "d1".
I take it you meant to say 'copy' (cp) rather than 'move' (mv) since move will just change the directory pointers.
and same with --apparent-size?
yes, this is /apparent/ size. ;-)
so is there a way to really compare two mirrored disks to see if the copy is good (ext4)?
well, you can check with rsync again, telling it to compare the content as well (file size and time stamps is not good enough!):
rsync -HAXaxi --checksum --dry-run SRC/. DST/.
If nothing shows up there, then I'd say the backup looks good.
Have a nice day, Berny
-- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org