-   Linux - Hardware (
-   -   Mounting LVM Disk to non-LVM disk (

gak_92 08-07-2009 03:29 AM

Mounting LVM Disk to non-LVM disk

I have problem to mount LVM disk.
My new server installed with non-LVM. And I attached LVM disk as secondary and I am not able to mount it.

I am using mount command but no success.


Simon Bridge 08-07-2009 03:34 AM

You have to build the volume using LVM tools.
The sequence of commands goes something like this:

modprobe dm-mod
vgchange -ay
mkdir -p /mnt/VolGroup00/LogVol00
mount /dev/VolGroup00/LogVol00 /mnt/VolGroup00/LogVol00

this, in order, loads the LVM module, changes existing volumes to "active", makes a sensible mountpoint, mounts the volume. Note: your volume names may be different.

LVM is a versatile alternative to RAID for combining drives.
Read all about it (easiest first):

All times are GMT -5. The time now is 05:20 AM.