Bug 1064592
| Summary: | [RFE] LVM RAID: Allow device specification when performing 'lvconvert --repair' | ||
|---|---|---|---|
| Product: | [Community] LVM and device-mapper | Reporter: | Jonathan Earl Brassow <jbrassow> |
| Component: | lvm2 | Assignee: | Heinz Mauelshagen <heinzm> |
| lvm2 sub component: | Mirroring and RAID | QA Contact: | cluster-qe <cluster-qe> |
| Status: | CLOSED UPSTREAM | Docs Contact: | |
| Severity: | unspecified | ||
| Priority: | unspecified | CC: | agk, cbuissar, heinzm, jbrassow, jcastillo, msnitzer, prajnoha, zkabelac |
| Version: | 2.02.163 | Flags: | heinzm:
lvm-technical-solution+
rule-engine: lvm-test-coverage? |
| Target Milestone: | Fedora | ||
| Target Release: | 2016-09 | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | v2_02_163 | Doc Type: | Enhancement |
| Doc Text: |
Feature:
Allow rebuild device specification with "lvchange --rebuild PV LV"
Reason:
Result:
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-06-10 12:42:22 UTC | Type: | Bug |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
|
Description
Jonathan Earl Brassow
2014-02-12 23:00:52 UTC
"lvchange --rebuild PV VG/LV" would avoid a kernel change we'd need to support this via "lvchange --syncaction repair PV VG/LV", because the former can pass in the respective rebuild flag via the constructor (already supported and used in repair/replace) but the latter would need a raid target message interface enhancement. Another tradeoff of the latter is that it doesn't restart after a crahs or a mapping refresh but the former does. In essence "lvchange --rebuild PV [--rebuild PV...] VG/LV" is a repair/replace without allocation just passing in the rebuild flags intio the kernel. Got POC implementation in testing. Tested solution and pushed upstream. |