zfs quota question
max at love2party.net
Tue Oct 7 11:27:23 UTC 2008
On Tuesday 07 October 2008 12:43:45 Pete French wrote:
> > Yeah, ZFS offers a lot, which can create confusion, unfortunately. Do we
> > limit physical space with quota or only logical (before compression)?
> > Should we take space consumed by snapshots into account or not? etc.
> On a related note, is there any way to make du tell me how big files
> are in actual bytes on a compressed ZFS filesystem, aas opposed to space
> on the disc ? I love ZFS, but I suddenly found out last night that I
> have lost the ability tto do a 'du' on a directory to work out if it will
> fit onto a CD or not :-)
But you can't do that on UFS either: sparse files, hardlinks, ...
The GNU du(1) has a "--apparent-size" switch to get the logical size instead
of what the tool's name suggests (the disk usage).
/"\ Best regards, | mlaier at freebsd.org
\ / Max Laier | ICQ #67774661
X http://pf4freebsd.love2party.net/ | mlaier at EFnet
/ \ ASCII Ribbon Campaign | Against HTML Mail and News
More information about the freebsd-stable