[NFS] simple NFSv4 setup

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



(I've tried this on both the CentOS and RHEL5 lists, so apologies if 
you've gotten this multiple times.)

I'm trying to setup a simple NFSv4 mount between two CentOS 5.4 x86_64 
hosts. On the server, I have this in /etc/exports:

/export         $CLIENT(ro,fsid=0)
/export/qb3     $CLIENT(rw,nohide)

/export is its own filesystem.  This results in the following
'exportfs -v' output:

/export/qb3     $CLIENT(rw,wdelay,nohide,root_squash,no_subtree_check,anonuid=65534,anongid=65534)
/export         $CLIENT(ro,wdelay,root_squash,no_subtree_check,fsid=0,anonuid=65534,anongid=65534)

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?  I've tried putting the crossmnt option on /export (with and 
without using nohide on /export/qb3), and that doesn't help.  Any hints as 
to what I'm doing wrong would be appreciated.  Thanks.

-- 
Joshua Baker-LePain
QB3 Shared Cluster Sysadmin
UCSF

------------------------------------------------------------------------------
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
_______________________________________________
NFS maillist  -  NFS@xxxxxxxxxxxxxxxxxxxxx
https://lists.sourceforge.net/lists/listinfo/nfs
_______________________________________________
Please note that nfs@xxxxxxxxxxxxxxxxxxxxx is being discontinued.
Please subscribe to linux-nfs@xxxxxxxxxxxxxxx instead.
    http://vger.kernel.org/vger-lists.html#linux-nfs

--
To unsubscribe from this list: send the line "unsubscribe linux-nfs" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html

[Index of Archives]     [Linux Filesystem Development]     [Linux USB Development]     [Linux Media Development]     [Video for Linux]     [Linux NILFS]     [Linux Audio Users]     [Yosemite Info]     [Linux SCSI]

  Powered by Linux