From: "idiot)_) supreme" Subject: Re: autofs default behavior on syminks? Date: Sun, 11 Apr 2004 13:08:22 +0000 Sender: autofs-bounces@linux.kernel.org Message-ID: Mime-Version: 1.0 Content-Type: multipart/mixed; boundary="===============15053438162620392==" Return-path: List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: autofs-bounces@linux.kernel.org To: raven@themaw.net Cc: autofs@linux.kernel.org --===============15053438162620392== Content-Type: text/html Content-Transfer-Encoding: quoted-printable X-MIME-Autoconverted: from 8bit to quoted-printable by hera.kernel.org id i3C3rNpG019146

Hi Ian

 

Thanks for replying.  I should clarifiy our problems a little bit= .

 

For the most part, we only see this error on the 2.6.5 with 4.1.0 and = all of the kernel patches.  We do not really see this on 2.4.22/4.1.= 0 and kernel patches.  When all of the machines are running, we see = it about 2x an hour.  I have tried raising the timeouts to 1 hour (s= o they never umount once mounted) but I won't know if this "works" until = next week.  Our previous timeouts were 5 minutes.   I have= also recently tried raising retry, timeo, and other variables, but don't= know if will work unti next week.  I have not tried 4.1.2 yet.=

 

 

We see this error in /var/log/messages

Apr  9 22:16:00 e232 automount[17404]: >> mount: RPC: Remot= e system error - Connection timed out
Apr  9 22:16:00 e232 automo= unt[17404]: mount(nfs): nfs: mount failure emc1.bbn.com:/u11 on /net/emc/= u11
Apr  9 22:16:00 e232 automount[17404]: failed to mount /net/e= mc/u11

 

I can correspond these /var/log/messages logs to error logs in our job= running system

 

29763 K    *username*  @ e232  &nbs= p;     5  e200     &nbs= p;  racks5n6   "13022-SCTM_X-tr-GI-1-2-05"
22:16:00: ca= n't open task output /d4m/ears/expts/13009/logfiles/13009-SCTM_NX-tr-GI-1= -1-6.log: No such file or directory
22:16:04: reap pid 17403, task 298= 43, exit 0
22:16:04: syncing with db

The file it can't open is really a link to /net/emc/u11 (which is the = what automount reports a failure on)

This is why I asked about autofs link behavior.

 

Thanks again for your help.  IF there is any test you want me to = run, let me know.

 

Eric


 

>From: raven@themaw.net=20
>To: "idiot)_) supreme" <ejw50@hotmail.com>=20
>CC: autofs@linux.kernel.org=20
>Subject: Re: [autofs] autofs default behavior on syminks?=20
>Date: Sun, 11 Apr 2004 14:14:17 +0800 (WST)=20
>=20
>On Sat, 10 Apr 2004, idiot)_) supreme wrote:=20
>=20
> > Hi all=20
> >=20
> > We are running autofs4.1.0 with 2.4.22 on about 100 = machines, and 2.6.5 on=20
> > about 100 machines with all of the the kernel patche= s for both.=20
>=20
>Cool. I'm keen to hear how things go. Especially with 2.6.= =20
>A note to the list from time to time would be appreciated.= =20
>=20
> >=20
> >=20
> > What is autofs's behavior trying to cross symlinks w= hen you type 'ls'?=20
> > autofs seems to time out a lot faster than AMD for e= xample.=20
> >=20
> > We are occasionally seeing problems timeouts trying = to cross symlinks.  If I=20
> > type 'ls' it might show=20
> >=20
> > abc -> /net/emc/u11=20
> >=20
> > as a broken symlink=20
> >=20
> > but if I type 'ls /net/emc/u11'=20
> > the symlink comes back.=20
> >=20
>=20
>In this case autofs doesn't do anything special with symli= nks.=20
>The colour ls does the 'stat'ing and the results are shown= .=20
>=20
>This does sound like an autofs bug or lilitation perhaps.=20
>Indeed 'stat'ing the mountpoint itself should not mount it= , otherwise we=20
>would get undesired mounts, so autofs lies and gives the s= tat of=20
>the autofs directory instead of the mounted. Actually auto= fs just doesn't=20
>do anything.=20
>=20
>It's interesting that the symlink shows broken occasionall= y and not all=20
>the time. There must be a bad return coming back for some = reason. So=20
>how occasionally?=20
>=20
>Perhaps the 'stat' occurs during an expire sometimes. That= could cause a=20
>fail return.=20
>=20
>Ian=20
>=20


Is your PC infected? Get a FREE online computer virus scan= from McAfee=AE Security. --===============15053438162620392== Content-Type: text/plain; charset="us-ascii" MIME-Version: 1.0 Content-Disposition: inline Content-Transfer-Encoding: 7bit _______________________________________________ autofs mailing list autofs@linux.kernel.org http://linux.kernel.org/mailman/listinfo/autofs --===============15053438162620392==--