Chapter 9. Managing GFS
85
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 Chapter 4
Initial Configuration
). After those
requirements have been met, you can mount the GFS file system as you would any Linux file system.
Содержание GFS 5.2.1 -
Страница 1: ...Red Hat GFS 5 2 1 Administrator s Guide...
Страница 8: ......
Страница 14: ...vi Introduction...
Страница 24: ...10 Chapter 1 GFS Overview...
Страница 36: ...22 Chapter 4 Initial Configuration...
Страница 84: ...70 Chapter 6 Creating the Cluster Configuration System Files...
Страница 96: ...82 Chapter 8 Using Clustering and Locking Systems...
Страница 126: ...112 Chapter 10 Using the Fencing System...
Страница 132: ...118 Chapter 11 Using GNBD...
Страница 144: ...130 Appendix A Upgrading GFS...
Страница 184: ...170 Appendix B Basic GFS Examples...
Страница 190: ......
Страница 192: ...178...