When you have stale NFS mounts in fstab, or no connection to NFS server, even booting will take forever. Just a week ago I have disabled NFS from fstab and set it via autofs.
The trick I used to be able to see autofs mounts from krusader (ls and others open them without a problem but file managers can not see them) is to mount them all in some other folder then desired one, and then (while mounted via ls) create a softlink (symlink) in the location where you want it to be. That way you can double click on the softlink and have autofs mounted NFS folders from file manager.
Procedure:
My server will be caled vmaster, with export named "extra". Example uses nfs4 because of the firewall friendly caracteristics. Mount point will be /vmaster/extra.
1. I created folder /autofsmounts and within that folder a subfolder called "vmaster".
2. I added following line in /etc/auto.master:
Code:
/autofsmounts/vmaster /etc/auto.vmaster --timeout=90
3. I created a file called /etc/auto.vmaster with following content:
Code:
#
# $Id: auto.misc,v 1.2 2003/09/29 08:22:35 raven Exp $
#
# This is an automounter map and it has the following format
# key [ -mount-options-separated-by-comma ] location
# Details may be found in the autofs(5) manpage
extra -fstype=nfs4,rw,proto=tcp vmaster:/extra
4.Then I executed following command from terminal:
Code:
ls /autofsmounts/vmaster/extra
.
5. After that, I created "/vmaster" folder and created symlink of /autofsmounts/vmaster/extra folder in "/vmaster" folder (/vmaster/extra).
Now I have NFS mount point visible all the time from file managers like krusader, but mounted only when they are needed. On boot this mount is not checked hence there is no freezing if mount is unaccessible.