NFSv4 client/server in VE - any updates in past few months? [message #38549] |
Wed, 30 December 2009 05:05 ![Go to next message Go to next message](/theme/ovz3/images/down.png) |
erikl
Messages: 3 Registered: December 2009
|
Junior Member |
|
|
I've read the wiki pages and I've searched the forums and wasn't able to find anything more recent than January 2009 regarding NFSv4 support.
I tried installing nfs-kernel-server in a Debian VE and it appears to not function. There doesn't appear to be any other Debian package which implements a NFSv4 server. unfs3 and nfs-user-server do not.
Our requirements are kerberized NFS running on Debian, where both the clients and servers must be Debian. Unfortunately, I was unable to create any such working configuration in OpenVZ thus far.
Is there a way to at least have NFSv4 client in a VE? Is it possible to have server as well?
I'd be happy to test, if there is something to test.
Thanks
|
|
|
|
|
|
Re: NFSv4 client/server in VE - any updates in past few months? [message #38653 is a reply to message #38652] |
Tue, 12 January 2010 03:06 ![Go to previous message Go to previous message](/theme/ovz3/images/up.png) |
erikl
Messages: 3 Registered: December 2009
|
Junior Member |
|
|
Quote: |
Well, this seems to be the backside of Ganesha. There's no users' mailing list and the devel mailing list apparently did not see a single post in some years. Still there is active development, at least.
My focus is currently on a FAX solution, a tiny CRM system, LDAP and Kerberos failover and if Squeeze hopefully still takes its time then, I'll be back to Ganesha. Unless the performance issues of unfs3 will push it up the agenda earlier. Sad
So, I'd suggest to ask 'Philippe DENIEL', he's probably not that busy with user requests for now. And ... I'd love if you could report your experiences here.
|
Indeed...it's in a pretty scary state right now, but I guess it's very decent for a pre-v1.0 release, especially considering that there are no alternatives.
So, several hours of painful debugging later, I got it to mount after compiling it from source. The Debian packages were completely broken - the init scripts don't work, the docs are wrong, and based on the debug logs and tcpdump output, I suspected that the binaries weren't complied with everything required to make NFSv4+Kerberos work.
Though I was able to mount the FS, now the id mappings aren't working, so I can't do anything after mounting. Server has nothing helpful, whereas client has:
"rpc.idmapd[1778]: nss_getpwnam: name 'myusername@localdomain' does not map into domain 'ourdomainname'"
Everything shows up as nobody/nogroup. It also hangs for a while when doing ls - until those messages appear in the log. There is one message for each unresolved user in the directory tree (I have three directories, owned by three different users, I get three different messages in the log, similar to the above message - so this is like client attempting to resolve the owner names on the server into ids, except this "localdomain" thing comes from somewhere).
Ganesha claims to use libnfsidmap, but the source code I've downloaded has nothing to that effect and trying to use the config option as documented at http://nfs-ganesha.sourceforge.net/index.php?page=nfsidmap results in an unparseable config file with ganesha refusing to start. It doesn't even ./configure with the documented --enable-nfsidmap option - says unrecognized option.
|
|
|