storage# zfs create tank/homes/test2
storage# zfs list tank/homes/test2
NAME USED AVAIL REFER MOUNTPOINT
tank/homes/test2 24.0K 100G 24.0K /homes/test2
storage# zfs set quota=10M tank/homes/test2
cannot set property for 'tank/homes/test2': permission denied
storage#
t1066 said:You need zfs version 15 to set quota. And, for the moment zfs is only at version 14 on 8.1.
However, a good news is that zfs version 15 was committed to head and patches will be released once 8.1 is available.
# zfs get quota tank/jails/diffs/openid
NAME PROPERTY VALUE SOURCE
tank/jails/diffs/openid quota none default
# zfs set quota=100M tank/jails/diffs/openid
cannot set property for 'tank/jails/diffs/openid': size is less than current used or reserved space
# zfs set quota=2048M tank/jails/diffs/openid
# jls
JID IP Address Hostname Path
3 <ip> <hostname> /jails/run/openid
// our jail is running
# zfs get quota tank/jails/diffs/openid
NAME PROPERTY VALUE SOURCE
tank/jails/diffs/openid quota 2G local
# zfs set quota=none tank/jails/diffs/openid
# zpool upgrade
This system is currently running ZFS pool version 14.
The following pools are out of date, and can be upgraded. After being
upgraded, these pools will no longer be accessible by older software versions.
VER POOL
--- ------------
13 tank
alp said:I'm running not very recent 8-STABLE...
# hostname
host.domain.com
# jexec 1 sh
# hostname
jail.host.domain.com
# zfs set quota ......
AFAIK, this functionality is not implemented...redixin said:I can change quotas from host machine too, but can you do the same from the jail?
[/code]
redixin said:I can change quotas from host machine too, but can you do the same from the jail?
something like
Code:# hostname host.domain.com # jexec 1 sh # hostname jail.host.domain.com # zfs set quota ......