Difference between revisions of "LVM"
From Nuclear Physics Group Documentation Pages
Jump to navigationJump to searchLine 1: | Line 1: | ||
− | =Mounting= | + | Logical Volume Management is used to treat seperate disks as one. However, this can cause trouble when trying to access the disk from a recovery CD, etc. |
− | + | ==Mounting== | |
To mount lvm partitions from a livecd (for purposes of recovery/emergency maintenance), simply: | To mount lvm partitions from a livecd (for purposes of recovery/emergency maintenance), simply: | ||
<code>modprobe dm-mod</code> to load required modules, <code>lvm vgchange -ay</code> to become aware of the volume groups, and then mount as normal with <code> mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to</code>. | <code>modprobe dm-mod</code> to load required modules, <code>lvm vgchange -ay</code> to become aware of the volume groups, and then mount as normal with <code> mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to</code>. |
Revision as of 20:11, 27 June 2007
Logical Volume Management is used to treat seperate disks as one. However, this can cause trouble when trying to access the disk from a recovery CD, etc.
Mounting
To mount lvm partitions from a livecd (for purposes of recovery/emergency maintenance), simply:
modprobe dm-mod
to load required modules, lvm vgchange -ay
to become aware of the volume groups, and then mount as normal with mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to
.