* [linux-lvm] lvm on centos with raid1 and grub
@ 2006-09-08 8:38 Sterpu Victor
2006-09-08 10:42 ` Sterpu Victor
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Sterpu Victor @ 2006-09-08 8:38 UTC (permalink / raw)
To: linux-lvm
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.
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on centos with raid1 and grub
2006-09-08 8:38 [linux-lvm] lvm on centos with raid1 and grub Sterpu Victor
@ 2006-09-08 10:42 ` Sterpu Victor
2006-09-08 10:50 ` Fabien Jakimowicz
` (2 more replies)
2006-09-08 12:44 ` Les Mikesell
2006-09-08 15:34 ` [linux-lvm] lvm on CentOS " Lamont R. Peterson
2 siblings, 3 replies; 8+ messages in thread
From: Sterpu Victor @ 2006-09-08 10:42 UTC (permalink / raw)
To: LVM general discussion and development
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.
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on centos with raid1 and grub
2006-09-08 10:42 ` Sterpu Victor
@ 2006-09-08 10:50 ` Fabien Jakimowicz
2006-09-08 12:59 ` Luca Berra
2006-09-08 13:08 ` Fabien Jakimowicz
2 siblings, 0 replies; 8+ messages in thread
From: Fabien Jakimowicz @ 2006-09-08 10:50 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
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
device.
--
Fabien Jakimowicz <fabien@jakimowicz.com>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on centos with raid1 and grub
2006-09-08 8:38 [linux-lvm] lvm on centos with raid1 and grub Sterpu Victor
2006-09-08 10:42 ` Sterpu Victor
@ 2006-09-08 12:44 ` Les Mikesell
2006-09-08 15:34 ` [linux-lvm] lvm on CentOS " Lamont R. Peterson
2 siblings, 0 replies; 8+ messages in thread
From: Les Mikesell @ 2006-09-08 12:44 UTC (permalink / raw)
To: LVM general discussion and development
On Fri, 2006-09-08 at 03:38, 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....
>
The first thing to try is booting the Centos install
CD with 'linux rescue' at the boot prompt. If it
detects the existing installation it will mount it and
suggest that you 'chroot /mnt/sysinstall' after which
you will be able to see your old /etc/grub.conf and
have all the usual tools to reinstall grub.
--
Les Mikesell
lesmikesell@gmail.com
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on centos with raid1 and grub
2006-09-08 10:42 ` Sterpu Victor
2006-09-08 10:50 ` Fabien Jakimowicz
@ 2006-09-08 12:59 ` Luca Berra
2006-09-08 13:08 ` Fabien Jakimowicz
2 siblings, 0 replies; 8+ messages in thread
From: Luca Berra @ 2006-09-08 12:59 UTC (permalink / raw)
To: linux-lvm
On Fri, Sep 08, 2006 at 01:42:38PM +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.
>
Activate the raid
L.
--
Luca Berra -- bluca@comedia.it
Communication Media & Services S.r.l.
/"\
\ / ASCII RIBBON CAMPAIGN
X AGAINST HTML MAIL
/ \
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on centos with raid1 and grub
2006-09-08 10:42 ` Sterpu Victor
2006-09-08 10:50 ` Fabien Jakimowicz
2006-09-08 12:59 ` Luca Berra
@ 2006-09-08 13:08 ` Fabien Jakimowicz
2 siblings, 0 replies; 8+ messages in thread
From: Fabien Jakimowicz @ 2006-09-08 13:08 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 1153 bytes --]
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
device.
--
Fabien Jakimowicz <fabien@jakimowicz.com>
[-- Attachment #2: This is a digitally signed message part --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on CentOS with raid1 and grub
2006-09-08 8:38 [linux-lvm] lvm on centos with raid1 and grub Sterpu Victor
2006-09-08 10:42 ` Sterpu Victor
2006-09-08 12:44 ` Les Mikesell
@ 2006-09-08 15:34 ` Lamont R. Peterson
2006-09-08 16:52 ` Thomas Schwinge
2 siblings, 1 reply; 8+ messages in thread
From: Lamont R. Peterson @ 2006-09-08 15:34 UTC (permalink / raw)
To: LVM
[-- Attachment #1: Type: text/plain, Size: 2101 bytes --]
On Friday 08 September 2006 02:38am, 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.
You can not put /boot/ on top of LVM or RAID, except RAID 1 but you have to be
careful if you need to boot from the second (or later) drive.
There are patches out there for GRUB to allow it to read LVM and they make it
possible to boot when the /boot/ files are on LVM. Last I heard, they were
still officially "experimental" but apparently pretty much working. I think
I read somewhere that the plan was to support LVM with GRUB2 when it
releases, but don't quote me on that, I can't seem to find the reference at
the moment.
> 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.
>
>
>
> _______________________________________________
> linux-lvm mailing list
> linux-lvm@redhat.com
> https://www.redhat.com/mailman/listinfo/linux-lvm
> read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
--
Lamont R. Peterson <peregrine@OpenBrainstem.net>
Founder [ http://blog.OpenBrainstem.net/peregrine/ ]
GPG Key fingerprint: 0E35 93C5 4249 49F0 EC7B 4DDD BE46 4732 6460 CCB5
___ ____ _ _
/ _ \ _ __ ___ _ __ | __ ) _ __ __ _(_)_ __ ___| |_ ___ _ __ ___
| | | | '_ \ / _ \ '_ \| _ \| '__/ _` | | '_ \/ __| __/ _ \ '_ ` _ \
| |_| | |_) | __/ | | | |_) | | | (_| | | | | \__ \ || __/ | | | | |
\___/| .__/ \___|_| |_|____/|_| \__,_|_|_| |_|___/\__\___|_| |_| |_|
|_| Intelligent Open Source Software Engineering
[ http://www.OpenBrainstem.net/ ]
[-- Attachment #2: Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: [linux-lvm] lvm on CentOS with raid1 and grub
2006-09-08 15:34 ` [linux-lvm] lvm on CentOS " Lamont R. Peterson
@ 2006-09-08 16:52 ` Thomas Schwinge
0 siblings, 0 replies; 8+ messages in thread
From: Thomas Schwinge @ 2006-09-08 16:52 UTC (permalink / raw)
To: LVM general discussion and development
[-- Attachment #1: Type: text/plain, Size: 559 bytes --]
Hello!
On Fri, Sep 08, 2006 at 09:34:46AM -0600, Lamont R. Peterson wrote:
> I read somewhere that the plan was to support LVM with GRUB2 when it
> releases
Correct. Jeroen Dekkers was (successfully) working on RAID and LVM
support for GRUB as a Google Summer of Code 2006 project.
> I can't seem to find the reference at the moment.
I can help:
<http://lists.gnu.org/archive/html/grub-devel/2006-08/msg00024.html> and
<http://grub.enbug.org/LVMandRAID>.
It's not installed in the main trunk so far, but will be.
Regards,
Thomas
[-- Attachment #2: Digital signature --]
[-- Type: application/pgp-signature, Size: 189 bytes --]
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~2006-09-08 16:52 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2006-09-08 8:38 [linux-lvm] lvm on centos with raid1 and grub Sterpu Victor
2006-09-08 10:42 ` Sterpu Victor
2006-09-08 10:50 ` Fabien Jakimowicz
2006-09-08 12:59 ` Luca Berra
2006-09-08 13:08 ` Fabien Jakimowicz
2006-09-08 12:44 ` Les Mikesell
2006-09-08 15:34 ` [linux-lvm] lvm on CentOS " Lamont R. Peterson
2006-09-08 16:52 ` Thomas Schwinge
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).