86
Chapter 9. Managing GFS
9.2.1. Usage
mount -t gfs
BlockDevice MountPoint
BlockDevice
Specifies the block device where the GFS file system resides.
MountPoint
Specifies the directory where the GFS file system should be mounted.
9.2.2. Example
In this example, the GFS file system on the
pool0
block device is mounted on the
/gfs1/
directory.
mount -t gfs /dev/pool/pool0 /gfs1
9.2.3. Complete Usage
mount -t gfs
BlockDevice MountPoint
-o
option
The
-o
option
consists of GFS-specific options (refer to Table 9-2) or acceptable standard Linux
mount -o
options, or a combination of both. Multiple
option
parameters are separated by a comma
and no spaces.
Note
The
mount
command is a Linux system command. In addition to using GFS-specific options de-
scribed in this section, you can use other, standard,
mount
command options (for example,
-r
). For
information about other Linux
mount
command options, see the Linux
mount
man page.
Table 9-2 describes the available GFS-specific options that can be passed to GFS at mount time.
Option
Description
hostdata=
nodename
LOCK_GULM file systems use this information to set
the local node name, overriding the usual selection of
node name from
uname -n
.
lockproto=
LockModuleName
Allows the user to specify which locking protocol to
use with the file system. If
LockModuleName
is not
specified, the locking protocol name is read from the
file system superblock.
locktable=
LockTableName
Allows the user to specify which locking table to use
with the file system.
upgrade
Upgrade the on-disk format of the file system so that
it can be used by newer versions of GFS.
Summary of Contents for GFS 5.2.1 -
Page 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Page 8: ......
Page 14: ...vi Introduction...
Page 24: ...10 Chapter 1 GFS Overview...
Page 36: ...22 Chapter 4 Initial Configuration...
Page 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Page 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Page 126: ...112 Chapter 10 Using the Fencing System...
Page 132: ...118 Chapter 11 Using GNBD...
Page 144: ...130 Appendix A Upgrading GFS...
Page 184: ...170 Appendix B Basic GFS Examples...
Page 190: ......
Page 192: ...178...