* Re: Mysterious NFS behaviour
[not found] <Pine.OSF.3.95.970814170518.1119A-100000@uwscat.radiology.wisc.edu>
@ 1997-08-15 14:42 ` Ben Scott
1997-08-15 14:51 ` Steve Borho
1 sibling, 0 replies; 5+ messages in thread
From: Ben Scott @ 1997-08-15 14:42 UTC (permalink / raw)
On Thu, 14 Aug 1997, Yadong Li wrote:
> 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.
> 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.
Digital UNIX does not use a HUP signal to tell the NFS server daemons to
reread /etc/exports, instead you use the 'showmount -e' command to do that.
Sending a kill signal to the daemons did just that -- kill them. You in
essence yanked the rug out from under part of the NFS susbsystem. It's no
wonder you had problems after that. :)
----
Ben Scott <ben.scott@unh.edu>
Technical support staff
Space Science Center
University of New Hampshire
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread* Re: Mysterious NFS behaviour
[not found] <Pine.OSF.3.95.970814170518.1119A-100000@uwscat.radiology.wisc.edu>
1997-08-15 14:42 ` Mysterious NFS behaviour Ben Scott
@ 1997-08-15 14:51 ` Steve Borho
1 sibling, 0 replies; 5+ messages in thread
From: Steve Borho @ 1997-08-15 14:51 UTC (permalink / raw)
>
> 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 <http://www.meridian.com>
11 McBride Corporate Center Drive Suite 250
Chesterfield, Missouri 63005-1407
#include <std/disclaimer.h>
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
[parent not found: <Pine.SGI.3.95.970815103717.9190E-100000@leonardo.sr.unh.edu>]
* Re: Mysterious NFS behaviour
[not found] <Pine.SGI.3.95.970815103717.9190E-100000@leonardo.sr.unh.edu>
@ 1997-08-15 22:34 ` Steven N. Hirsch
0 siblings, 0 replies; 5+ messages in thread
From: Steven N. Hirsch @ 1997-08-15 22:34 UTC (permalink / raw)
On Fri, 15 Aug 1997, Ben Scott wrote:
> On Thu, 14 Aug 1997, Yadong Li wrote:
> > 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.
>
> > 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.
>
> Digital UNIX does not use a HUP signal to tell the NFS server daemons to
> reread /etc/exports, instead you use the 'showmount -e' command to do that.
> Sending a kill signal to the daemons did just that -- kill them. You in
> essence yanked the rug out from under part of the NFS susbsystem. It's no
> wonder you had problems after that. :)
Ben,
I hate to differ with you, but that's not correct. I administer a cluster
of Alphas running DUX 4.0, and routinely kill -HUP the mountd to get it
to re-read exports - never had a problem.
Yes, the 'showmount -e' command will do this with less bother, but I can
never remember it <g>.
Steve
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
* Mysterious NFS behaviour
@ 1997-08-14 22:33 Yadong Li
0 siblings, 0 replies; 5+ messages in thread
From: Yadong Li @ 1997-08-14 22:33 UTC (permalink / raw)
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.
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". 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.
^ permalink raw reply [flat|nested] 5+ messages in thread* Mysterious NFS behaviour
@ 1997-08-14 22:33 Yadong Li
0 siblings, 0 replies; 5+ messages in thread
From: Yadong Li @ 1997-08-14 22:33 UTC (permalink / raw)
Any suggestions will be appreciated.
Thanks a lot,
Yadong
--
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
^ permalink raw reply [flat|nested] 5+ messages in thread
end of thread, other threads:[~1997-08-15 22:34 UTC | newest]
Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
[not found] <Pine.OSF.3.95.970814170518.1119A-100000@uwscat.radiology.wisc.edu>
1997-08-15 14:42 ` Mysterious NFS behaviour Ben Scott
1997-08-15 14:51 ` Steve Borho
[not found] <Pine.SGI.3.95.970815103717.9190E-100000@leonardo.sr.unh.edu>
1997-08-15 22:34 ` Steven N. Hirsch
1997-08-14 22:33 Yadong Li
-- strict thread matches above, loose matches on Subject: below --
1997-08-14 22:33 Yadong Li
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox