[linux-lvm] lvm on centos with raid1 and grub

Fabien Jakimowicz fabien at jakimowicz.com
Fri Sep 8 10:50:00 UTC 2006

On Fri, 2006-09-08 at 13:42 +0300, Sterpu Victor wrote:
> I do need a fast answer if possible.
> So the quick question is "How can I mount a LVM partition, made on a 
> RAID partition on another computer?"
> Thank you.
> Sterpu Victor wrote:
> > After a reboot I couldn't boot from none of my hdd's.
> > I receive just a grub console. Now I must reinstall grub, but in order 
> > to do this I need to know the name of the root partion in the LVM.
> > To find out this I moved one of the hdd's in another computer and I 
> > tried to mount the LVM partition.
> >
> > I do "modprobe dm-mod" and when I do "vgchange -ay" I get the message:
> >  File descriptor 3 left open
> >  File descriptor 5 left open
> >  File descriptor 7 left open
> >  No volume groups found
> > I have no LVM devices in /dev.
> > The alternative is to reinstall the OS, but....
> >
> > Thank you.
> >
> >
> >
If you are not using raid on the other computer, you should modify
md_component_detection in /etc/lvm/lvm.conf
You can also try to run : pvdisplay /dev/mdx where mdx is your raid
Fabien Jakimowicz <fabien at jakimowicz.com>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://listman.redhat.com/archives/linux-lvm/attachments/20060908/408ec157/attachment.sig>

More information about the linux-lvm mailing list