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

Part 2 Global File Services Local File System> Chapter 7 Managing Restriction of GFS Local File System Usage> 7.5 Enabling and Disabling quota Function

7.5.2 Enabling at command execution

The following two methods can enable the quota function when a command is executed:

1. Executing the mount(1M) command

If the mount(1M) command is executed, specify the quota option in the mount(1M) command. In the following example, /dev/sfdsk/gfs/dsk/vol1200 is mounted in /sfxfs while the quota function is concurrently enabled.

# mount -F sfxfs -o quota /dev/sfdsk/gfs/dsk/vol1200 /sfxfs

The quota option and -r option (read only) cannot be specified at the same time.

If the /etc/vfstab file has been edited so that the quota function is enabled when the system is booted, specify the following to enable the quota function:

# mount /sfxfs

2. Executing the sfxquotaon(1M) command

Execute the sfxquotaon(1M) command if the target file system has already been mounted. Also, specify the mount point of the file system for which the quota function is to be enabled. In the following example, mount point /sfxfs is enabled.

# sfxquotaon /sfxfs


Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004