hi,
I have this fstab entry:
192.168.2.200:/volume1/SL /home/akm/Diskstation/SL nfs noauto,rw,exec,x-systemd.automount 0 0
192.168.2.200:/volume1/DL /home/akm/Diskstation/DL nfs noauto,rw,exec,x-systemd.automount 0 0
and this has worked perfect for several years, however since a while (not sure exactly when as I don’t need these nfs’s very often) one or both are not mounted anymore in KDE, clicking on them in dolphin gives that nice message that the mount is only permitted by root.
today only DL got mounted
journalctl -x -b | grep Diskstation
okt 01 15:30:05 caladan systemd[1]: Set up automount home-akm-Diskstation-SL.automount.
-- Subject: Unit home-akm-Diskstation-SL.automount has finished start-up
-- Unit home-akm-Diskstation-SL.automount has finished starting up.
okt 01 15:30:05 caladan systemd[1]: Set up automount home-akm-Diskstation-DL.automount.
-- Subject: Unit home-akm-Diskstation-DL.automount has finished start-up
-- Unit home-akm-Diskstation-DL.automount has finished starting up.
okt 01 15:37:47 caladan systemd[1]: home-akm-Diskstation-DL.automount: Got automount request for /home/akm/Diskstation/DL, triggered by 2615 (desktop.so)
okt 01 15:37:47 caladan systemd[1]: Mounting /home/akm/Diskstation/DL...
-- Subject: Unit home-akm-Diskstation-DL.mount has begun start-up
-- Unit home-akm-Diskstation-DL.mount has begun starting up.
okt 01 15:37:48 caladan systemd[1]: Mounted /home/akm/Diskstation/DL.
-- Subject: Unit home-akm-Diskstation-DL.mount has finished start-up
-- Unit home-akm-Diskstation-DL.mount has finished starting up.
status then shows:
/run/systemd/generator # systemctl status home-akm-Diskstation-SL.mount
● home-akm-Diskstation-SL.mount - /home/akm/Diskstation/SL
Loaded: loaded (/etc/fstab; generated)
Active: inactive (dead)
Where: /home/akm/Diskstation/SL
What: 192.168.2.200:/volume1/SL
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
/run/systemd/generator # systemctl status home-akm-Diskstation-DL.mount
● home-akm-Diskstation-DL.mount - /home/akm/Diskstation/DL
Loaded: loaded (/etc/fstab; generated)
Active: active (mounted) since Mon 2018-10-01 15:37:48 CEST; 1h 15min ago
Where: /home/akm/Diskstation/DL
What: 192.168.2.200:/volume1/DL
Docs: man:fstab(5)
man:systemd-fstab-generator(8)
Process: 2617 ExecMount=/usr/bin/mount 192.168.2.200:/volume1/DL /home/akm/Diskstation/DL -t nfs -o rw,exec,x-systemd.automount (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 4915)
CGroup: /system.slice/home-akm-Diskstation-DL.mount
I don’t see any errors really, but it seems like something has changed in systemd somewhere that causes this to happen, as I said sometimes both are not mounted and sometimes one is not mounted.
manually workes just fine:
systemctl start home-akm-Diskstation-SL.mount
systemctl start home-akm-Diskstation-Dl.mount
so it really feels like maybe at boot the network is not ready in time (sometimes) and it then fails after which it’s game over ?
thanks for any idea’s you might have.