Hi, I wish to inform you that I finally succeeded to solve all my problems with NFS. I think that the problem was due to my hosts.allow having only a line for rpc.mountd. I added also the other services (portmap, rpc.lockd etc) and finally evrything worked. I found a very good HOWTO that gives step by step advices on the setup. It can be found at: http://nfs.sourceforge.net/nfs-howto/ It provides also a good description of the services required on the server and those required on the client. Thank you Mario Pesce
Date: Sat, 20 Sep 2003 18:40:49 +0100 To: suse-linux-e@suse.com From: Mario Pesce <mario@datamission.co.uk> Subject: Re: [SLE] NFS Help
Hi,
I made again some progress because of the list help. The problem was indeed due to the firewall.
Now the nfs mount normally works, but I have still a problem when I try to mount a floppy.
I tried the command:
mount -t nfs server1:/media/floppy /mnt/nfs
It works correctly if the floppy device is not mounted on the server machine, but, when the device is mounted it gives me the following messages in /var/log/messages:
rpc.mountd authenticated mount request for client1:687 for /media/floppy rpc.mountd: getfh failed operation not permitted
The mount command on the client machine terminates with a message of failure because of Permission denied.
I tried the mount command directly on the server by using the localhost instead of server1 and it works without problem.
Please suggest probable causes of the problem.
Thank you
Mario Pesce
X-Original-To: mario@datamission.co.uk Delivered-To: b200964@mail6.easyspace.com From: Örn Hansen <orn.hansen@swipnet.se> Organization: N/A To: Mario Pesce <mario@datamission.co.uk> Subject: Re: [SLE] NFS Help Date: Fri, 19 Sep 2003 19:25:49 +0200 User-Agent: KMail/1.5.3
fredag 19 september 2003 17:55 skrev Mario Pesce:
I have tried to use the following command:
mount -t nfs 198.162.1.2:/media/floppy /mnt/nfs
The command works for a while and then terminates with the message:
mount: RPC: times out
I used ping to check that the two machines were communicating and ping worked without problems
I checked the messages in /var/log/messages and I found the following message on the server machine:
rpc mountd: authenticated mount request for 198.162.1.1:729 for /media/floppy
The Firewall on the remote machine that is trying to do the mount, is blocking the incoming NFS service.
-- Check the headers for your unsubscription address For additional commands send e-mail to suse-linux-e-help@suse.com Also check the archives at http://lists.suse.com Please read the FAQs: suse-linux-e-faq@suse.com
participants (1)
-
Mario Pesce