Bug 1153306
| Summary: | lvconvert validation is missing when same LV name is used for thinpool and originname | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 7 | Reporter: | Corey Marthaler <cmarthal> |
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> |
| lvm2 sub component: | Thin Provisioning | QA Contact: | Cluster QE <mspqa-list> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | agk, bmarzins, bmr, dwysocha, heinzm, jbrassow, jonathan, lmiksik, lvm-team, msnitzer, mspqa-list, prajnoha, prockai, thornber, zkabelac |
| Version: | 7.1 | Keywords: | Regression |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | lvm2-2.02.113-1.el7 | Doc Type: | Bug Fix |
| Doc Text: |
Code validation for thin pool related conversions has been extended to disallow usage of unsupported volume types.
|
Story Points: | --- |
| Clone Of: | 1045625 | Environment: | |
| Last Closed: | 2015-03-05 13:09:57 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: | 1020413, 1045625, 1133079 | ||
| Bug Blocks: | 1119323 | ||
|
Comment 1
Corey Marthaler
2014-10-15 18:13:32 UTC
Fixed with release 2.02.112. # lvcreate -L10 -n lvol1 vg Logical volume "lvol1" created. # lvconvert --thinpool vg/lvol1 --originname ext -T vg/lvol1 Can't use same name lvol1 for converted and pool volume. Run `lvconvert --help' for more information. Fix verified in the latest rpms. 3.10.0-206.el7.x86_64 lvm2-2.02.114-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 lvm2-libs-2.02.114-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 lvm2-cluster-2.02.114-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 device-mapper-1.02.92-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 device-mapper-libs-1.02.92-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 device-mapper-event-1.02.92-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 device-mapper-event-libs-1.02.92-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 device-mapper-persistent-data-0.4.1-2.el7 BUILT: Wed Nov 12 12:39:46 CST 2014 cmirror-2.02.114-2.el7 BUILT: Mon Dec 1 10:57:14 CST 2014 [root@host-119 ~]# lvconvert --thinpool snapper_thinp/origin6 --originname extorigin6 -T snapper_thinp/origin6 Can't use same name origin6 for converted and pool volume. Run `lvconvert --help' for more information. 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 |