Can't export using nfs4

Rick Macklem rmacklem at uoguelph.ca
Sun Jan 24 17:52:25 UTC 2010



On Sun, 24 Jan 2010, Paride Legovini wrote:

>
> Then I have a couple of trivial exports:
>
> # cat /etc/exports
> V4: /usr
> /home
>

The "V4: /usr" only says that "/usr" is the root of the NFSv4 tree and
defines what hosts are allowed to perform NFSv4 state (read lock) related
Ops. (These don't use a file/filehandle, so they aren't directly related
to what file system(s) are exported.)

You still need to export /usr, for example:
V4: /usr
/usr
/home

rick
ps: The rest looked ok, although I'm not sure what showmount will say,
     since it uses the Mount protocol, which NFSv4 doesn't use.
pss: You should have nfsuserd, mountd and nfsd running and both mountd
     and nfsd should have the "-e" option. "ps axl" should show that
     mountd had the "-e" and, if that's the case, nfsd should have gotten
     it too.



More information about the freebsd-fs mailing list