zfs quota question
Holger Kipp
hk at alogis.com
Tue Oct 7 10:10:02 UTC 2008
On Tue, Oct 07, 2008 at 05:32:43PM +0800, lhmwzy wrote:
> I create a zfs volume pool/lhm and give it quota 1M use "zfs set
> quota=1m pool/lhm"
according to zfs manpage:
Quotas cannot be set on volumes, as the "volsize" property acts as
an implicit quota.
Aditionally, I see you're using compression, so a 2.4M file might
not use up that much space. Compressration 7.25x
> #zfs get all pool/lhm
> zfs get all pool/lhm
> [ttyp0][5:22:12pm]
> NAME PROPERTY VALUE SOURCE
> pool/lhm type filesystem -
> pool/lhm creation Tue Oct 7 17:14 2008 -
> pool/lhm used 1.00M -
> pool/lhm available 0 -
> pool/lhm referenced 1.00M -
> pool/lhm compressratio 7.25x -
> pool/lhm mounted yes -
> pool/lhm quota 1M local
> pool/lhm reservation none default
> pool/lhm recordsize 128K default
If you find this answer helpful, donate money to some children help fund :-)
Regards,
Holger Kipp
More information about the freebsd-stable
mailing list