After a lot of testing, re-reading of web pages I have managed to get the nas to auto-mount on boot up. I found this page had the right info to get a working configuration:

https://www.linuxtechi.com/automount-nfs-share-in-linux-using-autofs/

Particularly sections 2 & 3

Hope it helps somebody

Tim H

On 11/12/2024 17:55, Tim wrote:
Evening all

I have a small Nas which used to automount with out issue in Linux Mint, but since changing back to Xubuntu 24.10 auto mount does not happen. I have a USB drive which is mounted automatically via fstab entry without issue.

If I do "sudo mount -a" the Nas will mount.

This is the fstab line from Linux Mint which worked perfectly but not in Xubuntu

192.168.18.150:volume1/Data    /media/nas    nfs x-systemd.automount    0    0

I have now changed it to

192.168.18.150:volume1/Data    /media/nas    nfs    defaults 0 0

(I have tried other variation of fstab entry, changing the details after "nfs", but it make no difference)

I have installed nfs-common, but still no automount, I dont receive any error message, I have looked through /var/log/dmesg & syslog but can not see any failed mounting reported on bootup.


Tim H


--
 Next meeting: Online, Jitsi, Tuesday, 2025-01-07 20:00
 Check to whom you are replying
 Meetings, mailing list, IRC, ...  https://dorset.lug.org.uk
 New thread, don't hijack:  mailto:dorset@mailman.lug.org.uk

Reply via email to