Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
zfs compressed data counts less against the quota.
[root@smartos-iso /zones/compquota]# zfs get compression,used,quota,avail zones/compquota
NAME PROPERTY VALUE SOURCE
zones/compquota compression on inherited from zones
zones/compquota used 23K -
zones/compquota quota 10M local
zones/compquota available 9.98M -
[root@smartos-iso /zones/compquota]# ls -lh
total 1
-rw-r--r-- 1 root root 500M Mar 17 21:33 zero
NAME PROPERTY VALUE SOURCE
zones/3c3c1549-1844-692a-cd4c-f68a1fdbfcec/disk0 compression on inherited from zones
zones/3c3c1549-1844-692a-cd4c-f68a1fdbfcec/disk0 used 10.6G -
zones/3c3c1549-1844-692a-cd4c-f68a1fdbfcec/disk0 volsize 10G local
zones/3c3c1549-1844-692a-cd4c-f68a1fdbfcec/disk0 available 6.47G -
zones/3c3c1549-1844-692a-cd4c-f68a1fdbfcec/disk0 logicalused 6.69G -
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.