-
All replies
-
Helpful answers
-
Feb 20, 2013 5:14 PM in response to killabyteby Blaidd Drwg,I don't think group quotas will do what you want. If you set a 16GB quota on the group, all files that have that POSIX group (regardless of the owner) will count toward the quota. If you want to allow each user 16GB max, you need to give each user a 16GB quota.
If this is for home directories served via AFP, there is a user quota setting you can put in the user record for OD accounts that gets applied when the user logs into his AFP home. You might be able to do the same thing with AD accounts if you extend your AD schema or map the appropriate attribute and set the attribute in the user record.
-
Feb 20, 2013 6:34 PM in response to Blaidd Drwgby killabyte,nop it is not for home directories im dealing with video and afp wont support the BW, but can be home directories be located in a shared san resource? i believe not or maybe but would not work as desired.
do you know how to assign quotas to users otherwise than one by one in xsan admin?
-
Feb 20, 2013 6:41 PM in response to killabyteby Blaidd Drwg,You could probably script it with cvadmin. Typing help in cvadmin interactive mode shows these helpful commands. Note the "quotas set" command:
quotas [ yes | no ]
Enable or disable quota accounting and enforcement.
Enter quotas with no value to get current setting.
quotas get <user|group> <name>
Get quota parameters for user or group <name>.
quotas set <user|group> <name> <hardlim> <softlim> <timelim>
Set current quota parameters for user or group <name>.
<name> can be the name of a user or group, it can
also be an integer interpreted as a uid (for user)
or gid (for a group). Setting the hardlim, softlim,
and timelim to 0 disables quota enforcement for that
user or group. The values for hardlim and softlim are
expressed in bytes. The value for timelim is expressed
in minutes.
quotacheck
Recalculate the amount of space consumed (the current
size field of the quota record) by all users and
groups in the file system. This command can be run on
an active file system although file updates (writes,
truncates, etc.) will be delayed until quotacheck has
completed.
quotareset
Like quotacheck, but deletes the quota database before
performing the check. Use with extreme caution.
-
Feb 20, 2013 6:44 PM in response to Blaidd Drwgby Blaidd Drwg,Oh, and 16GB doesn't seem like much of a quota if you're working with video. Sorry for stating the obvious.
-
Feb 20, 2013 6:58 PM in response to Blaidd Drwgby killabyte,Hi thanks, i will check the commands and surely through a script could fix that. 16GB isnt much i know, but is enough to have 90 minutes of long gop codec video for each user. Their jobs should not last more than 5-7 minutes.