RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 833078 - Root volume support for LVM mirroring
Summary: Root volume support for LVM mirroring
Keywords:
Status: CLOSED WONTFIX
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: dracut
Version: 6.2
Hardware: Unspecified
OS: Unspecified
low
low
Target Milestone: rc
: ---
Assignee: Jonathan Earl Brassow
QA Contact: Release Test Team
URL:
Whiteboard:
: 816184 (view as bug list)
Depends On:
Blocks: 498670 760559 958503 960739
TreeView+ depends on / blocked
 
Reported: 2012-06-18 14:27 UTC by Jonathan Earl Brassow
Modified: 2013-12-10 21:53 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2013-05-30 04:32:36 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Jonathan Earl Brassow 2012-06-18 14:27:25 UTC
After failure to activate the root logical volume, dracut should be able to check if the LV is mirrored or RAID and proceed.

This should involve a small amount of checking code (to determine segment type) and code that repairs and/or activates the volume in partial mode.

Comment 1 Alexander Todorov 2012-08-06 07:47:59 UTC
Jonathan,
can you be more verbose? Can you describe steps to reproduce a particular problem ?

Comment 2 Jonathan Earl Brassow 2012-09-21 19:22:36 UTC
to recreate the problem, make your root volume either a RAID or 'mirror' logical volume, reboot the machine with a missing device.  The machine will not boot.

you can convert an existing linear root volume to RAID or 'mirror' by doing the following:
~> lvconvert --type raid1 -m 1 <VG>/<LV>
or
~> lvconvert -m 1 <VG>/<LV>

Comment 3 Jonathan Earl Brassow 2012-10-15 22:03:12 UTC
Note that the RAID logical volumes already work as root volumes.  'mirror' segment type does not.  If users want to mirror their root volume, they should use the LVM 'raid1' segment type for now.

This bug is low priority for 6.4 because only the 'mirror' segment type does not work and the 'raid1' segment type provides a preferred alternative.

Comment 5 Harald Hoyer 2013-02-11 12:40:46 UTC
dracut >= 004-231 should support assembling lvm mirrors with "--partial"

Comment 7 Jonathan Earl Brassow 2013-05-29 17:41:53 UTC
I don't think you mean to devel ACK this do you?

See comment 3.  It is insufficient to try to activate with '--partial' flag for "mirror" segment type.  Users can use the "raid1" segment type.  It is the preferred RAID1 implementation, it does respond to the '--partial' flag, and is already available.

Let's not support the "mirror" segment type for the root volume.  What I don't know is where the best place to document this is - that "raid1" is allowed, but "mirror" is not for the root volume.

Comment 8 RHEL Program Management 2013-05-30 04:32:36 UTC
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.

Comment 12 Jonathan Earl Brassow 2013-12-10 21:53:48 UTC
*** Bug 816184 has been marked as a duplicate of this bug. ***


Note You need to log in before you can comment on or make changes to this bug.