Language and Page Formatting Options
4.2. Mounting a File System
Before you can mount a GFS2 file system, the file system must exist (refer to Section 4.1, “Making a File System”), the volume where the file system exists must be activated, and the supporting clustering and locking systems must be started (refer to Configuring and Managing a Red Hat Cluster). After those requirements have been met, you can mount the GFS2 file system as you would any Linux file system.
To manipulate file ACLs, you must mount the file system with the
-o aclmount option. If a file system is mounted without the
-o aclmount option, users are allowed to view ACLs (with
getfacl), but are not allowed to set them (with
Mounting Without ACL Manipulation
Mounting With ACL Manipulation
mount -o acl
- GFS2-specific option to allow manipulating file ACLs.
- Specifies the block device where the GFS2 file system resides.
- Specifies the directory where the GFS2 file system should be mounted.
In this example, the GFS2 file system on
/dev/vg01/lvol0is mounted on the
mount /dev/vg01/lvol0 /mygfs2
-o optionargument consists of GFS2-specific options (refer to Table 4.2, “GFS2-Specific Mount Options”) or acceptable standard Linux
mount -ooptions, or a combination of both. Multiple
optionparameters are separated by a comma and no spaces.
mountcommand is a Linux system command. In addition to using GFS2-specific options described in this section, you can use other, standard,
mountcommand options (for example,
-r). For information about other Linux
mountcommand options, see the Linux
Table 4.2, “GFS2-Specific Mount Options” describes the available GFS2-specific
-o optionvalues that can be passed to GFS2 at mount time.
This table includes descriptions of options that are used with local file systems only For the Red Hat Enterprise Linux 5.5 release and later Red Hat does not support the use of GFS2 as a single-node file system. Red Hat will continue to support single-node GFS2 file systems for existing customers.
Table 4.2. GFS2-Specific Mount Options
|Allows manipulating file ACLs. If a file system is mounted without the |
| When |
|Forces GFS2 to treat the file system as a multihost file system. By default, using |
|Allows the user to specify which locking protocol to use with the file system. If |
|Allows the user to specify which locking table to use with the file system.|
|Turns quotas on or off for a file system. Setting the quotas to be in the |