root@sol11aa ~# zfs get -r quota rpool/mita
NAME PROPERTY VALUE SOURCE
rpool/mita quota none default
rpool/mita/jenna quota none default
rpool/mita/josep quota none default
These properties can be changed with zfs set.
root@sol11aa ~# zfs set quota=2gb rpool/mita/jenna
root@sol11aa ~# zfs get -r quota rpool/mita
NAME PROPERTY VALUE SOURCE
rpool/mita quota none default
rpool/mita/jenna quota 2G local
rpool/mita/josep quota none default
And they can be cleared by setting the property to none, but the source is now set to local instead of default.
root@sol11aa ~# zfs set quota=none rpool/mita/jenna
root@sol11aa ~# zfs get -r quota rpool/mita
NAME PROPERTY VALUE SOURCE
rpool/mita quota none default
rpool/mita/jenna quota none local
rpool/mita/josep quota none default
This local can be restored to default using zfs inherit.
root@sol11aa ~# zfs inherit -Sr quota rpool/mita/jenna
root@sol11aa ~# zfs get -r quota rpool/mita
NAME PROPERTY VALUE SOURCE
rpool/mita quota none default
rpool/mita/jenna quota none default
rpool/mita/josep quota none default
1 comment:
Thanks for the informative post!
Post a Comment