Quick Command Reference

The following command displayes in GiB

pvdisplay
To display in GB use the following command:
pvdisplay --units G
The following commands put a marker on the device which allows them to be used for volume groups
pvcreate /dev/device1
pvcreate /dev/device2
Now create the volume
vgcreate vg1 /dev/device1 /dev/device2

LVCREATE

lvcreate -L 10G name
Creating a logical volume from a specific volume group
lvcreate -L 1500 -n lvname vg1

You can also use the -l argument of the lvcreate command to specify the percentage of the remaining free space in a volume group as the size of the logical volume
lvcreate -l 100%FREE -n lvname vg1