User and Group Quota Settings
64
Command Reference
Quotas allow you to restrict the space usage on the HP NAS 8000 for both users and groups.
You also can enable default quotas for users and/or groups. The default quota applies to all
users or groups who do not have a specific quota assigned to them. A user or group goes
beyond their defined space usage cannot write additional data to the system. Each user can
have one quota on a file volume.
Quotas are set on a per file volume basis. You must enable a file volume for quotas before the
settings can be modified. You can have a quota larger than the available space on the file
volume.
All user list files and quota files are in text form to allow for easy editing and script conditioning.
getSystemGroupQuota
Returns information about the quota defined for the specified group on the specified file volume.
I
inParam[0] = Group name
I
inParam[1] = Volume name
I
outParam[0] = Current usage Mb
I
outParam[1] = Soft limit
I
outParam[2] = Hard limit
I
outParam[3] = Grace period
setSystemGroupQuota
Sets the quota settings for the specified group on the specified file volume.
I
inParam[0] = Group name
I
inParam[1] = Volume name
I
inParam[2] = Soft limit
I
inParam[3] = Hard limit
getSystemUserQuota
Returns information about the quota defined for the specified user on the specified file volume.
I
inParam[0] = User name
I
inParam[1] = Volume name
I
outParam[0] = Current usage Mb
I
outParam[1] = Soft limit
I
outParam[2] = Hard limit
I
outParam[3] = Grace period