Virtual TapeServer 6.04.01 Installation Guide

Installing GFS | 37
Act PV 1
VG Size 17.14 GB
PE Size 4.00 MB
Total PE 4388
Alloc PE / Size 4388 / 17.14 GB
Free PE / Size 0 / 0
VG UUID lm4cH7-4wgq-s1VR-VNwc-pFC6-i54u-h5tKxk
h. 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
10. 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 argument sets the lock manager to DLM, -cluster_name specifies
the cluster name, and 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
Syncing...
All Done