Chapter 3. Managing GFS
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
LockTableName
LockTableName
LockProtoName
Specifies the name of the locking protocol to use. The lock protocol for a cluster is
. The lock protocol when GFS is acting as a local file system (one node only) is
lock_dlm
.
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:
•
, the name of the Red Hat cluster for which the GFS file system is being
ClusterName
created.
•
, the file system name, can be 1 to 16 characters long, and the name must be
FSName
unique among all file systems in the cluster.
NumberJournals
Specifies the number of journals to be created by the
10
parameters. Improper use of the
parameters may cause file system or lock space corruption.
ClusterName:FSName
LockProtoName
LockProtoName
command. One journal is
gfs_mkfs
and
and
Need help?
Do you have a question about the GLOBAL FILE SYSTEM 5.2 and is the answer not in the manual?
Questions and answers