[CentOS] simple NFSv4 setup

Tim Nelson tnelson at rockbochs.com
Wed Nov 18 22:05:36 UTC 2009


----- "Joshua Baker-LePain" <jlb17 at duke.edu> wrote:
> I'm trying to setup a simple NFSv4 mount between two x86_64 hosts.  On
> the 
> server, I have this in /etc/exports:
> 
> /export         $CLIENT(ro,fsid=0)
> /export/qb3     $CLIENT(rw,nohide)
> 
> ON $CLIENT, I mount via:
> 
> mount -t nfs4 $SERVER:/qb3 /usr/local/sge62/qb3
> 
> However:
> 
> $ touch /usr/local/sge62/qb3/foo
> touch: cannot touch `/usr/local/sge62/qb3/foo': Read-only file system
> 
> I'd really rather not export the pseudo-root read-write, so how do I
> get 
> this working?  Any hints would be appreciated -- thanks.
> 

Your export:

/export/qb3     $CLIENT(rw,nohide)

And your mount:

mount -t nfs4 $SERVER:/qb3 /usr/local/sge62/qb3

The remote path is wrong. Either that's a typo or could be the cause of your problem?

--Tim


More information about the CentOS mailing list