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.13 sfxquotaon(1M), sfxquotaoff(1M) - Turns GFS Local File System quotas on and off

[SYNOPSIS]

sfxquotaon [ -v ] filesystem ...
sfxquotaon [ -v ] -a

sfxquotaoff [ -v ] filesystem ...
sfxquotaoff [ -v ] -a

[DESCRIPTION]

The sfxquotaon turns on disk quotas for one or more GFS Local File Systems.

Before turn on disk quotas for a file system, a file named quotas, owned by root, must exist in the root directory of the file system. See sfxedquota(1M) for details on how to modify the contents of this file.

The sfxquotaoff turns off disk quotas for one or more GFS Local File Systems.

The file systems specified must already be mounted.

These commands update the mntopts field of the appropriate entries in /etc/mnttab to indicate when the quota function are on or off for each file system. If the quota function is on, "quota" will be added to mntopts. if the quota function is off, "noquota" will be added to mntopts.

filesystem must be either the mount point of a file system, or the block device that configures the file system.

[OPTIONS]

sfxquotaon

-a
Enable quotas for GFS Local File System which "rq" or "quota" are marked in the mntopts field of /etc/vfstab, are currently mounted as read-write, and have a quotas file in the root directory.
-v
Display a message for each file system after quotas are turned on.

sfxquotaoff

-a
Force all GFS Local File Systems in /etc/mnttab to have their quotas disabled.
-v
Display a message for each file system after quotas are turned off.

[EXAMPLES]

# sfxquotaon /mnt
# sfxquotaon -a
# sfxquotaoff /mnt
# sfxquotaoff -a

[SEE ALSO]

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

mnttab(4), vfstab(4).

[NOTE]

When the limiting value of a pertinent user remains being set, the limiting value is displayed by sfxquota(1M) with -v option when the internal quotas file that file system maintains even if sfxquotaoff is executed remains. It is not displayed by deleting the internal quotas file with sfxquotadm(1M) with -d option.


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004