Bug 204992
Summary: | snapshot attempt will fail if requested minor is already in use | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 4 | Reporter: | Corey Marthaler <cmarthal> |
Component: | lvm2 | Assignee: | Milan Broz <mbroz> |
Status: | CLOSED ERRATA | QA Contact: | Corey Marthaler <cmarthal> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | 4.4 | CC: | agk, dwysocha, mbroz, pvrabec |
Target Milestone: | --- | ||
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2009-05-18 20:10:34 UTC | Type: | --- |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: |
Description
Corey Marthaler
2006-09-01 21:28:19 UTC
This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. This request was previously evaluated by Red Hat Product Management for inclusion in the current Red Hat Enterprise Linux release, but Red Hat was unable to resolve it in time. This request will be reviewed for a future Red Hat Enterprise Linux release. This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux maintenance release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux Update release for currently deployed products. This request is not yet committed for inclusion in an Update release. Only just noticed this one - fascinating. This problem might date back to the rewrite of the activation code! Should be straightforward to fix. Note that the problem is *not* just what it says - the first command in the example is going wrong, assigning the minor number to the cow instead of the final top-level device - because of the way we store the metadata the activation code has to move the device number across internally. This one: snapper-snap10 253 4 L--w 0 1 0 should be 253:75. For the second command, the code should probably check for conflicts when the device node is added to the tree. Fixed upstream in lvm2 2.02.44. In lvm2-2.02.42-2.el4. And fix (together with fix for bug 480838) in lvm2-2.02.42-3.el4. Fix verified in lvm2-2.02.42-5.el4: [root@hayes-01 ~]# lvcreate -n snap11 -My --major 200 --minor 75 -L 50M -s /dev/grant/origin Rounding up size to full physical extent 52.00 MB The requested major:minor pair (200:75) is already used Aborting. Failed to activate snapshot exception store. An advisory has been issued which should help the problem described in this bug report. This report is therefore being closed with a resolution of ERRATA. For more information on therefore solution and/or where to find the updated files, please follow the link below. You may reopen this bug report if the solution does not work for you. http://rhn.redhat.com/errata/RHBA-2009-0967.html |