[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]

Re: [linux-lvm] lvm on CentOS with raid1 and grub



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: pgpVVjQpaAGMG.pgp
Description: PGP signature


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]