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.24 sfcrepquota(1M) Displays the quota function limits and uses amounts of all users

[SYNOPSIS]

sfcrepquota [ -v ] filesystem ...

sfcrepquota [ -v ] -a

[DESCRIPTION]

sfcrepquota displays the quota function limit and disk use amount of the specified GFS Shared File System. This command outputs the current number of files and current number of blocks (in kilobytes) of each user together with the quota limit specified by sfcedquota(1M). The output details are as follows:

The signs + and - are used to indicate maximum use of disk and file, respectively.

The file system specified by operand filesystem must have a quotas file owned by the root in the root directory.

Only a super user can reference other user information.

[OPTIONS]

The following options can be specified:

-a

When the current quota function is valid, this option displays all GFS Shared File Systems being mounted in the command execution node.

-v

Displays all quota information items even if a user is not using file system resources.

[OPERAND]

The following operand can be specified:

filesystem

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

[EXAMPLES]

# sfcrepquota /mnt
/dev/sfdsk/gfs/rdsk/volume1 (/sfcfs1):
                      Block limits                      File limits
User           used   soft   hard    timeleft    used   soft   hard    timeleft
user1     --   2258   3072   5120                  71     80    100
user2     --   1345   3072   5120                  38     80    100
user3     ++   3424   3072   5120    7.0 days      81     80    100    7.0 days

# sfcrepquota -v /mnt /dev/sfdsk/gfs/rdsk/volume1 (/sfcfs1): Block limits File limits User used soft hard timeleft used soft hard timeleft user1 -- 2258 3072 5120 71 80 100 user2 -- 1345 3072 5120 38 80 100 user3 ++ 3424 3072 5120 7.0 days 81 80 100 7.0 days user4 -- 0 3072 5120 0 80 100

# sfcrepquota -a


[FILES]

quotas

quota information file in the root directory of the file system

/etc/mnttab

Table of file system being mounted

/etc/vfstab

Environment file for the file system.

[SEE ALSO]

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

[NOTE]


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004