I am in the process of setting up a Dell R820 and 3x MD1200 enclosures with multipath to two plain SAS HBAs. I installed device-mapper-multipath and sg3_utils but I cannot see the enclosures or determine what disks are in each enclosure. I really need to identify where they are so I make sure to put them in the correct arrays. I could pull each drive out inventory the serial # and go that route. It would be nice to have the ability to see the enclosure layout and blink specific drives from here if needed with the SES utilities.
So I installed the utilities and enabled multipath.
Code: Select all
yum install device-mapper-multipath sg3_utils
systemctl start multipathd
systemctl enable multipathd
mpathconf --enable --with_multipathd y
mpathconf --enable --user_friendly_names y --find_multipaths y
systemctl restart multipathd
Code: Select all
multipath -l
mpathr (350000c0f01f88e38) dm-53 WD ,WD4001FYYG
size=3.6T features='0' hwhandler='0' wp=rw
|-+- policy='service-time 0' prio=0 status=active
| `- 8:0:20:0 sdbg 67:160 active undef unknown
`-+- policy='service-time 0' prio=0 status=enabled
`- 1:0:20:0 sdac 65:192 active undef unknown
<---truncated for brevity--->
Code: Select all
lsscsi -g | grep "MD1200"
[1:0:12:0] enclosu DELL MD1200 1.05 - /dev/sg19
[1:0:25:0] enclosu DELL MD1200 1.05 - /dev/sg32
[1:0:34:0] enclosu DELL MD1200 1.05 - /dev/sg41
[8:0:12:0] enclosu DELL MD1200 1.05 - /dev/sg55
[8:0:25:0] enclosu DELL MD1200 1.05 - /dev/sg68
[8:0:34:0] enclosu DELL MD1200 1.05 - /dev/sg77