Re: rsync: different target size

2010-01-19 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Rick Thomas wrote: > I was thinking: if you don't trust rsync, then use something > else to generate the checksums. But if you trust rsync, why bother with > double-checking in the first place? Because it could be that rsync works fine, but

Re: rsync: different target size

2010-01-19 Thread Rick Thomas
On Jan 19, 2010, at 5:58 AM, Leonardo Canducci wrote: ( cd source ; find . -type f -print0 | sort -z | xargs ls -s ) > /tmp/source-stuff ( cd target ; find . -type f -print0 | sort -z | xargs ls -s ) > /tmp/target-stuff diff /tmp/target-stuff /tmp/source-stuff you can use something like "md5su

Re: rsync: different target size

2010-01-19 Thread Jon Dowland
On Mon, Jan 18, 2010 at 06:20:27PM +0100, Leonardo Canducci wrote: > I'm using rsync -aHS to backup some stuff (mostly jpgs and > docs from my home) to an external usb hard drive (same > ext3 fs). snip > I've noticed some dir size doesn't match: snip Ext3 has a limitation in the way it stores dire

Re: rsync: different target size

2010-01-19 Thread Leonardo Canducci
2010/1/19 Rick Thomas : > > On Jan 18, 2010, at 12:20 PM, Leonardo Canducci wrote: > >> I'm using rsync -aHS to backup some stuff (mostly jpgs and docs from >> my home) to an external usb hard drive (same ext3 fs). >> After a backup I ran du -s to get a fast check on size and found >> source and ta

Re: rsync: different target size

2010-01-19 Thread Leonardo Canducci
2010/1/18 Johannes Wiedersich : > -BEGIN PGP SIGNED MESSAGE- > Hash: SHA1 > > Leonardo Canducci wrote: >> I'm using rsync -aHS to backup some stuff (mostly jpgs and docs from >> my home) to an external usb hard drive (same ext3 fs). > > [snip] > >> I'd like the size of the backup to be exac

Re: rsync: different target size

2010-01-18 Thread Rick Thomas
On Jan 18, 2010, at 12:20 PM, Leonardo Canducci wrote: I'm using rsync -aHS to backup some stuff (mostly jpgs and docs from my home) to an external usb hard drive (same ext3 fs). After a backup I ran du -s to get a fast check on size and found source and target to be slightly different. Even us

Re: rsync: different target size

2010-01-18 Thread Johannes Wiedersich
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 Leonardo Canducci wrote: > I'm using rsync -aHS to backup some stuff (mostly jpgs and docs from > my home) to an external usb hard drive (same ext3 fs). [snip] > I'd like the size of the backup to be exactly the same and check sync > result with du.

rsync: different target size

2010-01-18 Thread Leonardo Canducci
I'm using rsync -aHS to backup some stuff (mostly jpgs and docs from my home) to an external usb hard drive (same ext3 fs). After a backup I ran du -s to get a fast check on size and found source and target to be slightly different. Even using du -cb or du-cbk size doesn't match. So what's wrong?!