From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: <199708151451.AA13958@maxwell.meridiantc.com> Date: Fri, 15 Aug 1997 09:51:25 -0500 (CDT) From: Steve Borho Subject: Re: Mysterious NFS behaviour In-Reply-To: > > Hi: > > We just had a version of Linux 2.1.49 running on a alpha 500Mhz machine > with a pc164 motherboard. And we were trying to mount a disk of a DEC > UNIX 4.0 host via NFS, we edited the /etc/exports file and tried to mount > the disk onto the Linux-alpha machine. The DEC UNIX machine is a > NFS server for several other DEC machines, and we never have any > problems setting up the NFS before. > > It didn't work, then I found out and convinced our system administrator > to issue 'killall -HUP /usr/sbin/rpc.mountd' and > 'killall -HUP /usr/sbin/rpc.nfsd' on the server machine. Acording > to our system administrator, he never did the killall when > he setup the server for other machines. Then, unfortunately our > session was closed by the server immediately after the first command > was issued and we cannot even telnet to the host machine anymore. The DEC rpm.mountd daemon probably re-reads the /etc/exports file automagically when it needs to, and doesn't respond well to being SIGHUP'ed (just dies). You probably could have just restarted the rpc.mountd process and not have to reboot. > Finally we have to push the halt button ('shutdown -r now' just cannot > boot the machine) in order to bring it back. We thought that the mountd > and nfsd will reload the /etc/exports after reboot, then we try to mount > again, and failed. The error message is: "mount ... failed, > reason given by server: Permissison denied". There are many reasons that can cause this message. In my experience, the mount command will give you a bogus error message at least 50% of the time which will lead you on a wild goose chase for the real problem. If you haven't already, add a line in the Linux box's /etc/fstab for the mount point and include the parameters: soft,intr,rsize=8096,wsize=8096,exec,rw (the exec and rw are optional) Make sure the DEC box is listed in /etc/hosts, and make sure you're the root user when you issue the mount command. > Then, we try to mount > the disk of Linux-Alpha machine onto the DEC UNIX, this time we > succeed. We just feel the whole thing is rather mysterious, why the > NFS mount can success in one direction but fail in another? Also > it seems to be no reason why the command 'killall -HUP > /usr/sbin/rpc.mountd' cause a lot of trouble on the DEC UNIX machine. > From the error message, I think that the mountd and nfsd on the > server machine don't know the change of the /etc/exports file. And > rebooting didn't do anything good either. The problem is likely on the Linux side. Steve Borho Voice: 314-532-7708 ext. 241 Network Engineer FAX: 314-532-3242 Meridian Technology Corporation 11 McBride Corporate Center Drive Suite 250 Chesterfield, Missouri 63005-1407 #include -- To unsubscribe: send e-mail to axp-list-request@redhat.com with 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com