Skip to content

How to mount LVM Logical Volume Manager

by Vaibhav Aggarwal on August 13th, 2010

It all started with me trying to mount an LVM volume. So I will start with how to mount an LVM volume:

1. The first step is to scan all disks for physical volumes

>pvscan
PV /dev/sde2   VG VolGroup00   lvm2 [21.88 GB / 0    free]

2. The second step is to activate the logical volume

>vgchange -a y VolGroup00

1 logical volume(s) in volume group "VolGroup00" now active

3. The third step is to display attributes of a logical volume

>lvdisplay
--- Logical volume ---
LV Name                /dev/VolGroup00/LogVol01
VG Name                VolGroup00
LV Write Access        read/write
LV Status              available

4. The final step is to mount

>mount /dev/VolGroup00/LogVol00 /mnt/disk00

Here is a cool link which describes advantages of LVM in detail:

http://www.faqs.org/docs/Linux-HOWTO/LVM-HOWTO.html#AEN68

No comments yet

Leave a Reply

Note: XHTML is allowed. Your email address will never be published.

Subscribe to this comment feed via RSS