At 07:52:27 on Tuesday Tuesday 09 March 2010, Bob Smits <bob@rsmits.ca> wrote:
On March 6, 2010 08:11:52 am Stan Goodman wrote:
I have installed NFS on two machines (called "poblano" and "chipotle"), each with both a server and a client. Both machines run oS v11.1 with KDE3.
On poblano, the My Computer disk information list contains the line: "Remote Share (chipotle:/home)". Same on chipotle, with the substitution of the poblano name. On chipotle, when I click on this line to enter the shared directory, Konqueror shows a blank window with "media:/home" in the Location window. A dialog window appears reading "Permissions denied". I do not know what permissions it means. Doing the same on poblano also produces the blank window, but the dialog window is present for only an instant, and disappears.
When I close the window Yast > Network Services > NFS Client in poblano, there is an error message: "Unable to mount the NFS entries from /etc/fstab". The NFS line in fstab is"chipotle /home /nfs/chipotle/home nfs rw,nosuid,rsize=8192,wsize=8192 0 0". This does not happen on chipotle, which contains exactly the same line in fstab except of the name substitution.
I believe the servers are working properly. Here is the result of running <rcpinfor -p> on poblano (running it on chiplotle yields a similar result)". ***** # rpcinfo -p program vers proto port service 100000 4 tcp 111 portmapper 100000 3 tcp 111 portmapper 100000 2 tcp 111 portmapper 100000 4 udp 111 portmapper 100000 3 udp 111 portmapper 100000 2 udp 111 portmapper 100005 1 udp 49986 mountd 100005 1 tcp 51660 mountd 100005 2 udp 49986 mountd 100005 2 tcp 51660 mountd 100005 3 udp 49986 mountd 100005 3 tcp 51660 mountd 100024 1 udp 42007 status 100024 1 tcp 45664 status 100003 2 udp 2049 nfs 100003 3 udp 2049 nfs 100021 1 udp 42904 nlockmgr 100021 3 udp 42904 nlockmgr 100021 4 udp 42904 nlockmgr 100003 2 tcp 2049 nfs 100003 3 tcp 2049 nfs 100021 1 tcp 49781 nlockmgr 100021 3 tcp 49781 nlockmgr 100021 4 tcp 49781 nlockmgr ***** I interpret this as meaning that the servers are in order.
On both machines, the firewall is open for NFS, NFS-Client, and NFS-Server-Service. Both start at boot time.
In poblano, the client configuration points to the chipotle server, /home, /nfs/chipotle/home mounting point, nfs type, with options rw,nosuid,rsize=8192,wsize=8192. NFSv4 is disabled. Same for the other machine, except that the mounting point is /nfs/poblano/home.
On both machines, /etc/exports contains only a single line: "/home 192.168.1.0/24(rw,root_squash,sync,subtree_check,nohide)".
Stan, I have reasonably good results now with using nfs on a gaggle of boxes at home.
On each machine I want to be able to export files from, I go to Yast and ensure the Yast2 -NFS Server is installed. I think it will also install the nfs-kernel-server.
I make sure the server machine has a fixed IP address so it won't change every time it logs on.
BINGO! Reading your note, I saw that I had already attended to all the points you mention, except this one -- as obvious as it is, it hadn't occured to me. Reserving addresses in the router has made NFS work as it should. Many thanks.
Then I go to Konqueror, right click on the folder I want to export, click on properties, then share. Click on configure file sharing, give the root password, then configure the file to share. When you close the config box, there will now be an icon on top of the folder indicating it is shared.
The other way of doing this is to go to Yast, click on network services, nfs- server, and then configure which files you wish to export. Don't forget to set them to rw instead of the default ro if you want to be able to write to nfs files.
On the client box, I go to YAST, network services, nfs-client and give it the IP address of the server. Then I can select which files to import and where to put them.
This works quite well, and I NEVER fuss with the fstab files manually. Ever.
It works in KDE3, KDE4 even when I use one of each. -- Robert Smits Email bob@rsmits.ca
-- Stan Goodman Qiryat Tiv'on Israel -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org For additional commands, e-mail: opensuse+help@opensuse.org