Chapter 3. Managing GFS
gfs_mkfs -p lock_dlm -t alpha:mydata2 -j 8 /dev/vg01/lvol1
mkfs -t gfs -p lock_dlm -t alpha:mydata2 -j 8 /dev/vg01/lvol1
Complete Options
Table 3.1, "Command Options:
Flag
Parameter
-b
BlockSize
-D
-h
-J
MegaBytes
-j
Number
-p
LockProtoName
-O
-q
-r
MegaBytes
-s
Blocks
12
"
describes the
gfs_mkfs
Description
Sets the file system block size to
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
gfs_mkfs
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 locking protocols include:
lock_dlm
required for a clustered file system.
lock_nolock
local file system (one node only).
Prevents the
confirmation before writing the file system.
Quiet. Do not display anything.
Specifies the size of the resource groups in
megabytes. Default resource group size is 256
megabytes.
Specifies the journal-segment size in file system
blocks.
command options.
gfs_mkfs
command. One journal is required for
— The standard locking module,
— Used when GFS is acting as a
command from asking for
gfs_mkfs
.
BlockSize
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