Strange disk usage discrepancy between 2 servers
by jong105 from LinuxQuestions.org on (#5HM0W)
Hi,
I'm copying some files (using rsync/ssh) between 2 servers. The source is a Debian machine using ZFS, and the destination is Fedora on XFS.
When I run du -h -d 0 . on the source directory, I get '124G'. When I run the same command on the destination, I get '175G'... and it's still copying!
Compression is enabled on the ZFS dataset, but I don't believe that should make a difference to the output of 'du'. I really don't understand what's going on here.
Any pointers would be greatly appreciated.
Jon
Edit:
Just a couple of minutes after I posted this, the rsync finished, with the destination directory showing usage of 176G. I'm still not seeing any obvious relationship between those vastly different numbers.


I'm copying some files (using rsync/ssh) between 2 servers. The source is a Debian machine using ZFS, and the destination is Fedora on XFS.
When I run du -h -d 0 . on the source directory, I get '124G'. When I run the same command on the destination, I get '175G'... and it's still copying!
Compression is enabled on the ZFS dataset, but I don't believe that should make a difference to the output of 'du'. I really don't understand what's going on here.
Any pointers would be greatly appreciated.
Jon
Edit:
Just a couple of minutes after I posted this, the rsync finished, with the destination directory showing usage of 176G. I'm still not seeing any obvious relationship between those vastly different numbers.