PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment)
Contents Index PreviousNext

Appendix B Reference Manual> B.2 Management Commands Specific to the GFS Local File System

B.2.12 sfxquotadm(1M) - Manages quotas file for the GFS Local File System

[SYNOPSIS]

sfxquotadm -i filsys
sfxquotadm -e filsys
sfxquotadm -c filsys
sfxquotadm -d filsys

[DESCRIPTION]

The sfxquotadm command manages the quotas file of the specified GFS Local File System.

sfxquotadm can copy the limits of all users between external quotas and internal quotas file, compare the limits, and delete internal quotas file.

sfxquotadm is used when external quotas file are deleted or when restoration has overwritten external quotas file.

The filsys must be mounted. In addition, the quotas file (external quotas) must be existed in the root directory. Amount point or block special file can be specified for filsys.

Only a super user can execute sfxquotadm.

[OPTIONS]

-i

This option reflects the limit values of all users of an external quotas file to an internal quotas file.

-e

This option reflects the limit values of all users of an internal quotas file to an external quotas file.

-c

This option compares the limit values of all users between external quotas and internal quotas file.
For a super user (user ID 0), the restricted times of the block and file counts when the software limit is exceeded are compared. If the user limit values between files do not match, the user ID and contents are displayed.
Display examples are given below. The contents of an external quotas file are indicated by [<]. The contents of an internal quotas file are indicated by [>].
--- uid = root(0) ---
< blocks time limit = 0 (default), files time limit = 0 (default)
> blocks time limit = 1.00 week, files time limit = 12.00 days
--- uid = 1000 ---
< block limits (soft = 0, hard = 0) file limits (soft = 0, hard = 0)
> block limits (soft = 0, hard = 5120) file limits (soft = 0, hard = 100)
--- uid = 2100 ---
< block limits (soft = 0, hard = 5120) file limits (soft = 0, hard = 100)
> block limits (soft = 3072, hard = 5120) file limits (soft = 80, hard = 100)

-d

This option delete internal quotas file.
Internal quotas file can be deleted only when the quota function is off.

[EXAMPLES]

# sfxquotadm -i /mnt
# sfxquotadm -e /mnt
# sfxquotadm -c /mnt
# sfxquotadm -d /dev/sfdsk/gfs/dsk/vol2100

[SEE ALSO]

sfxedquota(1M), sfxquota(1M), sfxquotaon(1M), sfxrepquota(1M)


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004