LVM
TODOLVM functions by layering abstractions on top of physical storage devices. The basic layers that LVM uses, starting with the most primitive, are.
pv....
vg...
Description: LVM combines physical volumes into storage pools known as volume groups. Volume groups abstract the characteristics of the underlying devices and function as a unified logical device with combined storage capacity of the component physical volumes.
Logical Volumes:
lv... (generic here'sLVM commands
lvm...)
Description: A volume group can be sliced up into any number of logical volumes. Logical volumes are functionally equivalent to partitions on a physical disk, but with much more flexibility. Logical volumes are the primary component that users and applications will interact with.
Create a volume group
pvcreate /dev/sda1 /dev/sdb1
vgcreate vol_group_name /dev/sda1 /dev/sdb1
lvcreate -l 95%FREE -n drive_name vol_group_name
View info on group
pvscan
pvdisplay
vgdisplay
lvdisplay
Mount lvmLVM (Perfect for rescue)
sudo pvscan
sudo vgscan
sudo
vgchange -ay
sudo lvscan
sudo
mount /dev/VolGroup00/LogVol00 /mnt
Full Doc: