LinuxQuestions.org
LinuxAnswers - the LQ Linux tutorial section.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Server
User Name
Password
Linux - Server This forum is for the discussion of Linux Software used in a server related context.

Notices



Reply
 
Search this Thread
Old 10-08-2007, 04:55 PM   #1
dustymugs
LQ Newbie
 
Registered: Dec 2005
Distribution: slackware, lfs
Posts: 13

Rep: Reputation: 0
NFS share mounts with ro rather than rw for a new client


Howdy all,

I have a new client box (slackware 12 w/ 2.6.22.9) accessing an existing server (slackware 11 w/ 2.6.20.4) with several nfs exports. The server's nfs configs are:

/etc/exports
Code:
/data/cin               192.168.135.0/255.255.255.0(rw,subtree_check)
/data/cout      192.168.135.0/255.255.255.0(rw,subtree_check)
/data/temp      192.168.135.0/255.255.255.0(rw,subtree_check)
/etc/hosts.allow

Code:
portmap: 192.168.135.0/255.255.255.0
lockd: 192.168.135.0/255.255.255.0
mountd: 192.168.135.0/255.255.255.0
rquotad: 192.168.135.0/255.255.255.0
statd: 192.168.135.0/255.255.255.0
/etc/hosts.deny

Code:
portmap:ALL
lockd:ALL
mountd:ALL
rquotad:ALL
statd:ALL
The server's /proc/fs/nfs/exports:

Code:
# Version 1.1
# Path Client(Flags) # IPs
/data/cin       192.168.135.0/255.255.255.0(rw,root_squash,sync,wdelay)
/data/temp      192.168.135.0/255.255.255.0(rw,root_squash,sync,wdelay)
/data/cout      192.168.135.0/255.255.255.0(rw,root_squash,sync,wdelay)
When I mount any of the read/write exports (cin, temp, cout) on the client, the effect is that the mount is read-only. Various outputs from the client are:

mount

Code:
...
data.hades.local:/data/cin on /data/cin type nfs (rw,hard,intr,addr=192.168.135.1)
data.hades.local:/data/cout on /data/cout type nfs (rw,hard,intr,addr=192.168.135.1)
nfsd on /proc/fs/nfs type nfsd (rw)
cat /proc/mounts

Code:
...
data.hades.local:/data/cin /data/cin nfs ro,vers=3,rsize=32768,wsize=32768,hard,intr,proto=udp,timeo=7,retrans=3,sec=sys,addr=data.hades.local 0 0
data.hades.local:/data/cout /data/cout nfs ro,vers=3,rsize=32768,wsize=32768,hard,intr,proto=udp,timeo=7,retrans=3,sec=sys,addr=data.hades.local 0 0
nfsd /proc/fs/nfs nfsd rw 0 0
What doesn't make sense is why the client's mount output shows the nfs mounts as "rw" and the /proc/mounts shows "ro". Any ideas?

I checked on a separate client (slackware 11 w/ 2.4.26) that has been accessing this same server for about a year now and it has no problems writing.

Any help would be great!

Thanks,
dustymugs

PS: And yes, I am aware of /etc/mtab as far as mount is concerned. Repeated tests of mounting show the same ro/rw issue in mount (/etc/mtab) vs /proc/mounts.

Last edited by dustymugs; 10-08-2007 at 05:15 PM.
 
Old 10-08-2007, 06:23 PM   #2
dustymugs
LQ Newbie
 
Registered: Dec 2005
Distribution: slackware, lfs
Posts: 13

Original Poster
Rep: Reputation: 0
NFS version mixing is the problem... I think

removed as my own answer didn't work longer than a reboot.

Last edited by dustymugs; 10-08-2007 at 06:32 PM.
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Noob question: AutoFS and NFS Share Issue: Group mounts gerhardb Linux - Networking 0 03-20-2007 03:09 PM
SMB4K mounts share then disappears vientorio Linux - Newbie 0 12-19-2006 06:26 AM
FC3 nfs share to RH9 client bcal Linux - Networking 5 06-07-2005 10:23 AM
Backgrounding NFS mounts kaplan71 Linux - Networking 1 05-18-2005 05:50 PM
cannot get nfs mounts to work iggymac Linux - Networking 0 08-10-2001 02:58 PM


All times are GMT -5. The time now is 01:12 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration