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

Part 3 Global File Services Shared File System> Chapter 22 File System Operations (Command)> 22.3 Changes (in quota function status)

22.3.2 Enabling the quota function

This section describes the procedure for enabling the quota functionTerm when the target file system is unmounted.

The GFS Shared File System does not enable the quota function even if rq or quota is specified in the mntopts field of /etc/vfstab.

22.3.2.1 Unmount

Unmount the target GFS Shared File System on all nodes.

To unmount the file system on all nodes, use sfcumntgl(1M).

The example provided below shows that a file system whose mount point is /sfcfs is unmounted. Execute sfcumntgl(1M) on one of the nodes in which the target file system is mounted.

# sfcumntgl /sfcfs

22.3.2.2 Enabling the quota function

To enable the quota function, use sfcquotaon(1M). Once the quota function is enabled, it is also enabled at subsequent mount executions.

The example provided below shows that the quota function of a file system whose mount point is /sfcfs is enabled. Execute sfcquotaon(1M) on one of the nodes that share the target file system.

# sfcquotaon /sfcfs

22.3.2.3 Mount

Mount the target GFS Shared File System on all nodes.

To mount the file system on all nodes, use sfcmntgl(1M).

The example provided below shows that a file system whose mount point is /sfcfs is mounted. Execute sfcmntgl(1M) on one of the nodes that share the target file system.

# sfcmntgl /sfcfs

22.3.2.4 Check the quota function enabling

Use sfcinfo(1M) to check the quota function status.

The example provided below shows that the quota function status in a file system whose mount point is /sfcfs checked. Execute sfcinfo(1M) on one of the nodes that share the target file system. If on is displayed in the quota field of the file system, the quota function is enabled.

# sfcinfo -q /sfcfs
FSID special                       quota  mount
   2 /dev/sfdsk/gfs/dsk/volume1     on     /sfcfs

As with the UFS file systems, mount(1M) enables each node to check the quota function status when the file system is mounted.

Contents Index PreviousNext

All Rights Reserved, Copyright(C) FUJITSU LIMITED 2004