192.168.1.140:/export/shared/mp3
shouldn't work. It isn't a valid export.
192.168.1.140:/export/shared/mp3
shouldn't work. It isn't a valid export.
It shouldn't, but it definitely does.
Obviously the /mp3 directory exists on a network drive.
EDIT: On my laptop the command sudo mount -a works. I understand it uses all the entries from fstab, but for some reason the same entires on boot don't work.
Perhaps it's because the network is not ready yet at the time of mounting? But in theory parameter _netdev should solve it (a system waits with mounting until a network is ready).
EDIT2: Check my boot process and I have services: -.mount, mount-win10.mount, boot-efi.mount and home.mount, then nfs-client.target, then some other services and NetworkManager.service and networkd-dispatcher.service, network.target and network-online.target much later.
Have a look here: https://svgur.com/s/UVG
Do you think this may be a problem?
EDIT3: found another similar problem here: https://ubuntuforums.org/showthread.php?t=2450781
and tried x-systemd.after=network-online.target parameter, but didn't work.
Also found on other forums that disabling ipv6 may help, but in my case it didn't help too.
EDIT4: seems like it was a network issue (network not ready). Added a Systemd service with a small delay and mount. 3 sec delay was too short. It was reporting as Network not reachable. Sleep 10 does the job. It mounts NFS share as intended.
Last edited by kjur; 4 Days Ago at 11:02 PM.
Bookmarks