Difference between revisions of "LVM"

From Bashlinux
Jump to: navigation, search
(Created page with "__NOTOC__ Not a filesystem "perse", but a method to allocate space for. === How to mount LVM partitions === Suppose that we have <code>hda</code> as current working hard driv...")
 
(No difference)

Latest revision as of 05:33, 12 June 2015

Not a filesystem "perse", but a method to allocate space for.

How to mount LVM partitions

Suppose that we have hda as current working hard drive and hdb as the hard drive with the LVM partition(s).

  • Scan for all devices visible to LVM2
lvmdiskscan
  • Load device module
modprobe dm-mod
  • Change the volumes that exist to active
vgchange -ay
  • Mount the logical partition
mkdir -p /mnt/vol00
mount /dev/VolGroup00/LogVol00 /mnt/vol00