Bug 746394

Summary: Improve devmapper support in GRUB2
Product: [Fedora] Fedora Reporter: Marek Goldmann <mgoldman>
Component: grub2Assignee: Peter Jones <pjones>
Status: CLOSED DUPLICATE QA Contact: Fedora Extras Quality Assurance <extras-qa>
Severity: urgent Docs Contact:
Priority: urgent    
Version: 16CC: apevec, collura, dennis, jboggs, joe, mburns, ovirt-maint, pjones, the.ridikulus.rat
Target Milestone: ---   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-11-09 18:47:17 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On:    
Bug Blocks: 744390    
Attachments:
Description Flags
Improved devmapper for grub2 patch
none
Improved devmapper for grub2 patch none

Description Marek Goldmann 2011-10-15 10:38:50 UTC
Created attachment 528314 [details]
Improved devmapper for grub2 patch

Description of problem:

The current version of GRUB2 has known issues with devmapper when using with loopback devices. It was reported upstream in this bug: http://savannah.gnu.org/bugs/?27737

The issue was fixed in upstream bzr repository in revision 3302. I cherry-picked the commit and tested it - works nicely.

I'm attaching the patch for F16 branch of grub2.

Comment 1 Marek Goldmann 2011-10-16 14:24:40 UTC
You can find packages built with above patch applied here: http://goldmann.fedorapeople.org/bz/746394/

Comment 2 Joey Boggs 2011-10-17 19:39:36 UTC
This patch wfm installing grub to a /dev/mapper device now

bumped priority since patch is a blocker for me in ovirt-node

Comment 3 Joey Boggs 2011-10-18 12:52:08 UTC
*** Bug 744098 has been marked as a duplicate of this bug. ***

Comment 4 Joey Boggs 2011-11-04 16:18:19 UTC
any chance we can get this in a build soon?

Comment 5 Marek Goldmann 2011-11-07 11:18:57 UTC
Created attachment 532016 [details]
Improved devmapper for grub2 patch

I've updated one more time RPMs with proposed fix for this issue. These builds also include patch for bug#746730. You can find them here:

http://goldmann.fedorapeople.org/bz/746394/

I'm attaching also updated patch to apply directly to the repo.

Comment 6 Mike Burns 2011-11-07 20:33:44 UTC
Is there any chance of this getting into Fedora 16 relatively soon after release?

Thanks

Comment 7 Alan Pevec 2011-11-08 22:14:23 UTC
Possible dup of bug 742226 ?
Joey, Marek, does grub2-1.99-12.fc16 work, it seems to include Improve-devmapper-support.patch ?

Comment 8 Joey Boggs 2011-11-09 01:44:20 UTC
looks like grub2-1.99-12.fc16 does work for ovirt-node install

marek, may want to retest now and see for your case

Comment 9 Marek Goldmann 2011-11-09 18:47:17 UTC
Yes, that looks good for me too. Closing and marking as duplicate of bug 742226.

*** This bug has been marked as a duplicate of bug 742226 ***