Linux - NetworkingThis forum is for any issue related to networks or networking.
Routing, network cards, OSI, etc. Anything is fair game.
Notices
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Get a virtual cloud desktop with the Linux distro that you want in less than five minutes with Shells! With over 10 pre-installed distros to choose from, the worry-free installation life is here! Whether you are a digital nomad or just looking for flexibility, Shells can put your Linux machine on the device that you want to use.
Exclusive for LQ members, get up to 45% off per month. Click here for more info.
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 (192.168.1.0/255.255.255.0) 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 (192.168.1.103:/home/public), 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.
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.
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.
LinuxQuestions.org is looking for people interested in writing
Editorials, Articles, Reviews, and more. If you'd like to contribute
content, let us know.