10.3 NFS Read-only problem

Hello All:

I am trying to set up an NFS server running OpenSuSE 10.3x64. As a test, I’m sharing a local directory called (for example) /bob and trying to mount it on the same machine at the mount point /jim
I did a chmod 777 on both locations, and the mount works, and even though the file system says it is mounted read-write, it is read only (Even when using the -o remount,rw option on the mount command).

My /etc/exports file looks like this:

/bob (fsid=0,rw,sync,insecure,no_root_squash,nohide,no_subtree_check)

After setting the file from Yast, the machine was rebooted to be on the safe side.)

  • What did I do wrong?

Lance

There were several NFS problems in these forums that are solved by using the ‘right’ NFS server.

In YaSt > Software > Software Management and then ‘nfs’ in the search field, you will see 2 nfs servers: nfs-kernel-server and nfs-server. I use nfs-kernel-server. As said above several people got their nfs problems solved by switching to it.

In case you wonder how to do it, the basic aproach is:
YaST > System > System Services (runlevel) for stopping nfs.
YaST > Software > Software Manager (as above) for removing nfs-server and installing nfs-kernel-server.
YaST > System > System Services (runlevel) for starting nfs.

I am a bit in doubt what YaST > Network Services > NFS Server does do here, but you can stop it there also, so better check it is off in Runlevel and in NFS Server before removing.

Hope this helps.

Hello Henk:

That worked locally, but I can’t connect to it from a Windows-based NFS client - it reports something like “No network provider accepted the given network path.” - This is when I browse to the share itself on the network. It did mount from this client with the other NFS, but was read-only. On a Linux-based client, no problems.

Lance

My knowledge is completely Unix/Linux based, so I hope others can help you with the windows part.

May be, leaving out some of the options in /etc/exports (you use quite a lot), will make windows respond. You can always decide later if you realy need those options. This is just what I would try, but I admit that it is a ‘trial and errror’ method and not very sophisticated

When i get windows involved, i usually use Linux samba server and mount it as a drive letter from the windows machine. Windows NFS should work but I dont have or use it at this point.

Samba would work, but I’ve heard the performance is lower than NFS.