Installation guide
Flag Parameter Description
-b BlockSize Sets the file-system block size to BlockSize. De-
fault block size is 4096 bytes.
-D Enables debugging output.
-h Help. Displays available options.
-J MegaBytes Specifies the size of the journal in megabytes. De-
fault 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 spe-
cified at creation time to allow for future expansion.
-p LockProtoName
Specifies the name of the locking protocol to use.
Recognized cluster-locking protocols include:
lock_dlm — The standard 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 mega-
bytes. Default resource group size is 256 mega-
bytes.
-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 the name of the Red Hat cluster for
which the GFS file system is being created. The
cluster name is set in the /
etc/cluster/cluster.conf file via the Cluster Con-
figuration Tool and displayed at the Cluster
Status Tool in the Red Hat Cluster Suite cluster
management GUI.
FSName, the file-system name, can be 1 to 16 char-
acters in length, and the name must be unique
among all file systems in the cluster.
-V Displays command version information.
Complete Options
15