Scroll to navigation

ROZO_SETQUOTA(8) System Manager's Manual ROZO_SETQUOTA(8)

NAME

rozo_setquota - set disk quotas

SYNOPSIS

rozo_setquota [ -u | -g | -s ] [ -f exportconf ] name block-softlimit block-hardlimit inode-softlimit inode-hardlimit -a | filesystem...

rozo_setquota [ -u | -g | -s ] [ -f exportconf ] name -a | filesystem_id...

rozo_setquota -b [ -u | -g | -s ] [ -f exportconf ] -a | filesystem_id...

rozo_setquota -t [ -u | -g | -s ] [ -f exportconf ] block-grace inode-grace -a | filesystem_id...

rozo_setquota -T [ -u | -g | -s ] [ -f exportconf ] name block-grace inode-grace -a | filesystem_id...

DESCRIPTION

rozo_setquota is a command line quota editor. The filesystem identifier, user/group name and new quotas for this filesystem identifier can be specified on the command line. Note that if a number is given in the place of a user/group name it is treated as an UID/GID.

Full pathname of the exportd configuration file that contains all the filesystem identifiers associated with the exportd.
Set user quotas for named user. This is the default.
Set group quotas for named group.
Set group quotas for named project.
Always try to translate user / group name to uid / gid even if the name is composed of digits only. Does not apply on project.
Read information to set from stdin (input format is name block-softlimit block-hardlimit inode-softlimit inode-hardlimit ). Empty lines and lines starting with # are ignored.
If parsing of an input line in batch mode fails, continue with processing the next line.
Set grace times for users/groups/projects. Times block-grace and inode-grace are specified in seconds.
Alter times for individual user/group/porject when softlimit is enforced. Times block-grace and inode-grace are specified in seconds or can be string 'unset'.
Go through all filesystems with quota in /etc/rozofs/exportd.conf (default configuration file) and perform setting.

To disable a quota, set the corresponding parameter to 0. To change quotas for several filesystems, invoke once for each filesystem.

Only the super-user may edit quotas.

FILES

/etc/rozofs/exportd.conf
default exportd configuration file

SEE ALSO

rozo_quotaon(8), rozo_repquota(8)