Mount a LVM from additional harddisk

On period you may have to mount a lvm from an additional hard disk which was using as primary before. You can’t mount the lvm partition directly in the new machine. You can use the below commands to mount it successfully.

1. First, List all the disk partitions :

fdisk -l

2. Scan all the volume groups available :

vgscan

You can see all the volume groups available.

3. Note down the volume group name of the additional hard disk you have connected. Run the below command to activate it:

vgchange  'volume_group_name' -a -y

eg :  vgchange VolGroup80 -a -y

4. Now mount the partition:

mount lvm_name mount_point

Eg : mount /dev/VolGroup80/ROOT /mnt/

Enjoy !!! 🙂

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s