Note: Please go to docs.rightscale.com to access the current RightScale documentation set. Also, feel free to Chat with us!
Home > FAQs > How do I manually mount an LVM volume?

How do I manually mount an LVM volume?

Table of Contents

Resolution

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

You must to post a comment.
Last modified
07:57, 1 Jul 2014

Tags

This page has no custom tags.

Classifications

This page has no classifications.

Announcements

None


© 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.