Bug 1091543
Summary: | bogus error when attempting to split images from raid1 cache origin volume | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Petr Rockai <prockai> |
lvm2 sub component: | Cache Logical Volumes | QA Contact: | Cluster QE <mspqa-list> |
Status: | CLOSED ERRATA | Docs Contact: | |
Severity: | low | ||
Priority: | low | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, prockai, zkabelac |
Version: | 7.0 | Keywords: | Triaged |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.112-1.el7 | Doc Type: | Bug Fix |
Doc Text: |
Issuing a lvconvert --splitmirror command on a RAID volume with a persistent cache on top would have caused a confusing error message to be printed. The code has been changed to proceed by using the underlying RAID volume for this operation, since --splitmirror does not make sense for the cache LV directly.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-05 13:08:24 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: | |||
Bug Depends On: | |||
Bug Blocks: | 1119326 |
Description
Corey Marthaler
2014-04-25 20:09:45 UTC
Upstream code still yields strange message: [root@bp-01 ~]# lvconvert --splitmirrors 1 --name new0 vg/lv Mirrors are not yet supported on cache LVs vg/lv. The problem was that the code picked an old-style-mirror based path because of splitmirror and the LV not being a RAID LV, giving the confusing error. I have changed lvconvert (in d2f901f04f76cca110475395272e70c83bea816d) to warn the user about using --splitmirrors over a cache LV and to proceed using the origin for the operation. Verification of this is blocked behind bug 1164347. Fix verified in the latest rpms. The cmd now just "does the right thing". [root@host-116 ~]# lvconvert --splitmirrors 1 --name new3 split_image/split_origin WARNING: Selected operation does not work with cache-type LVs. Proceeding using the cache origin LV split_origin_corig instead 3.10.0-225.el7.x86_64 lvm2-2.02.115-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 lvm2-libs-2.02.115-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 lvm2-cluster-2.02.115-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 device-mapper-1.02.93-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 device-mapper-libs-1.02.93-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 device-mapper-event-1.02.93-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 device-mapper-event-libs-1.02.93-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 device-mapper-persistent-data-0.4.1-2.el7 BUILT: Wed Nov 12 12:39:46 CST 2014 cmirror-2.02.115-3.el7 BUILT: Wed Jan 28 09:59:01 CST 2015 Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://rhn.redhat.com/errata/RHBA-2015-0513.html |