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"

Submitter:  Candid Dauth <cdauth>
Submitted:  Fri 13 Mar 2015 11:59:30 AM UTC
   
 
Category:  Filesystem Severity:  Major
Priority:  5 - Normal Item Group:  None
Status:  Fixed Privacy:  Public
Assigned to:  None Originator Name: 
Open/Closed:  Closed Release:  2.02~beta1
Release:  Reproducibility:  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>
Group 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>
Group 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>
Group 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>

 

(Note: upload size limit is set to 16384 kB, after insertion of the required escape characters.)

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
  • -email is unavailable- added by arvidjaar (Updated the item)
  • -email is unavailable- added by cdauth (Submitted the item)
  •  

    There are 0 votes so far. Votes easily highlight which items people would like to see resolved in priority, independently of the priority of the item set by tracker managers.

     

    Follow 3 latest changes.

    Date Changed by Updated Field Previous Value => Replaced by
    2015-03-19 arvidjaar StatusNone Fixed
        Open/ClosedOpen Closed
    2015-03-14 arvidjaar Attached File- Added grub2-lvm-raid1.patch, #33336

    Back to the top

    Powered by Savane 3.14-8aba.
    Corresponding source code