[linux-lvm] GRUB boot problem with lvm mirror type raid1

Peter Rajnoha prajnoha at redhat.com
Mon Apr 14 09:40:36 UTC 2014


On 04/14/2014 10:42 AM, gk180984 at interia.pl wrote:
> Hi
> I want to ask it is possible boot root file system (via GRUB) from LVM RAID1 volume?
> I can boot root file system (with /boot) from linera LVM volume and from mirror volume, but when I create raid1 mirror GRUB can't boot from it:
> 
> lvconvert --type raid1 -m1 gsys/vsys
> 
> LVM mirror is work:
> lvconvert -m1 gsys/vsys
> 
> I have two disk and use only LVM, not other raid software. GRUB have lvm module.

Grub doesn't support LVM RAID1 (it supports only RAID 4/5/6 type IIRC).

However, I don't recommend using /boot on LVM at the moment since
grub support for LVM is limited and unofficial. There's a plan to add
official and more robust support though - there are ongoing discussions
between grub and LVM team...

-- 
Peter




More information about the linux-lvm mailing list