CentOS 7.4 MD1200 SES Enclosure & Multipath

Issues related to hardware problems
yaplej
Posts: 7
Joined: 2014/10/13 14:21:19

CentOS 7.4 MD1200 SES Enclosure & Multipath

Postby yaplej » 2017/10/19 13:12:50

Hello,

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


I get lots of output from multipath that all looks great.

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--->


I cannot see the actual enclosures in /sys/class/enclsoure/ its empty. The enclosures are listed in "lsscsi -g" though.

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


I'm not sure where to go from here if this is an upstream bug or a configuration problem. Your help would be very appreciated.