Logical Volume Management is used to treat seperate disks as one. However, this can cause trouble when trying to access the disks from a recovery CD, etc.
To mount lvm partitions from a livecd (for purposes of recovery/emergency maintenance), simply:
modprobe dm-modto load required modules
lvm vgchange -ayto become aware of the volume groups
- mount as normal with
mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to.
Expand a volume:
- umount /dev/vg_machine/lv #Resizing a mounted partition is generally a no-no.
- lvresize -L +2G /dev/vg_machine/lv #Adds 2G to the logical volume lv.
- e2fsck -f /dev/vg_machine/lv #fsck the filesystem up
- resize2fs /dev/vg_machine/lv #Expands the filesystem to fill available space.