Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 6 May 2000 12:43:10 -0700
From:      Alfred Perlstein <bright@wintelcom.net>
To:        Dmitry Koltsov <root@hostonfly.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: Re[2]: nfs: soft mountig trouble
Message-ID:  <20000506124310.B15613@fw.wintelcom.net>
In-Reply-To: <4951.000506@hostonfly.com>; from root@hostonfly.com on Sat, May 06, 2000 at 10:49:47PM %2B0400
References:  <20000506105130.A15613@fw.wintelcom.net> <4951.000506@hostonfly.com>

next in thread | previous in thread | raw e-mail | index | archive | help
> ???????, 6 ??? 2000 ?., you wrote to me:
> 
> AP> * Dmitry Koltsov <root@hostonfly.com> [000506 05:56] wrote:
> >> 
> >> I use mount command:
> >> 
> >> "mount_nfs -i -s -d -R1 -a1 -t1 -x1 xxx.xxx.xxx.xxx:/usr/local/t  /usr/local/t"
> >> 
> >> after that I'm put down interfeace on xxx.xxx.xxx.xxx, 
> >> and then I try to accesss mounted file system:
> >> 
> >> "ls /usr/local/t"
> >> 
> >> in some seconds i receive message from ls process
> >> 
> >> "nfs server xxx.xxx.xxx.xxx:/usr/local/t: not responding"
> >> 
> >> But process still tryes to get access to nfs server. It occurs while I
> >> shall not kill process. It is necessary for me, that process stopped
> >> attempts of access and gave out a mistake after 1-2 attempts.
> >> How it to realize?
> 
> AP> Soft mounts don't allow you to interrupt the process hung on the
> AP> mount, you need 'intr' (another mount option) for that.
> 

* Dmitry Koltsov <root@hostonfly.com> [000506 12:21] wrote:
> as  you  can  see  -  my  mount  command  uses  option '-i'. and i can
> interrupt   process.   but  i  need  that  process  stopped  attempts
> of access and gave out a error after 1-2 attempts.

Ok, then I'm totally at a loss, can you try to rephrase the question?

If you don't want the program to error, then don't use 'soft', only
use 'intr'

-Alfred



To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20000506124310.B15613>