Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

chfsets(8) [osf1 man page]

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

NAME
chfsets - Changes limits for fileset quotas SYNOPSIS
/sbin/chfsets [-F limit] [-f limit] [-B limit] [-b limit] domain [fileset...] OPTIONS
Specifies the file usage soft limit (quota) of the fileset. Specifies the file usage hard limit (quota) of the fileset. Specifies the block usage soft limit (quota) in 1K blocks of the fileset. Specifies the block usage hard limit (quota) in 1K blocks of the fileset. OPERANDS
Specifies the name of the file domain. Specifies the name of one or more filesets. DESCRIPTION
The chfsets command enables you to change fileset quotas (file usage limits and block usage limits) of any AdvFS fileset. Filesets can have both soft and hard disk storage and file limits. When a hard limit is reached, no more disk space allocations or file creations which would exceed the limit are allowed. The soft limit may be exceeded for a period of time (called the grace period). The grace periods for the soft limits are set with the edquota command. The command also displays the changes made to the file and block usage limits. Note that the root user can exceed fileset quotas. The chfsets command displays the following fileset information: Id A unique number (in hexadecimal format) that identifies a file domain and fileset. File H limit The file usage hard limit of the specified fileset before the change followed by the new limit. Block H limit The block usage hard limit of the specified fileset before the change followed by the new limit. File S limit The file usage soft limit of the specified fileset before the change followed by the new limit. Block S limit The block usage soft limit of the specified fileset before the change followed by the new limit. Use the following commands to manipulate filesets: Displays the limits and actual number of blocks used by a fileset. Displays space usage for the specified domain. Displays the file and block usage limits for the filesets in a domain. Changes the user or group block and file limits and grace period. Turns on and off quota enforcement. For more information, see the reference pages for each command. RESTRICTIONS
At least one fileset within the domain must be mounted for the chfsets command to succeed. You must be the root user to run the chfsets command. EXAMPLES
The following example changes the file hard limit from 11 to 200 and block hard limit from 121 to 1000 for the credit_fs fileset in the account_dmn domain: # chfsets -b 1000 -f 200 account_dmn credit_fs credit_fs Id : 2c2f557f.000b15f4.3.8004 File H limit : 11 --> 200 Block H limit : 121 --> 1000 EXIT STATUS
The utility returns a 0 (zero) on success and a 1 (one) on failure. SEE ALSO
Commands: df(1), edquota(8), quotaon(8), quotaoff(8), showfdmn(8), showfsets(8) chfsets(8)

Check Out this Related Man Page

advfs_rmfset(3) 					     Library Functions Manual						   advfs_rmfset(3)

NAME
advfs_rmfset - Removes a fileset or a clone fileset SYNOPSIS
#include <sys/advfs_syscalls.h> int advfs_rmfset( char domain, char fileset ); LIBRARY
AdvFS Library (libadvfs) PARAMETERS
Specifies the name of an existing AdvFS file domain. Specifies the name of the fileset to be removed from the specified file domain. DESCRIPTION
This function removes an AdvFS fileset from the named file domain. Once you have removed a fileset using this function, the fileset and its files are not recoverable. The only way to restore the fileset and its files is by using a backed up version of the fileset. RESTRICTIONS
This function only removes AdvFS filesets; it does not remove UFS file systems. The program that calls this function must be running with root privileges. A fileset or clone fileset cannot be removed with this function if it is mounted. A fileset that has a clone fileset cannot be removed with this function until the clone fileset has been removed. RETURN VALUES
The function returns a value of 0 (zero) on successful completion. The function returns a value of -1 on failure and sets the value of errno to the specific error. ERRORS
The function sets errno to the specified errors for the following failure conditions: The calling program is not running with root privi- leges. The AdvFS lock for domain could not be acquired because one of the following operations was already running on the domain: balance, defragment, rmfset, or rmvol. This fileset is still mounted; it must be unmounted before it can be removed. This fileset has a clone fileset, which must be removed before this fileset can be removed. An I/O error occurred on one of the disks in the file domain. One or both of the names for the fileset and the domain are NULL or set to . The file domain specified by the domain parameter does not exist. The fileset specified by the fileset parameter does not exist in the file domain specified by the domain parameter. There is not enough memory available for the operation. SEE ALSO
Commands: rmfset(8) Functions: advfs_clonefset(3) advfs_rmfset(3)
Man Page