I have a file server (hostname 'ubuntu') running Ubuntu Server 8.04, from which I have exported user home directories and some other dirs with NFS. My workstation (hostname 'kontor') is running Ubuntu Desktop 9.04 AMD64, and I have setup automounting of the NFS exports from the server--including user home directories--using autofs/NFS v3 mounts.
This has been working very well, until I upgraded 'kontor' to 9.10 yesterday. Autofs refuses to mount the NFS shares from the server, making it impossible to login with X (since home dirs are not being mounted). Here is what shows up in /var/log/syslog:
I have checked that the /etc/auto.* files are unaltered by the upgrade. Here is my auto.master file:
Oct 31 19:33:39 kontor automount: >> mount.nfs: mount to NFS server 'ubuntu:/exports/home/chrisha' failed: RPC Error: Success
Oct 31 19:33:39 kontor automount: mount(nfs): nfs: mount failure ubuntu:/exports/home/chrisha on /home/chrisha
Oct 31 19:33:39 kontor automount: failed to mount /home/chrisha
And the auto.home file:
I have tried to mount my home dir manually at a different mount point:
chrisha -nosuid,rw,hard,intr,rsize=16384,wsize=16384 ubuntu:/exports/home/chrisha
but this only replicates the error message from /var/log/syslog:
sudo mkdir /root/chrisha
sudo mount ubuntu:/exports/home/chrisha /root/chrisha
Googling the error message leads me to this page, indicating that the error message may be related to a problem with incorrect NFS protocol version. If I try to force NFS v2, the dir mounts:
mount.nfs: mount to NFS server 'ubuntu:/exports/home/chrisha' failed: RPC Error: Success
I have a laptop running Ubuntu Desktop 9.04 i386, running the same automount setup as 'kontor' (except for the home dir, which is stored locally), and on this laptop the automounts are working normally.
sudo mount ubuntu:/exports/home/chrisha /root/chrisha -o nfsvers=2
The versions of nfs-common are as follows:
On the 8.04 server ('ubuntu'): 1.1.2
On the 9.04 laptop: 1.1.4
On the 9.10 workstation: 1.2.0
I guess the workstation had 1.1.4 before the upgrade. The problem in Debian bug
#524760 is related to 1.1.5.
Is it possible that the problem might be related to changes from nfs-common version 1.1.4 -> 1.1.5 ? Would it be possible to downgrade nfs-common in 9.10 to version 1.1.4 to see if that solves the problem?
Suggestions are highly welcome!