[opensuse-factory] Re: systemd and network file systems (nfs, iscsi)
Michal Suchánek wrote:
On Thu, 12 Apr 2018 21:19:52 +0200 Per Jessen <per@computer.org> wrote:
Dear Michal
We're using systemd, NFS mounted shares work quite well.
Dear Per,
I am using iSCSI root and it does not work with systemd.
Actually, I also have a few customer systems with root on iSCSI. This is with Leap42.1. Sofar it's been working just fine, but maybe we are not doing anything too stressing. taggart137:~ # lsscsi [6:0:0:0] disk IET VIRTUAL-DISK 0 /dev/sda [6:0:0:1] disk IET VIRTUAL-DISK 0 /dev/sdb taggart137:~ # df Filesystem 1K-blocks Used Available Use% Mounted on devtmpfs 2015400 0 2015400 0% /dev tmpfs 2022312 0 2022312 0% /dev/shm tmpfs 2022312 214648 1807664 11% /run tmpfs 2022312 0 2022312 0% /sys/fs/cgroup /dev/sda1 10189112 4633404 5015088 49% /
Even in absence of proper network service dependencies you can mark filesystem in fstab as "network" which is supposed to make it depend on network and prevent systemd from shutting down network while the filesystem is mounted. This does not work. If the filesystem is used by system service unmounting the filesystem times out but the network is shut down nonetheless. It would be much simpler if systemd did not shut down the network at all.
I think I might have a bug report on that, for shutting down systems with root on NFS. Hmm, not sure, I can't find it. Brgds Per Jessen -- To unsubscribe, e-mail: opensuse-factory+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse-factory+owner@opensuse.org
participants (1)
-
Per Jessen