Usage; Examples - Red Hat GFS 6.1 Administrator's Manual

Table of Contents

Advertisement

30

5.1.1. Usage

gfs_mkfs -p LockProtoName -t LockTableName -j Number BlockDevice
Warning
Make sure that you are very familiar with using the LockProtoName and
LockTableName
LockTableName parameters may cause file system or lock space corruption.
LockProtoName
Specifies the name of the locking protocol (for example,
LockTableName
This parameter 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.
Number
Specifies the number of journals to be created by the
nal is required for each node that mounts the file system. (More journals than are
needed can be specified at creation time to allow for future expansion.)
BlockDevice
Specifies a volume.

5.1.2. Examples

In this example,
lock_dlm
name is
, and the file-system name is
alpha
and is created on
/dev/vg01/lvol0
gfs_mkfs -p lock_dlm -t alpha:gfs1 -j 8 /dev/vg01/lvol0
parameters.
Improper
is the locking protocol that the file system uses. The cluster
.
Chapter 5. Managing GFS
use
of
the
lock_dlm
gfs_mkfs
. The file system contains eight journals
gfs1
LockProtoName
) to use.
command. One jour-
and

Advertisement

Table of Contents
loading

Table of Contents