Bug 156679
Summary: | kernel dm: Export parent/child relationship via sysfs | ||
---|---|---|---|
Product: | [Fedora] Fedora | Reporter: | Lars Marowsky-Bree <lmb> |
Component: | device-mapper-obsolete | Assignee: | Dave Wysochanski <dwysocha> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | rawhide | CC: | agk, dmo, dwysocha, junichi.nomura, kzak, mbroz, tranlan |
Target Milestone: | --- | Keywords: | FutureFeature, Reopened |
Target Release: | --- | ||
Hardware: | All | ||
OS: | Linux | ||
Whiteboard: | |||
Fixed In Version: | fc6 | Doc Type: | Enhancement |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2007-03-04 17:07:11 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
Lars Marowsky-Bree
2005-05-03 11:19:25 UTC
See also bug #156324 - "dependency tree should be added to libdevmapper". I believe this has been implemented upstream (2.6.20 or before - looks like it's in FC6 as well, 2.6.19-1.2895.fc6xen) via the 'slaves' directory that contains links back to the /dev/sd* devices. (see below) Feel free to reopen if I'm mistaken or you need something further. # ls /sys/block/dm-29/slaves/ sdaj sdbg # uname -a Linux gfs1.hpperf.rdu.redhat.com 2.6.20 #1 SMP Thu Feb 8 12:06:05 EST 2007 i686 i686 i386 GNU/Linux # ls -l /dev/mapper/mpath427 brw-rw---- 1 root disk 253, 29 Feb 19 13:14 /dev/mapper/mpath427 # ls -l /dev/dm-29 brw-r----- 1 root root 253, 29 Feb 19 13:14 /dev/dm-29 # multipath -ll mpath427 mpath427 (3600805f30005e240db04445cdf0700bd) [size=47 MB][features="1 queue_if_no_path"][hwhandler="1 hp_sw"] \_ round-robin 0 [prio=1][active] \_ 2:0:0:30 sdaj 66:48 [active][ready] \_ round-robin 0 [prio=1][enabled] \_ 3:0:0:30 sdbg 67:160 [active][ghost] |