multipath-tools not fully working on jessie

E V eliventer at gmail.com
Wed Dec 9 19:13:13 UTC 2015


Just installed debian 8.2 on a new dell server with an external 24
disk array and multipath is acting strange. First boot everything was
fine, and I setup a raid10 with mdadm on the dm-? multipath devices.
However now only some or none of the dm-? devices come up on boot and
the md array assembles itself on the /dev/sd* devices instead. New to
multipath so not sure what's going on. Suggestions and hints would be
great, thanks.

cat /proc/mdstat
Personalities : [raid10]
md0 : active (auto-read-only) raid10 sdad[17] sdab[1] sdg[18] sdh[19]
sde[12] sdc[0] sdah[21] sdl[23](S) sdn[3] sdm[2] sdk[22](S) sdi[20]
sdau[13] sdat[11] sdu[10] sds[8] sdx[14] sdt[9] sdax[16] sdap[7]
sdq[6] sdy[15] sdo[4] sdp[5]
      6445235456 blocks super 1.2 256K chunks 2 near-copies [22/22]
[UUUUUUUUUUUUUUUUUUUUUU]
      bitmap: 0/49 pages [0KB], 65536KB chunk

unused devices: <none>


Currently it looks like 10 of the devices are multipathing:

multipath -l | head -n 4
mpathr (35000cca059590060) dm-6 HGST,HUC156060CS4204
size=559G features='0' hwhandler='0' wp=rw
`-+- policy='service-time 0' prio=0 status=active
  `- 1:0:23:0 sdz  65:144 active undef running

multipath -l | grep  -c HGST
10

blacklisted the 2 hardware raid device on the internal perc 710:
cat /etc/multipath.conf
blacklist {
wwid 361418770414a40001df379d4077acda2
wwid 361418770414a40001df2e2752195148b
}
defaults {
user_friendly_names yes
}

echo show_config | multipath | head -n 3
 sdc: No SAS end device for 'end_device-1:0'
 sdaa: No SAS end device for 'end_device-1:1'
 mpathb: ignoring map

Also, /var/log/daemon.log has tons of messages:
Dec  9 14:06:10 gdx-pg2 multipathd: DM message failed [reinstate_path 67:16]
Dec  9 14:06:10 gdx-pg2 multipathd: 67:16: reinstate failed
Dec  9 14:06:11 gdx-pg2 multipathd: DM message failed [reinstate_path 65:128]
Dec  9 14:06:11 gdx-pg2 multipathd: 65:128: reinstate failed
Dec  9 14:06:11 gdx-pg2 multipathd: DM message failed [reinstate_path 8:240]
Dec  9 14:06:11 gdx-pg2 multipathd: 8:240: reinstate failed
Dec  9 14:06:11 gdx-pg2 multipathd: DM message failed [reinstate_path 8:224]
Dec  9 14:06:11 gdx-pg2 multipathd: 8:224: reinstate failed
Dec  9 14:06:15 gdx-pg2 multipathd: DM message failed [reinstate_path 65:64]
Dec  9 14:06:15 gdx-pg2 multipathd: 65:64: reinstate failed

and kern.log has:
Dec  9 14:07:41 gdx-pg2 kernel: [ 8848.462215] device-mapper:
multipath: message: error getting device 65:128
Dec  9 14:07:41 gdx-pg2 kernel: [ 8848.462346] device-mapper:
multipath: message: error getting device 8:240
Dec  9 14:07:41 gdx-pg2 kernel: [ 8848.462465] device-mapper:
multipath: message: error getting device 8:224
Dec  9 14:07:42 gdx-pg2 kernel: [ 8848.493969] device-mapper: table:
254:15: multipath: error getting device
Dec  9 14:07:42 gdx-pg2 kernel: [ 8848.494015] device-mapper: ioctl:
error adding target to table



More information about the pkg-lvm-maintainers mailing list