On Tue, Oct 07, 2008 at 03:30:09AM -0700, Jeremy Chadwick wrote: > On Tue, Oct 07, 2008 at 12:17:55PM +0200, Pawel Jakub Dawidek wrote: > > Turn compression off and retry. > > Yep, that's the key! > > # zfs set quota=4g storage/home > # zfs set compression=off storage > # zfs get compression,quota,mountpoint > NAME PROPERTY VALUE SOURCE > storage compression off local > storage quota none default > storage mountpoint /storage default > storage/home compression off inherited from storage > storage/home quota 4G local > storage/home mountpoint /home local > > # dd if=/dev/zero of=/home/filler bs=1g count=8 > dd: /home/filler: Disc quota exceeded > 4+0 records in > 3+1 records out > 3306553344 bytes transferred in 62.566567 secs (52848566 bytes/sec) > > # df -h /home > Filesystem Size Used Avail Capacity Mounted on > storage/home 4.0G 4.0G 0B 100% /home > > I had no idea compression could cause this. A useful feature, but > obviously can result in misleading results... :-)
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. -- Pawel Jakub Dawidek http://www.wheel.pl [EMAIL PROTECTED] http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am!
pgpVuXJCx6E3U.pgp
Description: PGP signature
