Virtual TapeServer 8.4 Supplemental Installation Guide

Installing GFS | 7
i. Enter the following command to view details about the logical volume:
lvdisplay
Here is an example of the output:
--- Logical volume ---
LV Name /dev/gfsvg1/lv1
VG Name gfsvg1
LV UUID VQUsmh-LI1E-rBIm-3tCe-9o6K-cjlp-ah8e4j
LV Write Access read/write
LV Status available# open 0
LV Size 17.14 GB
Current LE 4388
Segments 1
Allocation inherit
Read ahead sectors 0
Block device 253:0
12. Create the GFS file system:
a. Enter the following command. Note that any data that may reside on the logical volume
(dev/gfsvg1/lv1 is used as an example) is destroyed.
gfs_mkfs -p lock_dlm -t cluster_name:gfs01 -j journals
/dev/gfsvg1/lv1
where
-p lock_dlm sets the lock manager to DLM
-t cluster_name specifies the cluster name; restrict the cluster name length to 15
characters or less
-j journals specifies the number of journals to create, which should be the number of
nodes plus two
b. When prompted, enter y to proceed. Output similar to the following is displayed:
Device: /dev/gfsvg1/lv1
Blocksize: 4096
Filesystem Size: 4394620
Journals: 3
Resource Groups: 68
Locking Protocol: lock_dlm
Lock Table: cma:01