[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

open-iscsi & multipath-tools



Hello,
I'm facing a problem with multipath & iscsi on debian 8.4 (up to date).
I've installed multipath-tools and open-iscsi.

iscsi works fine, and if I run systemctl restart multipath-tools, multipath -ll show the multipath volume. Everything is ok.

After a reboot, iscsi targets are OK, but multipath does not show any volume. I have to restart it by hand to bring the multipath volume up.

I guess it's because on system startup, multipath-tools is launched befors open-iscsi. open-iscsi seems to be systemd compliant, but not multipath-tools.

in dmesg :
...
[   35.673974] device-mapper: multipath: version 1.10.0 loaded
[   35.703844] device-mapper: multipath round-robin: version 1.0.0 loaded
...
[   37.591062] Loading iSCSI transport class v2.0-870.
[   37.622424] iscsi: registered transport (tcp)
[   37.700250] iscsi: registered transport (iser)
...


in /etc/rc?.d, I have :

root@virtm6:/etc# find rc?.d -name 'S*open-iscsi'
rcS.d/S20open-iscsi

root@virtm6:/etc# find rc?.d -name 'S*multipath-tools'
rc2.d/S02multipath-tools
rc3.d/S02multipath-tools
rc4.d/S02multipath-tools
rc5.d/S02multipath-tools


What would be the best way to fox this problem ?

Regards,
Cédric



Reply to: