Quotas can be set for a user or group at the project or filesystem level.
hostname:> shares select default select eschrock
hostname:shares default/eschrock> users hostname:shares default/eschrock users> list USER NAME USAGE QUOTA SOURCE user-000 root 321K - - user-001 ahl 9.94K - - user-002 eschrock 20.0G - -
hostname:shares default/eschrock users> select name=eschrock hostname:shares default/eschrock user-002> get name = eschrock unixname = eschrock unixid = 132651 winname = (unset) winid = (unset) usage = 20.0G quota = (unset) source = (unset)
hostname:shares default/eschrock user-002> set quota=100G quota = 100G (uncommitted) hostname:shares default/eschrock user-002> commit hostname:shares default/eschrock user-002> done
The Source column displays "local" if the quota was set at the filesystem level, "default" if set at the project level, or "-" if no quota was set. In the following example, the default user quota set at the project level is 50 GB.
If a default user or group quota was set at the project level, this procedure overrides that value.
hostname:shares default/eschrock users> quota hostname:shares default/eschrock users quota (uncomitted)> set name=bmc name = bmc (uncommitted) hostname:shares default/eschrock users quota (uncomitted)> set quota=default quota = default (uncommitted) hostname:shares default/eschrock users quota (uncomitted)> commit hostname:shares default/eschrock users> list USER NAME USAGE QUOTA SOURCE user-000 root 321K - - user-001 ahl 9.94K - - user-002 eschrock 20.0G 100G local user-003 bmc - 50G default