Virtual TapeServer 6.04.04 for NonStop Servers Operations and Administration Guide

140 |
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
6. Enter the following command (for the example above) to create the GFS file system on the
assembled pool and partition:
gfs_mkfs -t TapeServer:pool3 -p lock_dlm -j 5 /dev/gfsvg1/lv1
where TapeServer is the name of the cluster and pool3 is any name that is unique. In
this case, the pool is named after the third pool in the cluster. The -j 5 parameter specifies
the number of journals to create (the number of nodes) plus two.
The following is displayed:
This will destroy any data on /dev/mapper/gfsvg1-lv1.
Are you sure you want to proceed? [y/n]
Enter Y to confirm. The following output is then displayed:
Device: /dev/mapper/gfsvg1-lv1
Blocksize: 4096
Filesystem Size: 88742256
Journals: 5
Resource Groups: 1356
Locking Protocol: lock_dlm
Lock Table: TapeServer:pool3
Syncing...
All Done
7. Edit the /etc/fstab file to add an entry similar to the following at the bottom of the file:
/dev/gfsvg1/lv1 /VAULT13 gfs defaults 0 0
In this example, VAULT13 is configured.