Roger Oberholtzer wrote:
On Wed, Jul 8, 2020 at 9:27 AM Per Jessen
wrote: #sed -e '/^.*#/d' -e '/^.*:/!d' -e 's/\t/ /g' -e #'/x-systemd.automount/!d' /etc/fstab fileserver.local.net:/home/spamchek /home/spamchek nfs x-systemd.automount,x-systemd.idle-timeout=300,tcp,_netdev 0 0 fileserver.local.net:/home/hostsuisse /home/hostsuisse nfs x-systemd.automount,x-systemd.idle-timeout=300,tcp,_netdev 0 0
I use these:
source:/vol1 /source/vol1 nfs defaults,rsize=8192,wsize=8192,bg,soft,intr,noatime,noauto,x-systemd.automount,x-systemd.idle-timeout=60,nofail,_netdev 0 0
rsize and wsize are superfluous with nfs4, afaik. I'll have to look up what 'bg' means.
So not so different from yours. I do not explicitly request tcp protocol.
Hmm, I don't know why I have that option either.
What do the two generated systemd service files for these mounts look like?
For instance: # Automatically generated by systemd-fstab-generator [Unit] SourcePath=/etc/fstab Documentation=man:fstab(5) man:systemd-fstab-generator(8) Before=remote-fs.target [Automount] Where=/home/spamchek TimeoutIdleSec=5min -- Per Jessen, Zürich (21.8°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org