2009-11-26

nested nfs mounts on Linux

I upgraded my Ubuntu from Jaunty Jackelope to Karmic Koala. Since then, my NFS mounted home directory is not mounted after boot. The Ubuntu splash screen even says so and offers me to press ESC and help myself in a shell.

I can manually mount my file systems and continue. However, at the next boot it's the same again.

This is how my /etc/fstab looked:
...
server.mycompany.ch:/home          /home          nfs  defaults,udp 0 0
server.mycompany.ch:/home/users    /home/users    nfs  defaults,udp 0 0
server.mycompany.ch:/usr/export    /usr/export    nfs  defaults,udp 0 0
...

My home directory is in /home/users. Maybe it does not like the nested NFS mounts any more (is used to work for many years, though).

Removing the line with "/home" fixed the problem indeed!
...
server.mycompany.ch:/home/users    /home/users    nfs  defaults,udp 0 0
server.mycompany.ch:/usr/export    /usr/export    nfs  defaults,udp 0 0
...

I did not investigate what change in Ubuntu/Linux causes this change of behavior. However, the solution is simple enough so that I thought I want to share it with my blog readers. Enjoy.

No comments:

Post a Comment