Chapter 9. Managing GFS
91
Flag
Parameter
Description
-b
BlockSize
Sets the file system block size to
BlockSize
.
Default block size is 4096 bytes.
-D
Enables debugging output.
-h
Help. Displays available options, then exits.
-J
MegaBytes
Specifies the size of the journal in megabytes. Default
journal size is 128 megabytes. The minimum size is
32 megabytes.
-j
Number
Specifies the number of journals to be created by the
gfs_mkfs
command. One journal is required for
each node that mounts the file system.
Note:
More journals than are needed can be specified
at creation time to allow for future expansion.
-P
Tells the
gfs_mkfs
command that the underlying
device is a pool. The
gfs_mkfs
command then asks
the pool about its layout. The
-p
flag overrides the
-j
and
-J
flags.
-p
LockProtoName
Specifies the name of the locking protocol to use.
Recognized cluster-locking protocols include:
LOCK_GULM — The standard GFS locking
module.
LOCK_NOLOCK — May be used when GFS is
acting as a local file system (one node only).
-O
Prevents the
gfs_mkfs
command from asking for
confirmation before writing the file system.
-q
Quiet. Do not display anything.
-r
MegaBytes
Specifies the size of the resource groups in megabytes.
Default resource group size is 256 megabytes.
-s
Blocks
Specifies the journal-segment size in file system
blocks.
-t
LockTableName
This parameter has two parts separated by a colon
(no spaces) as follows:
ClusterName:FSName
.
ClusterName
is set in the
cluster.ccs
file
(
cluster.ccs:cluster/name
).
FSName
, the file system name, can be 1 to 16
characters in length, and the name must be unique
among all file systems in the cluster.
-V
Displays command version information, then exits.
Table 9-1. Command Options:
gfs_mkfs
9.2. Mounting a File System
Before you can mount a GFS file system, the file system must exist (refer to
Section 9.1
Making a File System
), the pool volume where the file system exists must be
activated, and the supporting clustering and locking systems must be started (refer to
Summary of Contents for GFS 6.0 -
Page 1: ...Red Hat GFS 6 0 Administrator s Guide...
Page 8: ......
Page 88: ...74 Chapter 6 Creating the Cluster Configuration System Files...
Page 98: ...84 Chapter 7 Using the Cluster Configuration System...
Page 102: ...88 Chapter 8 Using Clustering and Locking Systems...
Page 128: ...114 Chapter 9 Managing GFS...
Page 134: ...120 Chapter 10 Using the Fencing System...
Page 144: ...130 Chapter 12 Using GFS init d Scripts...
Page 148: ...134 Appendix A Using Red Hat GFS with Red Hat Cluster Suite...
Page 184: ...170 Appendix C Basic GFS Examples...
Page 190: ......