Usenet comp.unix.osf.osf1 (1992-2004)
 help / color / mirror / Atom feed
* NFS server not responding ...
@ 1999-08-17  4:00 Mark Koennecke
  1999-08-17  4:00 ` David T. Blake
                   ` (3 more replies)
  0 siblings, 4 replies; 6+ messages in thread
From: Mark Koennecke @ 1999-08-17  4:00 UTC (permalink / raw)


High,

I have a little  problem here with NFS. All our DU4.0D machines mount a
filesystem via NFS from a
 a central server. This filesystem holds some generally useful software
as for instance the GNU stuff.
Sensible thing to do. The path to that filesystem is in everyones PATH.
All is fine as long as the server
is up. As soon as it is down any attempt to run a command, any attempt
to login will yield endless
messages of the type NFS server not responding ..... This renders the
machine almost unusable though
otherwise it would run just fine just without the extra software.  In
that stage I cannot unmount the NFS
filesystem either as it is says it is busy.  The NFS option soft is
already active.

Has anybody got a clue how to resolve this? The ideal behaviour would be
when the machine just
complains  a few times when the NFS filesystem is accessed but continue
working otherwise.


                                                                Thanks
for any answer


Mark Koennecke




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NFS server not responding ...
  1999-08-17  4:00 NFS server not responding Mark Koennecke
@ 1999-08-17  4:00 ` David T. Blake
  1999-08-18  4:00 ` Bob Harris
                   ` (2 subsequent siblings)
  3 siblings, 0 replies; 6+ messages in thread
From: David T. Blake @ 1999-08-17  4:00 UTC (permalink / raw)


Mark Koennecke <Mark.Koennecke@psi.ch> wrote:
> I have a little problem here with NFS. All our DU4.0D machines
> mount a filesystem via NFS from a a central server. This
> filesystem holds some generally useful software as for instance
> the GNU stuff. Sensible thing to do. The path to that filesystem
> is in everyones PATH. All is fine as long as the server is up. As
> soon as it is down any attempt to run a command, any attempt to
> login will yield endless messages of the type NFS server not
> responding ..... This renders the machine almost unusable though
> otherwise it would run just fine just without the extra software.
> In that stage I cannot unmount the NFS filesystem either as it is
> says it is busy. The NFS option soft is already active.

Have you tried placing the software in the automounter instead ?
That way you won't hang until you actually try to access it.



Something like CODA, once fully mature, is the perfect answer.
Unfortunately, I don't think it is there yet.

-- 
Dave Blake
dblake@phy.ucsf.edu



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NFS server not responding ...
  1999-08-17  4:00 NFS server not responding Mark Koennecke
  1999-08-17  4:00 ` David T. Blake
@ 1999-08-18  4:00 ` Bob Harris
  1999-08-19  4:00   ` Mark Koennecke
  1999-08-23  4:00 ` Eric Werme - replace nospam with werme
  1999-08-25  4:00 ` Sua
  3 siblings, 1 reply; 6+ messages in thread
From: Bob Harris @ 1999-08-18  4:00 UTC (permalink / raw)
  To: Mark Koennecke

[[ This message was both posted and mailed: see
   the "To," "Cc," and "Newsgroups" headers for details. ]]

In article <37B9640E.B2562C86@psi.ch>, Mark Koennecke
<Mark.Koennecke@psi.ch> wrote:

>I have a little  problem here with NFS. All our DU4.0D machines mount a
>filesystem via NFS from a
> a central server. This filesystem holds some generally useful software
>as for instance the GNU stuff.
>Sensible thing to do. The path to that filesystem is in everyones PATH.
>All is fine as long as the server
>is up. As soon as it is down any attempt to run a command, any attempt
>to login will yield endless
>messages of the type NFS server not responding ..... This renders the
>machine almost unusable though
>otherwise it would run just fine just without the extra software.  In
>that stage I cannot unmount the NFS
>filesystem either as it is says it is busy.  The NFS option soft is
>already active.
>
>Has anybody got a clue how to resolve this? The ideal behaviour would be
>when the machine just
>complains  a few times when the NFS filesystem is accessed but continue
>working otherwise.

I read the mount man page and it looks like the 'soft' option may be
what you want:

mount -o soft

        soft - returns an error if the server does not respond

/etc/fstab

        node:/path  /mount_point  nfs ro,bg,soft 0 0

However, I've never played with it, so I don't know if it will do what
you want or not.



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NFS server not responding ...
  1999-08-18  4:00 ` Bob Harris
@ 1999-08-19  4:00   ` Mark Koennecke
  0 siblings, 0 replies; 6+ messages in thread
From: Mark Koennecke @ 1999-08-19  4:00 UTC (permalink / raw)


Bob Harris wrote:

> [[ This message was both posted and mailed: see
>    the "To," "Cc," and "Newsgroups" headers for details. ]]
>
> In article <37B9640E.B2562C86@psi.ch>, Mark Koennecke
> <Mark.Koennecke@psi.ch> wrote:
>
> >I have a little  problem here with NFS. All our DU4.0D machines mount a
> >filesystem via NFS from a
> > a central server. This filesystem holds some generally useful software
> >as for instance the GNU stuff.
> >Sensible thing to do. The path to that filesystem is in everyones PATH.
> >All is fine as long as the server
> >is up. As soon as it is down any attempt to run a command, any attempt
> .................

> I read the mount man page and it looks like the 'soft' option may be
> what you want:
>
> mount -o soft
>
>         soft - returns an error if the server does not respond

Bob,

I already mounted with that soft option: does not help!

                               Mark Koennecke




^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NFS server not responding ...
  1999-08-17  4:00 NFS server not responding Mark Koennecke
  1999-08-17  4:00 ` David T. Blake
  1999-08-18  4:00 ` Bob Harris
@ 1999-08-23  4:00 ` Eric Werme - replace nospam with werme
  1999-08-25  4:00 ` Sua
  3 siblings, 0 replies; 6+ messages in thread
From: Eric Werme - replace nospam with werme @ 1999-08-23  4:00 UTC (permalink / raw)


Mark Koennecke <Mark.Koennecke@psi.ch> writes:

>I have a little  problem here with NFS. All our DU4.0D machines mount a
>filesystem via NFS from a
> a central server. This filesystem holds some generally useful software
>as for instance the GNU stuff.
>Sensible thing to do. The path to that filesystem is in everyones PATH.
>All is fine as long as the server
>is up. As soon as it is down any attempt to run a command, any attempt
>to login will yield endless
>messages of the type NFS server not responding .....

I don't have a good (low cost) suggestion.  (The high cost suggestion
is to get a TruCluster or other highly available server.)

One trick is to put the server path last in the PATH environment
variable, but if you only need a few programs on the server, then
creating symlinks in your bin directory pointing to the executable can
work well, e.g.:

$ ls -l ~/bin | grep contrib
lrwxrwxrwx  ...   20 Mar 18  1996 fig2dev.old -> /contrib/bin/fig2dev
lrwxrwxrwx        21 Mar 18  1996 transfig -> /contrib/bin/transfig
lrwxrwxrwx        17 Mar 18  1996 xfig.v2 -> /contrib/bin/xfig

That way, only when I run xfig do I reach out on the network.

	-Ric Werme
--
<>    Eric (Ric) Werme    <> The above is unlikely to contain    <>
<>    ROT-13 addresses:   <> official claims or policies of      <>
<>   <jrezr@mx3.qrp.pbz>  <> Compaq Computer Corp.               <>
<>  <jrezr@zrqvnbar.arg>  <> http://people.ne.mediaone.net/werme <>



^ permalink raw reply	[flat|nested] 6+ messages in thread

* Re: NFS server not responding ...
  1999-08-17  4:00 NFS server not responding Mark Koennecke
                   ` (2 preceding siblings ...)
  1999-08-23  4:00 ` Eric Werme - replace nospam with werme
@ 1999-08-25  4:00 ` Sua
  3 siblings, 0 replies; 6+ messages in thread
From: Sua @ 1999-08-25  4:00 UTC (permalink / raw)


Hej.

Mark Koennecke wrote:

> I have a little  problem here with NFS. All our DU4.0D machines mount a
> filesystem via NFS from a
>  a central server.
> All is fine as long as the server
> is up. As soon as it is down any attempt to run a command, any attempt
> to login will yield endless
> messages of the type NFS server not responding

> The NFS option soft is
> already active.

Since the time I've read http://metalab.unc.edu/mdw/HOWTO/NFS-HOWTO-4.html#ss4.1
I never use the soft option. You might as well try mounting with hard,intr.
You'll still get complaints about the NFS server not responding, but they don't
do much damage (IMHO at least).

Regards,
Sua



^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~1999-08-25  4:00 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-08-17  4:00 NFS server not responding Mark Koennecke
1999-08-17  4:00 ` David T. Blake
1999-08-18  4:00 ` Bob Harris
1999-08-19  4:00   ` Mark Koennecke
1999-08-23  4:00 ` Eric Werme - replace nospam with werme
1999-08-25  4:00 ` Sua

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox