Saturday, August 7, 2010

How to mount a Logical Volume on a different Linux Server

I have finally converted to logical volumes which leaves me learning a whole new world. I was moving some data (500GB's) between machines using a USB drive and found that the logical volume on the drive would not quickly mount via traditional mount /dev/sd… command. So here is the process to mount a LVM.

1. Scan for the new volume (Assuming you added it after boot)


2. Activate the volume

vgchange -a y VolumeName

3. Display the volume and confirm it's active


4. Mount the volume via it's volume name

mount /dev/mapper/VolumeName /destination_mount_point

1 comment:

Anonymous said...

when I run the "mount /u20" command I the following:
mount: 0506-324 Cannot mount /dev/fslv00 on /u20: A file or directory in the path name does not exist.

how can I resolve this?