Comment 0 for bug 1578638

Revision history for this message
sles (slesru) wrote :

16.04:

/etc/init.d/multipath-tools

# Required-Start: udev $local_fs $remote_fs $syslog

$remote_fs s wrong here, because it results in:

root@inetgw2:/etc/init.d# journalctl -x | grep mpath
май 05 16:53:46 inetgw2 ocfs2[1459]: Starting Oracle Cluster File System (OCFS2) mount.ocfs2: Device name specified was not found while opening device /dev/mapper/mpatha
май 05 16:55:15 inetgw2 systemd[1]: dev-mapper-mpatha.device: Job dev-mapper-mpatha.device/start timed out.
май 05 16:55:15 inetgw2 systemd[1]: Timed out waiting for device dev-mapper-mpatha.device.
-- Subject: Ошибка юнита dev-mapper-mpatha.device
-- Произошел сбой юнита dev-mapper-mpatha.device.
май 05 16:55:15 inetgw2 systemd[1]: dev-mapper-mpatha.device: Job dev-mapper-mpatha.device/start failed with result 'timeout'.
май 05 16:55:16 inetgw2 multipathd[1690]: mpatha: load table [0 314572800 multipath 1 queue_if_no_path 0 2 1 round-robin 0 2 1 8:32 1000 8:48 1000 round-robin 0 2 1 8:16 1000 8:64 1000]

i.e. multipathd is started _after_ systemd tries mount.

looks like removing $remote_fs solves problem.

Thank you!