Is it possible to mount one directory in a path locally, and the rest over NFS?
by bbarker88 from LinuxQuestions.org on (#51WJ3)
I have a shared /home directory on one of my servers that I am having some trouble with getting to play nicely with a web app. When I sign in via the web app it is supposed to land me in /home and it does, it just takes forever to load.
I have tested this out and for some reason if I completely get rid of the NFS mount and set up a local /home directory, the web app works flawlessly. So it must be a problem with NFS that I cannot figure out.
I sill want to use the shared NFS mount though, and the web app creates a folder for itself under /home/user/webapp once the user authenticates. So here is an example...
I want all this as NFS:
/home/user/Documents/etc
/home/user/.ssh
/home/user/Downloads
/home/user/Desktop
But I would like this directory "living" on the local server not over NFS:
/home/user/webapp
Is that possible?


I have tested this out and for some reason if I completely get rid of the NFS mount and set up a local /home directory, the web app works flawlessly. So it must be a problem with NFS that I cannot figure out.
I sill want to use the shared NFS mount though, and the web app creates a folder for itself under /home/user/webapp once the user authenticates. So here is an example...
I want all this as NFS:
/home/user/Documents/etc
/home/user/.ssh
/home/user/Downloads
/home/user/Desktop
But I would like this directory "living" on the local server not over NFS:
/home/user/webapp
Is that possible?