system options.
Usage
When creating a clustered GFS filesystem, you can use either of the following formats:
gfs_mkfs -p LockProtoName -t LockTableName -j NumberJournals BlockDevice
mkfs -t gfs -p LockProtoName -t LockTableName -j NumberJournals BlockDevice
When creating a local filesystem, you can use either of the following formats:
gfs_mkfs -p LockProtoName -j NumberJournals BlockDevice
mkfs -t gfs -p LockProtoName -j NumberJournals BlockDevice
Warning
Make sure that you are very familiar with using the
LockProtoName
and
LockTableName
parameters. Improper use of the
LockProtoName
and
LockTableName
parameters may cause file system or lock space corruption.
LockProtoName
Specifies the name of the locking protocol to use. The lock protocol for a cluster is
lock_dlm
. The lock protocol when GFS is acting as a local file system (one node only) is
lock_nolock
.
LockTableName
This parameter is specified for GFS filesystem in a cluster configuration. It has two parts
separated by a colon (no spaces) as follows:
ClusterName:FSName
•
ClusterName
, the name of the Red Hat cluster for which the GFS file system is being
created.
•
FSName
, the file system name, can be 1 to 16 characters long, and the name must be
unique among all file systems in the cluster.
NumberJournals
Specifies the number of journals to be created by the
gfs_mkfs
command. One journal is
Chapter 3. Managing GFS
10
Summary of Contents for GLOBAL FILE SYSTEM 5.2
Page 4: ...Global File System...
Page 6: ...vi...