Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 24 Jan 2010 13:03:01 -0500 (EST)
From:      Rick Macklem <rmacklem@uoguelph.ca>
To:        Paride Legovini <pl@ninthfloor.org>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Can't export using nfs4
Message-ID:  <Pine.GSO.4.63.1001241257140.22058@muncher.cs.uoguelph.ca>
In-Reply-To: <20100124021318.GA1881@ninthfloor.org>
References:  <20100124021318.GA1881@ninthfloor.org>

next in thread | previous in thread | raw e-mail | index | archive | help


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.




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.GSO.4.63.1001241257140.22058>