root@phoenix:~# ls -ld /backups/external?/var/subsonic/thumbs/110
drwxr-xr-x 2 root root 73728 Mar 4 15:35 /backups/external3/var/subsonic/thumbs/110
drwxr-xr-x 2 root root 69632 Mar 4 15:35 /backups/external4/var/subsonic/thumbs/110
The contents of the above directories is identical. The disks and filesystem configurations are identical. Yet the sizes of the directories themselves are different.
Yes the contents of the directory in question are identical, i've checked with diff -r, rsync -avx as well as beyond compare. Here's diff -r output:
root@phoenix:~# diff -r /backups/external{3,4}/var/subsonic/thumbs/110
root@phoenix:~#
du -bs output:
root@phoenix:~# du -bs /backups/external?/var/subsonic/thumbs/110
4116125 /backups/external3/var/subsonic/thumbs/110
4112029 /backups/external4/var/subsonic/thumbs/110
du -b --total output counting just the files within each directory:
root@phoenix:~# du -b --total /backups/external3/var/subsonic/thumbs/110/* | tail -1
4042397 total
root@phoenix:~# du -b --total /backups/external4/var/subsonic/thumbs/110/* | tail -1
4042397 total
So, for the external3:
4042397 + 73728 = 4116125
and for external4:
4042397 + 69632 = 4112029
The size of the files added to the size of the directory itself matches the output from du -bs.
du -s
? – Ignacio Vazquez-Abrams May 5 '12 at 5:29-b
implies--apparent-size
, which changes things. – Ignacio Vazquez-Abrams May 5 '12 at 6:02