Size Discrepancy between source and destination

Shelley Waltz shwaltz at cabm.rutgers.edu
Thu Oct 24 16:38:01 EST 2002


I have two identical disks /dev/sdb1 == source
			   /dev/sdc1 == dest

When I rsync the source -> dest
	rsync -a /tree2/ /tree2m
the destination size id considerably larger.

/dev/sdb1             17654736   6513064  10244848  39% /tree2
/dev/sdc1             17654736   7691192   9066720  46% /tree2m

When I look down into the directories I find the following

/tree2 ... SOURCE

[root]# du -sk *
4       marina
8       marshall
4       mcbaran
4       miller
8       mkim
8       monleon
8       mordes
[root]# ls -la marshall/
total 16
drwx------    2 cyrus    mail         4096 Aug 27  2001 .
drwxr-xr-x    9 cyrus    mail         4096 Aug 11 18:49 ..
-rw-------    2 cyrus    mail          797 Aug 27  2001 default
-rw-------    2 cyrus    mail          797 Aug 27  2001 default.script   


/tree2m ... DEST

[root]# du -sk *
4       marina
12      marshall
4       mcbaran
4       miller
12      mkim
12      monleon
12      mordes
[root]# ls -la marshall/
total 16
drwx------    2 cyrus    mail         4096 Aug 27  2001 .
drwxr-xr-x    9 cyrus    mail         4096 Aug 11 18:49 ..
-rw-------    1 cyrus    mail          797 Aug 27  2001 default
-rw-------    1 cyrus    mail          797 Aug 27  2001 default.script


Why is there a difference in the size of the directories for marshall(and 
many others) which makes the distination larger than the source?

{ Shelley Waltz

  UMDNJ/Rutgers University
  679 Hoes Lane
  Piscataway, NJ 08854-5638
  phone: (732) 235-3346 };





More information about the rsync mailing list