bugGNU GRUB - Bugs: bug #44534, No support for LVM mirror type...

 
 

You are not allowed to post comments on this tracker with your current authentication level.

bug #44534: No support for LVM mirror type "raid1"

Submitted by:  Candid Dauth <cdauth>
Submitted on:  Fri 13 Mar 2015 11:59:30 AM UTC  
 
Category: FilesystemSeverity: Major
Priority: 5 - NormalItem Group: None
Status: FixedPrivacy: Public
Assigned to: NoneOriginator Name: 
Open/Closed: ClosedRelease: 
Release: 2.02~beta1Reproducibility: None
Planned Release: None

Mon 06 Apr 2015 01:46:00 PM UTC, comment #4:

Fix will be in next version, but I'm afraid I cannot say when it happens.

Andrei Borzenkov <arvidjaar>
Project Member
Fri 20 Mar 2015 12:51:47 AM UTC, comment #3:

Thanks for the fix. Unfortunately I have not had the chance to test it yet, as for now I have removed the mirror to have a bootable system again.

As I don’t know about the release schedule of GRUB, do you know if this fix will normally be included in the next release, and when approximatetly that will be released?

Candid Dauth <cdauth>
Thu 19 Mar 2015 06:33:29 PM UTC, comment #2:

Fixed in 527eeeeee6c8d3d8e3bb1fac408d47bb1dcbec95.

Andrei Borzenkov <arvidjaar>
Project Member
Sat 14 Mar 2015 05:28:26 AM UTC, comment #1:

Could you test attached patch (on top of current GIT)?

(file #33336)

Andrei Borzenkov <arvidjaar>
Project Member
Fri 13 Mar 2015 11:59:30 AM UTC, original submission:

LVM has support for two mirror types: "raid1" and "mirror". "raid1" is the default type in the newest versions of LVM and "mirror" is called a "legacy type" in the man page.

The raid1 type does not require manually creating a log volume and has some performance advantages that are similar to those of other RAID1 implementations. See <a href="http://wiki.gentoo.org/wiki/LVM#Mirroring_.28RAID1.29">this manual</a> on how to create raid1 mirrored volumes.

GRUB does not seem to recognise raid1 volumes. In GRUB itself, the volumes are simply not displayed using the "ls" command. GRUB will refuse to boot from raid1 volumes. Also grub-install will fail when the root partition is a raid1 volume, reporting "grub-install: info: unknown LVM type raid1" on the way and in the end complaining about not finding the root device.

This means that a system unexpectedly becomes unbootable if a mirror is added to the root partition using lvconvert. (For the record: The problem disappears again after simply removing the mirror.)

Candid Dauth <cdauth>

 

Attached Files
file #33336:  grub2-lvm-raid1.patch added by arvidjaar (2KiB - text/x-patch)

 

Depends on the following items: None found

Items that depend on this one: None found

 

Carbon-Copy List
  • -unavailable- added by arvidjaar (Updated the item)
  • -unavailable- added by cdauth (Submitted the item)
  •  

    Do you think this task is very important?
    If so, you can click here to add your encouragement to it.
    This task has 0 encouragements so far.

    Only logged-in users can vote.

     

    Please enter the title of George Orwell's famous dystopian book (it's a date):

     

     

    Follow 3 latest changes.

    Date Changed By Updated Field Previous Value => Replaced By
    Thu 19 Mar 2015 06:33:29 PM UTCarvidjaarStatusNone=>Fixed
      Open/ClosedOpen=>Closed
    Sat 14 Mar 2015 05:28:26 AM UTCarvidjaarAttached File-=>Added grub2-lvm-raid1.patch, #33336

    Back to the top


    Powered by Savane 3.1-cleanup1