Bug 383801
| Summary: | dmraid needs to generate UUIDs for lib device-mapper | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 4 | Reporter: | Ian Kent <ikent> | ||||
| Component: | dmraid | Assignee: | Zdenek Kabelac <zkabelac> | ||||
| Status: | CLOSED WONTFIX | QA Contact: | Corey Marthaler <cmarthal> | ||||
| Severity: | medium | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 4.6 | CC: | agk, amlau, bmr, dwysocha, heinzm, mbroz, prockai | ||||
| 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: | 2011-02-17 12:24:25 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: | 379911 | ||||||
| Bug Blocks: | |||||||
| Attachments: |
|
||||||
|
Description
Ian Kent
2007-11-15 03:17:02 UTC
Created attachment 259301 [details]
Patch to add UUID support to dmraid
+ /* DM_UUID_LEN is defined in dm-ioctl.h as 129 characters; + * though not all 129 must be used (md uses just 16 from + * a quick review of md.c. + * We will be using: (len vol grp name)*/ It's not obvious from glancing at those patches - please would you describe the *how* you are generating the uuids with examples of what they look like? What subsystem prefix do you propose for example? Like the patch stands, the system wide unique RAID set name is being used. In case a subsystem prefix is mandatory, why not use "dmraid" ? So put it in capitals, then we get: DMRAID-<unique RAID set name> alongside: LVM-<LVID> when people generate a device listing, so they can see at a glance which program created the device. Similarly if the code does any queries, it should ignore devices that don't have a uuid starting with that prefix (and the newer libdevmapper tree manipulation functions take the prefix as an argument to support that). When lvm is processing a stack of dm devices, this is how it knows at which layer to stop. Subsystem prefix patch for dmraid filed as an attachment to Fedora 7 bz#379911 to be promoted to Fedora 8, RHEL5.2 and RHEL4.7. 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. Unfortunately this bugzilla was not resolved in time for RHEL 4.7 Beta. It has now been proposed for inclusion in RHEL 4.8 but must regain Product Management approval. This request was evaluated by Red Hat Product Management for inclusion, but this component is not scheduled to be updated in the current Red Hat Enterprise Linux release. If you would like this request to be reviewed for the next minor release, ask your support representative to set the next rhel-x.y flag to "?". The fix got into RHEL5, 6 and upstream, but not RHEL4, which has just had it's last update, so it's too late now. |