[CentOS] Mount LVM

Fri Feb 10 17:28:32 UTC 2006
Simone <simone72 at email.it>

Thanks for your reply. I managed to boot off an ubuntu live cd (lvm 
named differently) and get the device properly mapped, booting with the 
drive plugged in the usb port worked (as you say mount 
/dev/VolGroup...etc).
My next step will be trying to rename the volume group (vgrename 
suggestions welcome). If I don't damage it, then I will try to put it 
back in the pc and boot and see what I get.

Thanks again, have a nice weekend

Aleksandar Milivojevic wrote:

> Quoting Simone <simone72 at email.it>:
>
>> I think this the problem is that the vg on my system has the same 
>> name of the one on the external usb disk, but I am not sure of what 
>> result would have running vgrename, vgcreate or lvcreate on the data, 
>> so I'd rather wait for some advice.
>
>
> This would indeed be a problem.  You might try disconnecting your 
> internal drive, booting off rescue CD and renaming the volume group on 
> external drive.  Alternative to that would be to wipe out the external 
> drive (if you don't have any data on it) and recreate it from scratch.
>
> BTW, you can't mount partition that is marked as physical volume 
> directly.  You need to access logical volumes on it through LVM 
> devices (usually /dev/vg-name/lv-name).
>
> ----------------------------------------------------------------
> This message was sent using IMP, the Internet Messaging Program.
>
>
> _______________________________________________
> CentOS mailing list
> CentOS at centos.org
> http://lists.centos.org/mailman/listinfo/centos
>