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,                      | [EMAIL PROTECTED]
\ /  Max Laier                          | ICQ #67774661
 X   http://pf4freebsd.love2party.net/  | [EMAIL PROTECTED]
/ \  ASCII Ribbon Campaign              | Against HTML Mail and News
_______________________________________________
[email protected] mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-stable
To unsubscribe, send any mail to "[EMAIL PROTECTED]"

Reply via email to