Storing home folders on an NFS server

4 posts / 0 new
Last post
#1 Sun, 05/24/2009 - 13:47
sauce

Storing home folders on an NFS server

I am running ubuntu-server 8.04 with Virtualmin.

I am trying to store users on an NFS share but I am running into trouble. I couldn't find much documentation on this. Even in "storing users on ldap" guide.

These are the steps I have taken so far: 1) Store users and groups on LDAP 2) Move users directories to NFS share 3) Reconfigure domains to have their home directories on the NFS share 4) Start apache2.

When starting apache, it fails. It says permission denied to all of the home dirs. The NFS share has "no_root_squash," so that isn't the problem. I imagine it's because the SuExec module needs reconfiguring. Any ideas?

Mon, 05/25/2009 - 00:37
Joe
Joe's picture

No, suexec hasn't even come into play in this scenario.

What is the exact error message you get when starting Apache?

--

Check out the forum guidelines!

Mon, 05/25/2009 - 16:46
sauce

Looks like I messed up.

I was on the right track with no_root_squash on the NFS server, but I had it set for the wrong IP. All fixed now. While I am here, anything I should know about storing homes on an NFS share?

Mon, 05/25/2009 - 18:30 (Reply to #3)
Joe
Joe's picture

Nothing comes to mind beyond the usual NFS advice...if you're sharing across multiple machines watch for overlapping UID/GIDs. Quotas are different, I think, and have to be managed differently (I don't know this for sure, but I seem to recall the folks who are using NFS for homes are using a custom before/after command to create and update quotas). It's been discussed in the forums here, including some examples from Jamie, I believe.

--

Check out the forum guidelines!

Topic locked