2011-11-23 8:21, Ian Collins wrote:
If you use "du" on the ZFS filesystem, you'll see the logical
storage size, which takes into account compression and sparse
bytes. So the "du" size should be not greater than "ls" size.


It can be significantly bigger:

ls -sh x
2 x

du -sh x
1K x

Pun accepted ;)

Ian is right, that "du" size also reflects block-size
usage, and that's how many bytes are actually used on
the FS (over redundancy layer). Even if your files are
smaller than a single block, that's the minimum they
will bite off your disk anyway.

However, the original question was about VM datastores,
so large files were assumed.

//Jim
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to