Red Hat Bugzilla – Bug 833078
Root volume support for LVM mirroring
Last modified: 2013-12-10 16:53:48 EST
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.
can you be more verbose? Can you describe steps to reproduce a particular problem ?
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>
~> lvconvert -m 1 <VG>/<LV>
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.
dracut >= 004-231 should support assembling lvm mirrors with "--partial"
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.
Development Management has reviewed and declined this request.
You may appeal this decision by reopening this request.
*** Bug 816184 has been marked as a duplicate of this bug. ***