LinuxQuestions.org

LinuxQuestions.org (/questions/)
-   Linux - Hardware (http://www.linuxquestions.org/questions/linux-hardware-18/)
-   -   Mounting LVM Disk to non-LVM disk (http://www.linuxquestions.org/questions/linux-hardware-18/mounting-lvm-disk-to-non-lvm-disk-745759/)

gak_92 08-07-2009 04:29 AM

Mounting LVM Disk to non-LVM disk
 
Hello,

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.

Thanks.

Simon Bridge 08-07-2009 04: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):
http://www.howtoforge.com/linux_lvm
http://www.faqs.org/docs/Linux-HOWTO/LVM-HOWTO.html
http://nas.darma.com/support/nas_manual/index.html
http://www.novell.com/communities/no...ume-management


All times are GMT -5. The time now is 10:20 PM.