To mount an LVM volume manually, it's a fairly straightforward process. The first thing to ensure, is that the dm-mod module has been attached to the kernel, using the following command:
modprobe dm-mod
This will ensure that you are able to manipulate the LVM volume properly. After that has been done, you will want to make sure that the LVM volume has been made available, with the following command:
lvchange -ay
This should return a blank cursor with no response. After that has been done, you can then find the LVM group that you wish to attach with:
lvscan
With lvscan you can see all of the LVMs that are available on the instance. You should see a group somewhat like the following:
ACTIVE '/dev/VolGroup00/LogVol00' [26.06 GB] inherit
ACTIVE '/dev/VolGroup00/LogVol01' [1.75 GB] inherit
Then to actually mount the volume, you would run a command like the following:
mount /dev/VolGroup00/LogVol00 /mount/point
© 2006-2014 RightScale, Inc. All rights reserved.
RightScale is a registered trademark of RightScale, Inc. All other products and services may be trademarks or servicemarks of their respective owners.