Bug 1143747
| Summary: | attempting to set a persistent minor number on an exclusively activated thin volume causes locking/activation issues | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 6 | Reporter: | Corey Marthaler <cmarthal> | ||||
| Component: | lvm2 | Assignee: | Zdenek Kabelac <zkabelac> | ||||
| lvm2 sub component: | Clustering / clvmd (RHEL6) | QA Contact: | cluster-qe <cluster-qe> | ||||
| Status: | CLOSED ERRATA | Docs Contact: | |||||
| Severity: | medium | ||||||
| Priority: | unspecified | CC: | agk, heinzm, jbrassow, msnitzer, prajnoha, prockai, zkabelac | ||||
| Version: | 6.6 | ||||||
| Target Milestone: | rc | ||||||
| Target Release: | --- | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | lvm2-2.02.118-1.el6 | Doc Type: | Bug Fix | ||||
| Doc Text: |
lvm2 tool used to accept options to set major:minor values for thin-pool volumes in some command variant. However such settings were later actually ignored. The fix has removed possibility to set major:minor for internal abstract volumes (which thin-pool actually is). Tool now correctly reports unsupported error message.
|
Story Points: | --- | ||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-07-22 07:35:34 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: | |||||||
| Attachments: |
|
||||||
|
Description
Corey Marthaler
2014-09-17 21:22:28 UTC
Created attachment 938646 [details]
-vvvv of the lvchange
Here we need to consider more things now with docker support to use 'initialized' but unused thin-pool. ATM (with version 2.02.112) it's been disabled to create thin-pool with --minor - however now when we allowed 'public' use for thin-pool - we may need to consider to again enable support. lvchange remained so far unchanged. The fix here will disable support for lvchange of --minor for thin-pool. Minor support was purely oriented to support 'nfs' use-case where filesystem has to be located on a fixed minor device. There is no use case of fixed minor for thin-pool device. lvchange of persistent majors/minors for pool volumes has been disabled with upstream commit: https://www.redhat.com/archives/lvm-devel/2015-March/msg00075.html Marking "verified" in the latest rpms. The changing of minor numbers is no longer allowed with pool volumes (on clustered vgs or not). lvm2-2.02.118-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 lvm2-libs-2.02.118-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 lvm2-cluster-2.02.118-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 udev-147-2.61.el6 BUILT: Mon Mar 2 05:08:11 CST 2015 device-mapper-1.02.95-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 device-mapper-libs-1.02.95-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 device-mapper-event-1.02.95-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 device-mapper-event-libs-1.02.95-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 device-mapper-persistent-data-0.3.2-1.el6 BUILT: Fri Apr 4 08:43:06 CDT 2014 cmirror-2.02.118-2.el6 BUILT: Wed Apr 15 06:34:08 CDT 2015 [root@host-082 ~]# lvchange -f -My --major 255 --minor 159 /dev/VG/pool Persistent major and minor numbers are not supported with pools. 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-1411.html |