From: "H. Peter Anvin" <hpa@zytor.com>
To: Paul Raines <raines@nmr.mgh.harvard.edu>
Cc: autofs@linux.kernel.org
Subject: Re: rm hangs on symlinks to down mount points
Date: Tue, 30 Dec 2003 15:57:58 -0800 [thread overview]
Message-ID: <3FF21106.4000907@zytor.com> (raw)
In-Reply-To: <Pine.LNX.4.44.0312301833520.24097-100000@gate.nmr.mgh.harvard.edu>
Paul Raines wrote:
>
> Maybe not, but it could be done through autofs. There would probably be
> alot more resistance to getting mount's API changed for support of separate
> timeout value just for the mount side of things.
>
> The master automount process could just kill the automount subprocess
> spawned to do a mount if it doesn't complete in X number of seconds.
>
People constantly ask for various kinds of NFS support crap in autofs,
and it's *ALWAYS* wrong. There is really no excuse for a feature
working from within autofs and not when mounted normally.
None.
>
>>>I am often getting automount processes that are hung and don't die
>>>with a simple kill. I can "kill -9" them but that leaves things in
>>>a bad state usually (though sometimes I will just hand edit /etc/mtab
>>>so I can get something done).
>>
>>That's why they don't die with a simple kill.
>
> Which is a pain. Just because some remote server went down I had
> automounted should not force me into a reboot of the client.
>
OK... clue call... *AUTOFS ISN'T INVOLVED.* Autofs *CANNOT* help you
when an in-use filesystem has its server removed from underneath it.
All autofs does is mount and unmount filesystems... it's not involved in
any shape, way or form with the running thereof. All autofs can see is
that the filesystem is still in use, and there is nothing it can do
about it.
If this sort of things happen to you often you may want to consider soft
mounts. Of course, you take the risk of data loss, but that is the only
possible choice -- if the server cannot be accessed, the only options
are to wait (hard mount) or return failure and throw the data away (soft
mount.)
-hpa
next prev parent reply other threads:[~2003-12-30 23:57 UTC|newest]
Thread overview: 16+ messages / expand[flat|nested] mbox.gz Atom feed top
2003-12-30 21:47 rm hangs on symlinks to down mount points Paul Raines
2003-12-30 23:09 ` H. Peter Anvin
2003-12-30 23:19 ` Paul Raines
2003-12-30 23:23 ` H. Peter Anvin
2003-12-30 23:37 ` Paul Raines
2003-12-30 23:57 ` H. Peter Anvin [this message]
2003-12-31 1:37 ` Jim Carter
2003-12-31 3:17 ` Paul Raines
2003-12-30 18:38 ` Ian Kent
2003-12-31 14:25 ` Paul Raines
2003-12-31 14:54 ` Ian Kent
2003-12-31 15:27 ` Paul Raines
2003-12-30 19:59 ` Ian Kent
2003-12-31 10:58 ` Christian Vogel
2003-12-31 14:32 ` Paul Raines
2004-01-06 16:23 ` Paul Raines
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=3FF21106.4000907@zytor.com \
--to=hpa@zytor.com \
--cc=autofs@linux.kernel.org \
--cc=raines@nmr.mgh.harvard.edu \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.