| Summary: | Hidden devices are not marked consistently in LVM2 reporting fields | ||
|---|---|---|---|
| Product: | [Fedora] Fedora | Reporter: | Tony Asleson <tasleson> |
| Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> |
| Status: | CLOSED NEXTRELEASE | QA Contact: | Fedora Extras Quality Assurance <extras-qa> |
| Severity: | unspecified | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 23 | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jonathan, lvm-team, msnitzer, prajnoha, prockai, zkabelac |
| Target Milestone: | --- | ||
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.150-2.fc24.x86_64 | Doc Type: | Bug Fix |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2016-08-01 09:17:59 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: | |
|
Description
Tony Asleson
2016-01-04 23:21:10 UTC
Fixed with: https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=d6cf83968cb0d397faec30ce54839a679e89dd14 (All fields displaying LV names should use _lvname_disp within their report function - I'll check once again other fields too, but it seems all the others correctly use _lvname_disp already.) There are more patches in lvm2 v2.02.140 which mark hidden devices consistently on reports by reusing common function to display names (_lvname_disp) as much as possible, including these fields: convert_lv, origin, mirror_log, data_lv, metadata_lv, pool_lv, devices, metadata_devices, seg_pe_ranges, seg_metadata_le_ranges. There's also a new lvm.conf setting to control marking hidden devices with brackets (default is enabled): report/mark_hidden_devices = 1 I've made an exception (in lvm2 v2.02.141) for these fields and I'm keeping them as they were before these changes, so reverting the changes for these fields: devices metadata_devices seg_pe_ranges The devices and seg_pe_ranges are out and released for a very long time and we would be breaking compatibility. The metadata_devices is relatively new field, so compatibility doesn't matter much here, but let's make it consistent with the "devices" field. I'd recommend people using associated seg_le_ranges (this is a new one introduced in lvm2 v 2.02.141 to replace seg_pe_ranges) and seg_metadata_le_ranges which display devices and extent ranges in common and standard format: For devices which are not hidden: device_name:extent_start-extent_end For hidden devices: [device_name]:extent_start-extent_end This bug was accidentally moved from POST to MODIFIED via an error in automation, please see mmccune with any questions |