Bug 204997
| Summary: | RFE: major number request option should either be taken out of the help, or be ported to 2.6 and work | |||
|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Corey Marthaler <cmarthal> | |
| Component: | lvm2 | Assignee: | Peter Rajnoha <prajnoha> | |
| Status: | CLOSED ERRATA | QA Contact: | ||
| Severity: | low | Docs Contact: | ||
| Priority: | low | |||
| Version: | 5.3 | CC: | agk, dwysocha, heinzm, iannis, jbrassow, lmiksik, masanari_iida, nperic, prockai, slevine, xiaoli, zkabelac | |
| Target Milestone: | --- | Keywords: | FutureFeature | |
| Target Release: | --- | |||
| Hardware: | All | |||
| OS: | Linux | |||
| Whiteboard: | ||||
| Fixed In Version: | lvm2-2.02.88-13.el5 | Doc Type: | Enhancement | |
| Doc Text: | Story Points: | --- | ||
| Clone Of: | ||||
| : | 1092638 (view as bug list) | Environment: | ||
| Last Closed: | 2014-09-16 00:24:47 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: | ||||
| Bug Depends On: | ||||
| Bug Blocks: | 1092638 | |||
|
Description
Corey Marthaler
2006-09-01 21:45:22 UTC
*** Bug 165765 has been marked as a duplicate of this bug. *** *** Bug 473394 has been marked as a duplicate of this bug. *** This is open for years... In kernel 2.6 specifying major number lost its importance with dynamic major allocated. Can we deprecate this option in lvm2 upstream? I think it is now worth it to support it in kernel anymore. I believe we just need to document this behavior and close this bug as CANTFIX. *** Bug 858111 has been marked as a duplicate of this bug. *** OK, we can just document this a bit more. Finally, I've added a better check: https://git.fedorahosted.org/cgit/lvm2.git/commit/?id=a7c930b18da8f8179312e395c49f72080edd687e [0] raw/~ $ lvcreate -l1 -My --minor 10 vg Logical volume "lvol0" created [0] raw/~ $ lvcreate -l1 -My --major 254 --minor 11 vg Ignoring supplied major number - kernel assigns major numbers dynamically. Using major number 253 instead. Logical volume "lvol1" created [0] raw/~ $ lvs -o+major,minor lvol0 vg -wima----- 4.00 253 10 lvol1 vg -wima----- 4.00 253 11 [root@virt-122 ~]# lvcreate -L 20M -n major -My --major 222 --minor 111 vg Ignoring supplied major number - kernel assigns major numbers dynamically. Using major number 252 instead. Logical volume "major" created [root@virt-122 ~]# lvs -o+major,minor vg/major LV VG Attr LSize Origin Snap% Move Log Copy% Convert Maj Min major vg -wima- 20.00M 252 111 Marking VERIFIED with: lvm2-2.02.88-13.el5 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-2014-1218.html |