Problem: Upgrade to 4.3 and issues with NFS shares for Debian Clients

nfs
nfsv3
problem

#1

Problem

After updating from 4.2 to 4.3, users on Debian systems could no longer log in successfully. Login was ok, but the desktop did not appear immediately. It took at least 5 minutes until the users finally had their desktop.

Environment

User home directories were mounted to the Debian clients via NFS (as /home/users/USERNAME).

In the logs of both the server and the Debian client, there were indications that the NFS-lockd was not available. NFS-lockd is superfluous with NFSv4.

The clients had mounted the shares in /etc/fstab with “v3”.

Solution

Option 1

Change version option in the client’s /etc/fstab from “v3” to “v4”.

Option 2

Verify the rpc service is enabled and running on the UCS server as this service is needed for NFS locking.


root@ucs:/var/log# systemctl enable rpc-statd
Created symlink /etc/systemd/system/nfs-server.service.wants/rpc-statd.service → /lib/systemd/system/rpc-statd.service.

root@ucs:/var/log# systemctl start rpc-statd
root@ucs:/var/log# systemctl status rpc-statd
● rpc-statd.service - NFS status monitor for NFSv2/3 locking.

   Loaded: loaded (/lib/systemd/system/rpc-statd.service; enabled; vendor preset: enabled)

   Active: active (running) since Thu 2019-04-11 11:06:00 CEST; 2s ago

  Process: 24809 ExecStart=/sbin/rpc.statd --no-notify $STATDARGS (code=exited, status=0/SUCCESS)

 Main PID: 24810 (rpc.statd)
[...]```