lvm on centos with raid1 and grub
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.
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.
Quoted 22 lines · Sterpu Victor
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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Quoted 5 lines · Sterpu Victor
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.
Quoted 20 lines
Quoted 18 lines · Sterpu Victor
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.
Signature · 1 line
Fabien Jakimowicz <[email protected]>
Quoted 4 lines · Sterpu Victor
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.
Signature · 6 lines
Luca Berra -- [email protected] Communication Media & Services S.r.l. /"\ \ / ASCII RIBBON CAMPAIGN X AGAINST HTML MAIL / \
Quoted 5 lines · Sterpu Victor
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.
Quoted 20 lines
Quoted 18 lines · Sterpu Victor
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.
Signature · 1 line
Fabien Jakimowicz <[email protected]>
Quoted 6 lines · Sterpu Victor
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.
Quoted 8 lines
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.
Signature · 2 lines
Les Mikesell [email protected]
Re: [linux-lvm] lvm on CentOS with raid1 and grub
In reply to Sterpu VictorQuoted 5 lines · Sterpu Victor
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.
Quoted 17 lines
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
[email protected]
https://www.redhat.com/mailman/listinfo/linux-lvm
read the LVM HOW-TO at http://tldp.org/HOWTO/LVM-HOWTO/
Signature · 10 lines
Lamont R. Peterson <[email protected]> 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/ ]
Re: [linux-lvm] lvm on CentOS with raid1 and grub
Hello!
Quoted 2 lines · Lamont R. Peterson
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.
Quoted 1 line
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