Bug 830993
Summary: | Unable to set persistent minor number above 255 | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 5 | Reporter: | David Wood <dwood> |
Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> |
Status: | CLOSED ERRATA | QA Contact: | Cluster QE <mspqa-list> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 5.8 | CC: | agk, dsulliva, dwysocha, heinzm, jbrassow, lmiksik, msnitzer, nperic, prajnoha, prockai, slevine, thornber, zkabelac |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | x86_64 | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | lvm2-2.02.88-11.el5 | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2013-10-01 00:27:33 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: |
Description
David Wood
2012-06-11 21:03:11 UTC
Amazing nobody did hit this before! But yes, it's a bug (we still need to check for the kernel and metadata version though). New limit set to follow the kernel >= 2.6: 12 and 20 bits for major and minor number (4095 and 1048575). http://git.fedorahosted.org/cgit/lvm2.git/commit/?id=6e55201144be3bcf82b6aafe7e9f7430318719d0 This request was evaluated by Red Hat Product Management for inclusion in a Red Hat Enterprise Linux release. Product Management has requested further review of this request by Red Hat Engineering, for potential inclusion in a Red Hat Enterprise Linux release for currently deployed products. This request is not yet committed for inclusion in a release. Tested and setting up a high-numbered minor works with lvm2-2.02.88-11.el5 (04:46:51) [root@r5-node02:~]$ lvchange --persistent y --major 252 --minor 300 test/majnor Logical volume majnor will be deactivated temporarily. Continue? [y/n]: y Logical volume "majnor" changed (04:47:16) [root@r5-node02:~]$ dmsetup ls VolGroup00-LogVol01 (252, 1) VolGroup00-LogVol00 (252, 0) test-majnor (252, 300) 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. http://rhn.redhat.com/errata/RHBA-2013-1352.html |