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

Appendix F Reference Manual> F.2 Management Commands Specific to the GFS Shared File System

F.2.22 sfcquotadm(1M) Manages quotas files

[SYNOPSIS]

sfcquotadm -i filesystem

sfcquotadm -e filesystem

sfcquotadm -c filesystem

sfcquotadm -d filesystem

[DESCRIPTION]

sfcquotadm manages quotas files of the specified GFS Shared File System.

This command enables the following types of processing: copying or a comparison of user limitations between external and internal quotas files, and deletion of internal quotas files.

This command is used when an external quotas file is deleted, or overwritten by restoring. This command need not be used in general.

A file system to be specified by operand filesystem must be in use for the file system is in mounted status in the command execution node. In addition, the related root directory must have a quotas file (external quotas) owned by the root. filesystem can specify a mount point or block special file.

Only a super user can specify this command.

[OPTIONS]

The following options can be specified:

-i

Reflects user limitations for the external quotas file in the internal quotas file.

-e

Reflects user limitations for the internal quotas file in the external quotas file.

-c

Compares user limitations for external and internal quotas files. For a super user (user ID: 0), this option compares time limitations for the number of blocks and files when the soft limit is exceeded. If user limitations between files do not match, this option displays user IDs and contents. A display example is shown below. < indicates the contents of the external quotas file and > indicates the contents of the internal quotas file.
--- 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

Deletes the internal quotas file. File deletion is possible only when the quota function is invalid.

[OPERAND]

The following operand can be specified:

filesystem

Specifies a mount-directory of the target file system or a block-special device of the representative partition.

[EXAMPLES]

# sfcquotadm -i /mnt
# sfcquotadm -e /mnt
# sfcquotadm -c /mnt
--- 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)

# sfcquotadm -d /mnt


[FILES]

quotas

quota information file in the root directory of the file system

/etc/mnttab

Table of file system being mounted

[SEE ALSO]

sfcedquota(1M), sfcquota(1M), sfcquotaon(1M), sfcrepquota(1M).

mnttab(4), vfstab(4) in the "Solaris X Reference Manual Collection."


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004