Complete Options - Red Hat GFS 6.1 Administrator's Manual

Table of Contents

Advertisement

Chapter 5. Managing GFS
In this example, a second
. The file-system name is
alpha
on
/dev/vg01/lvol1
gfs_mkfs -p lock_dlm -t alpha:gfs2 -j 8 /dev/vg01/lvol1

5.1.3. Complete Options

Table 5-1 describes the
Flag
Parameter
BlockSize
-b
-D
-h
MegaBytes
-J
Number
-j
LockProtoName
-p
-O
-q
file system is made, which can be used in cluster
lock_dlm
. The file system contains eight journals and is created
gfs2
.
command options (flags and parameters).
gfs_mkfs
Description
Sets the file-system block size to BlockSize.
Default block size is 4096 bytes.
Enables debugging output.
Help. Displays available options.
Specifies the size of the journal in megabytes.
Default journal size is 128 megabytes. The
minimum size is 32 megabytes.
Specifies the number of journals to be created
by the
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.
Specifies the name of the locking protocol to
use. Recognized cluster-locking protocols
include:
lock_dlm
lock_gulm
compatible with earlier versions of GFS.
lock_nolock
acting as a local file system (one node only).
Prevents the
for confirmation before writing the file system.
Quiet. Do not display anything.
command. One journal is
gfs_mkfs
— The standard locking module.
— The locking module
— May be used when GFS is
command from asking
gfs_mkfs
31

Advertisement

Table of Contents
loading

Table of Contents