Virtual TapeServer 8.3 Configuration Guide
206 | Virtual TapeServer Configuration Guide
d. Create the logical volume by entering the following command. The -l 100%FREE
argument creates a logical volume using the entire volume group.
lvcreate -l 100%FREE -n lv1 gfsvg1
e. Enter the following command to confirm the physical volume:
pvscan
Here is an example of the output:
PV /dev/sdd1 VG gfsvg1 lvm2 [17.14 GB / 0 free]
Total: 1 [17.14 GB] / in use: 1 [17.14 GB] / in no VG: 0 [0 ]
f. Enter the following command to confirm the volume group:
vgscan
Here is an example of the output:
Reading all physical volumes. This may take a while...
Found volume group "gfsvg1" using metadata type lvm2
g. Enter the following to display details about the physical volume:
pvdisplay
Here is an example of the output:
--- Physical volume ---
PV Name /dev/sdd1
VG Name gfsvg1
PV Size 17.14 GB / not usable 3.37 MB
Allocatable yes (but full)
PE Size (KByte) 4096
Total PE 4388Free PE 0
Allocated PE 4388
PV UUID tTHBFt-6pqc-ILIY-Uis5-L8Yn-bvBu-SCN3MV
h. Enter the following to view details about the volume group:
vgdisplay
Here is an example of the output:
--- Volume group ---
VG Name gfsvg1
System ID
Format lvm2