PRIMECLUSTER Global File Services Configuration and Administration Guide 4.2 (Solaris(TM) Operating Environment) |
Contents Index |
Appendix B Reference Manual | > B.2 Management Commands Specific to the GFS Local File System |
sfxquotaon [ -v ] filesystem ...
sfxquotaon [ -v ] -a
sfxquotaoff [ -v ] filesystem ...
sfxquotaoff [ -v ] -a
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.
sfxquotaon
-aEnable 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.
-vDisplay a message for each file system after quotas are turned on.
sfxquotaoff
-aForce all GFS Local File Systems in /etc/mnttab to have their quotas disabled.
-vDisplay a message for each file system after quotas are turned off.
# sfxquotaon /mnt # sfxquotaon -a # sfxquotaoff /mnt # sfxquotaoff -a
sfxedquota(1M), sfxquota(1M), sfxquotadm(1M), sfxrepquota(1M)
mnttab(4), vfstab(4).
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 |