[OpenAFS] Re: NFS export oddness

Andrew Deason adeason@sinenomine.net
Fri, 2 Nov 2012 09:54:39 -0500


On Thu, 1 Nov 2012 15:59:13 -0700
Timothy Balcer <timothy@telmate.com> wrote:

> unfortunately, when I try to export the /afs volume, I get this:
> 
> exportfs: /afs does not support NFS export
> 
> and when I do the explicit fs exportafs nfs command, I get this:
> 
> Sorry, the nfs-exporter type is currently not supported on this AFS
> client

The NFS xlator is not built by default on Linux. The interfaces we need
to use to enable that functionality are no longer available to us as of
kernel 2.6.29 (according to Marc :). If you want to try to build it on a
kernel before then, you can edit src/config/param.linux26.h, remove the
lines that define AFS_NONFSTRANS, and try to build it again. It may or
may not work. (If you really want the kernel xlator to work, you can
also try older OpenAFS client versions if that doesn't work.)

Your other options are to use the translator on a commercial unix
instead (it's known to work on Solaris), or try a userspace NFS server,
as Christof mentioned. We would like to sometime get a userspace NFS
translator that has the afs-specific bits, but nobody seems to want it
enough for that to actually happen.

-- 
Andrew Deason
adeason@sinenomine.net