[SunHELP] zfs set userquota not working on upgraded zfs dataset

Tim Bingham binghamt at upstate.edu
Mon Mar 22 10:10:09 CDT 2010


Hi all,

I recently applied patches to a Solaris 10 environment and upgraded 
my zpool and zfs to version 14 and 5 respectively so I could use 
user-based disk quotas.

When I try to apply the quota on an existing zfs dataset, it doesn't 
do anything. If I create a new dataset and apply it, it works. Does 
anyone know how to get it to work on an existing dataset? Here is the 
output from my attempt showing how it only seems to work on new 
datasets:

# zfs list
NAME   USED  AVAIL  REFER  MOUNTPOINT
data  50.7G   145G  50.7G  /data
# zpool upgrade
This system is currently running ZFS pool version 15.

All pools are formatted using this version.
# zfs upgrade
This system is currently running ZFS filesystem version 4.

All filesystems are formatted with the current version.
# zfs set userquota at user1=50G data
# zfs get userquota at user1 data
NAME  PROPERTY           VALUE              SOURCE
data  userquota at user1  -                  -
# zfs create data/test
# zfs set userquota at user1=50G data/test
# zfs get userquota at user1 data/test
NAME       PROPERTY           VALUE              SOURCE
data/test  userquota at user1  50G                local

Thanks,
Tim



More information about the SunHELP mailing list