I cannot work out why the autofs/automount services will not load the exported shares from my Linux Server. I would really appreciate some help with this as it is all consuming.
HISTORY: I have a small home LAN with a main server connected to the router via ethernet. It has NFS server loaded and configured and i have been connecting to it for some years via an old (+10yrs) laptop that is also connected to the LAN via ethernet (wifi card now defunct). All good!
CURRENT: I have acquired another more modern laptop (DELL) and have loaded OS15.2 on it and am looking to configure it the same as the ‘old laptop’ so that I can replace it. However the DELL does NOT have a ethernet port so it is always connected via WiFi.
DELL CONFIG:
firewall
inactive
auto.master
/nfsmounts /etc/auto.nfs --timeout=10
auto.nfs
fs-SG600 -fstype=nfs,rw,nosuid,soft 192.168.19.101:/media/SG600
file permissions
-rw-r--r-- 1 root root 14356 May 17 2020 /etc/autofs.conf
-rw------- 1 root root 232 May 17 2020 /etc/autofs_ldap_auth.conf
-rw-r--r-- 1 root root 38 Feb 23 05:31 /etc/auto.master
-rw-r--r-- 1 root root 166 Feb 23 06:55 /etc/auto.nfs
autofs status
● autofs.service - Automounts filesystems on demand
Loaded: loaded (/usr/lib/systemd/system/autofs.service; enabled; vendor preset: disabled)
Active: active (running) since Tue 2021-02-23 06:57:27 AEDT; 7min ago
Docs: man:automount(8)
man:autofs(5)
Process: 2415 ExecStart=/usr/sbin/automount $AUTOFS_OPTIONS -p /var/run/automount.pid (code=exited, status=0/SUCCESS)
Main PID: 2417 (automount)
Tasks: 4
CGroup: /system.slice/autofs.service
└─2417 /usr/sbin/automount -p /var/run/automount.pid
Feb 23 06:57:27 localhost.localdomain systemd[1]: Starting Automounts filesystems on demand...
Feb 23 06:57:27 localhost.localdomain systemd[1]: Started Automounts filesystems on demand.
mount point listing
ls -al /nfsmounts
total 4
drwxr-xr-x 2 root root 0 Feb 23 11:45 .
drwxr-xr-x 23 root root 4096 Feb 22 19:06 ..
fs-SG600 directory not created and exported listing not displayed!
TROUBLESHOOTING:
- Stopped the autofs service
sudo systemctl stop autofs
- In one terminal manually run automount
sudo automount -f -v
Starting automounter version 5.1.3, master map auto.master
using kernel protocol version 5.05
mounted indirect on /nfsmounts with timeout 10, freq 3 seconds
- In a second terminal ask for a directory listing of /nfsmounts.
No directory created and no listing is shown!
There is no further information provided in the first terminal that is running automount to assist debugging.
Revisiting the ‘old laptop’ and the exported directories and their listings appear without issue.
And that is where i am stuck.
It must be something very simple but i am unable to discover it!!
Can somebody help me with this please?
Thanks.