Wrote too soon. While trying to solve a different problem I went through an update and reboot on my laptop and now my carefully installed NFS connection has failed on the client (Laptop here).
What I am finding is that on booting the NFS doesn’t work. I have to use yast to create the nfs share again, although it is shown in yast but I have to delete and rebuild. Once done the nfs connection has been completed the connection works. However, following on a restart of the laptop;
The shutdown is delayed by over a minute due to the NFS not stopping.
On restart I get a red warning that the NFS does not start. This is before I have logged in. Once logged in the NFS is not connected.
So I am back to the beginning. Here are some of the things I have tried:-
From the laptop:-
alastair@IBMW530:~> grep nfs /etc/fstab
192.168.169.134:/multimedia /home/alastair/NFS_Multimedia_NFS **nfs****nfs**vers=4.2 0
0
alastair@IBMW530:~>
From the server:-
alastair@IBMW530:~> ssh alastair@192.168.169.134
(alastair@192.168.169.134) Password:
Last failed login: Fri Jun 24 17:36:06 BST 2022 from 192.168.169.223 on ssh:notty
There were 2 failed login attempts since the last successful login.
Last login: Mon Jun 20 20:23:23 2022 from 192.168.169.223
Have a lot of fun...
alastair@ibmserv2:~> ip address show
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1000
link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
inet 127.0.0.1/8 scope host lo
valid_lft forever preferred_lft forever
inet6 ::1/128 scope host
valid_lft forever preferred_lft forever
2: eth0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
link/ether 34:40:b5:93:38:d0 brd ff:ff:ff:ff:ff:ff
altname eno1
altname enp11s0f0
inet 192.168.169.134/25 brd 192.168.169.255 scope global eth0
valid_lft forever preferred_lft forever
inet6 fe80::3640:b5ff:fe93:38d0/64 scope link
valid_lft forever preferred_lft forever
3: eth1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq master br0 state UP group default qlen 1000
link/ether 34:40:b5:93:38:d1 brd ff:ff:ff:ff:ff:ff
altname eno2
altname enp11s0f1
4: usb0: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
link/ether 36:40:b5:93:38:d5 brd ff:ff:ff:ff:ff:ff
altname enp0s26f1u2
5: br0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
link/ether 34:40:b5:93:38:d1 brd ff:ff:ff:ff:ff:ff
inet6 fe80::3640:b5ff:fe93:38d1/64 scope link
valid_lft forever preferred_lft forever
alastair@ibmserv2:~> ip route show
default via 192.168.169.129 dev eth0
192.168.169.128/25 dev eth0 proto kernel scope link src 192.168.169.134
alastair@ibmserv2:~> ip -6 route show
::1 dev lo proto kernel metric 256 pref medium
fe80::/64 dev eth0 proto kernel metric 256 pref medium
fe80::/64 dev br0 proto kernel metric 256 pref medium
alastair@ibmserv2:~> cat /etc/exports
/multimedia/multimedia *(rw,root_squash,sync,no_subtree_check)
alastair@ibmserv2:~>
and
alastair@ibmserv2:~> sudo systemctl status nfs-*
[sudo] password for root:
**●** nfs-server.service - NFS server and services
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/nfs-server.service.d
└─nfsserver.conf, options.conf
/run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: **active (exited)** since Sun 2022-06-26 10:56:15 BST; 3h 20min ago
Process: 2464 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Process: 2827 ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 2827 (code=exited, status=0/SUCCESS)
Jun 26 10:56:14 ibmserv2 systemd[1]: Starting NFS server and services...
Jun 26 10:56:15 ibmserv2 systemd[1]: Finished NFS server and services.
**●** nfs-idmapd.service - NFSv4 ID-name mapping service
Loaded: loaded (/usr/lib/systemd/system/nfs-idmapd.service; static)
Active: **active (running)** since Sun 2022-06-26 10:56:03 BST; 3h 20min ago
Main PID: 1085 (rpc.idmapd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nfs-idmapd.service
└─1085 /usr/sbin/rpc.idmapd
Loaded: loaded (/usr/lib/systemd/system/nfs-server.service; enabled; vendor preset: disabled)
Drop-In: /usr/lib/systemd/system/nfs-server.service.d
└─nfsserver.conf, options.conf
/run/systemd/generator/nfs-server.service.d
└─order-with-mounts.conf
Active: **active (exited)** since Sun 2022-06-26 10:56:15 BST; 3h 20min ago
Process: 2464 ExecStartPre=/usr/sbin/exportfs -r (code=exited, status=0/SUCCESS)
Process: 2827 ExecStart=/usr/sbin/rpc.nfsd $NFSD_OPTIONS (code=exited, status=0/SUCCESS)
Main PID: 2827 (code=exited, status=0/SUCCESS)
Jun 26 10:56:14 ibmserv2 systemd[1]: Starting NFS server and services...
Jun 26 10:56:15 ibmserv2 systemd[1]: Finished NFS server and services.
**●** nfs-idmapd.service - NFSv4 ID-name mapping service
Loaded: loaded (/usr/lib/systemd/system/nfs-idmapd.service; static)
Active: **active (running)** since Sun 2022-06-26 10:56:03 BST; 3h 20min ago
Main PID: 1085 (rpc.idmapd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nfs-idmapd.service
└─1085 /usr/sbin/rpc.idmapd
Jun 26 10:56:03 ibmserv2 systemd[1]: Starting NFSv4 ID-name mapping service...
Jun 26 10:56:03 ibmserv2 systemd[1]: Started NFSv4 ID-name mapping service.
**●** nfs-mountd.service - NFS Mount Daemon
Loaded: loaded (/usr/lib/systemd/system/nfs-mountd.service; static)
Drop-In: /usr/lib/systemd/system/nfs-mountd.service.d
└─options.conf
Active: **active (running)** since Sun 2022-06-26 10:56:14 BST; 3h 20min ago
Main PID: 2437 (rpc.mountd)
Tasks: 1 (limit: 4915)
CGroup: /system.slice/nfs-mountd.service
└─2437 /usr/sbin/rpc.mountd
Jun 26 10:56:14 ibmserv2 systemd[1]: Starting NFS Mount Daemon...
Jun 26 10:56:14 ibmserv2 rpc.mountd[2437]: **Version 2.1.1 starting**
Jun 26 10:56:14 ibmserv2 systemd[1]: Started NFS Mount Daemon.
lines 23-38/38 (END)
I am lost again. Where am I going wrong?