Jan Ritzerfeld wrote:
Am Dienstag, 1. Mai 2018, 11:04:22 CEST schrieb Per Jessen:
[...] It looks like iscsid is being shut down before the mounts have completed unmount.
But mysqld is already stopped?
Most of the time, but not always.
[...] At this point, srv-www has not yet completed unmount.
That's interesting. You've already added the _netdev mount option. Does "systemctl show -p Before -p After" on your systemd-fstab-generated mount unit show Before=remote-fs.target?
(this is with my extra drop-ins) # systemctl show -p Before -p After srv-www.mount Before=remote-fs.target apache2.service umount.target After=dev-mapper-14945540000000000776562686f7374322e30000000000000.device systemd-fsck@dev-disk-by\x2duuid-1cc82c3d\x2d1b32\x2d4632\x2dbdd4\x2d8b56d30fff1e.service iscsi.service iscsid.service -.mount dev-disk-by\x2duuid-1cc82c3d\x2d1b32\x2d4632\x2dbdd4\x2d8b56d30fff1e.device network-online.target remote-fs-pre.target system.slice network.target # systemctl show -p Before -p After srv-mysql.mount Before=remote-fs.target mariadb.service umount.target After=-.mount iscsid.service system.slice iscsi.service dev-mapper-1494554000000000064617461686f7374322e300000000000.device dev-disk-by\x2duuid-cd525bc6\x2d82b2\x2d4f8e\x2daf76\x2dd321d1757e6c.device network.target remote-fs-pre.target systemd-fsck@dev-disk-by\x2duuid-cd525bc6\x2d82b2\x2d4f8e\x2daf76\x2dd321d1757e6c.service network-online.target
And "systemctl status remote-fs.target remote- fs-pre.target" shows those targets as active?
Yep, both are good.
The iscsi.service has Before=remote-fs.target, too. I don't understand these dependencies because how could this work? Since your iSCSI mounts are automount, booting will be fine.
I have reverted to regular fixed mounts, to remove that variable.
But your iscsi.service could be stopped and your iSCSI mounts unmounted in parallel because they both are Before=remote-fs.target.
That would be a problem.
This somehow remembers me of https://lists.opensuse.org/opensuse/2014-03/msg00447.html Maybe Andrey can help again? :)
What a memory :-) Certainly sounds the same. I think I know which system it must have been - most likely it is openSUSE 12.3. It's still the same, and I don't know of any shutdown problems. That one does not have multipath yet, and the iscsi file systems are mounted by-id, not by UUID. -- Per Jessen, Zürich (12.6°C) http://www.dns24.ch/ - your free DNS host, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org