Difference between revisions of "LVM"

From Nuclear Physics Group Documentation Pages
Jump to navigationJump to search
Line 5: Line 5:
 
# <code>lvm vgchange -ay</code> to become aware of the volume groups
 
# <code>lvm vgchange -ay</code> to become aware of the volume groups
 
# mount as normal with <code> mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to</code>.
 
# mount as normal with <code> mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to</code>.
 +
==Maintenance==
 +
Common tools and usage:

Revision as of 13:44, 19 July 2007

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.

Mounting

To mount lvm partitions from a livecd (for purposes of recovery/emergency maintenance), simply:

  1. modprobe dm-mod to load required modules
  2. lvm vgchange -ay to become aware of the volume groups
  3. mount as normal with mount /dev/vg_(machine-name)/(distro-name) /location/to/mount/to.

Maintenance

Common tools and usage: