Carlos E. R. wrote:
On 2018-04-29 20:55, Per Jessen wrote:
Jan Ritzerfeld wrote:
Am Sonntag, 29. April 2018, 19:51:20 CEST schrieb Per Jessen:
Is there any way of finding out what prevents a (supposedly idle) automount from expiring? [...]
What timeout did you specify? And where and how? Because it looks like "The timeout is disabled by default."
Hi Jan
this is my fstab:
# cat /etc/fstab 10.42.8.254:/srv/nfs/newton/root / nfs hard,intr 0 0
This is a fixed nfs mount. But "_netdev" is missing.
I don't think it's needed, the file system is root, mounted by the initrd on start-up.
UUID=1cc82c3d-1b32-4632-bdd4-8b56d30fff1e /srv/www jfs defaults,x-systemd.automount,x-systemd.idle-timeout=300,_netdev 0 2 UUID=cd525bc6-82b2-4f8e-af76-d321d1757e6c /srv/mysql jfs defaults,x-systemd.automount,x-systemd.idle-timeout=300,_netdev 0 2
After adding these two auto-mounts, the system also did not reboot properly. It got into a hang somewhere.
Maybe network got killed before umounting. It happens with systemd.
As long as the interface is defined as "nfsroot", it works very well. I think I may have written a bugreport on something about wicked and nfsroot, but a long time ago.
I don't understand those two lines. Are they NFS mounts, using UUID? I have never seen that. Seems a local automount, but then there is "_netdev".
They are not nfs, they are multipathed iSCSI mounts. They do essentially appear as local scsi drives: # lsscsi [0:3:0:0] storage HP P400 7.22 - [1:0:0:0] cd/dvd HL-DT-ST RW/DVD GCC-C10N 2.00 /dev/sr0 [3:0:0:0] disk IET VIRTUAL-DISK 0 /dev/sda [3:0:0:1] disk IET VIRTUAL-DISK 0 /dev/sdb -- Per Jessen, Zürich (11.4°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