Latest LQ Deal: Linux Power User Bundle
Go Back > Forums > Linux Forums > Linux - Networking
User Name
Linux - Networking This forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.


  Search this Thread
Old 05-30-2007, 03:23 AM   #1
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Rep: Reputation: 49
NFS share is only mounted read-only?

I'm running a CentOS 4 server with a reiserFS partition mounted as /home/public (I've recompiled the kernel to include RFS support and can read/write as normal to that device).

My /etc/exports shows my client computer's subnet ( and the fact that it should be exported '(rw)'. There is nothing in /etc/hosts.deny, and in /etc/hosts.allow portmap is set to accept from the same subnet. I have restarted the nfs and portmap daemons after adjusting all config files. I have included an iptables rule to accept anything coming from the server (based on source IP).

From the client, if I mount the device (, I get a 'cannot read superblock' error after some minutes. If I include the "-o nolock" option, it mounts up just fine. However, the device is mounted as read-only; definitely not the behavior I want nor expect.

Is there some fundamental aspect of NFS I'm missing? I've had wonderful success with these same settings on Slackware in the past, but for some reason I'm hitting a wall I can't see over.

Thanks in advance.
Old 05-30-2007, 06:44 AM   #2
Senior Member
Registered: Apr 2004
Location: Baton Rouge, Louisiana, USA
Distribution: Debian 9 Stretch
Posts: 2,179
Blog Entries: 8

Rep: Reputation: 345Reputation: 345Reputation: 345Reputation: 345
What OS are you using for the client computer? If it's a different distribution, then the problem could be that the user id numbers don't match.

Since you've used nfs somewhat, I probably don't need to tell you that root priviledges are "squashed" by default, so root wouldn't have write permissions to files owned by a different uid.
Old 05-30-2007, 12:58 PM   #3
Senior Member
Registered: Jun 2003
Location: California
Distribution: Slackware
Posts: 1,181

Original Poster
Rep: Reputation: 49
I'm using Slackware 11 for the client computer -- I'm sure the UIDs don't match but the directory I was attempting to write to as a test has 1777 permission. I was just trying to create a 'Transfer' directory in which to put things to be sorted once I had more time.


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
Mounted NFS share service question tito2502 SUSE / openSUSE 1 12-15-2006 12:11 PM
export a mounted Samba share w/NFS nifflerX Linux - Software 3 07-18-2005 11:29 PM
NFS: a mounted to b, b mounted to c, c can't read a? Steve Cronje Linux - Networking 9 10-25-2004 09:51 AM
DocumentRoot on a nfs mounted share pdhami Red Hat 0 05-17-2004 02:17 PM
One Windows share getting mounted read-only - why? rparkes Linux - Networking 5 01-31-2004 02:07 PM > Forums > Linux Forums > Linux - Networking

All times are GMT -5. The time now is 07:06 PM.

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