From: robsims@robsims.com (Rob Sims)
To: autofs@linux.kernel.org
Subject: Re: Re: BUG: autofs4 + cd /net/<Netapp>/vol/vol[0-3] = port usage problems
Date: Fri, 26 Aug 2005 10:14:54 -0600 [thread overview]
Message-ID: <20050826161454.GA3465@robsims.com> (raw)
In-Reply-To: <Pine.LNX.4.58.0508261141230.2586@wombat.indigo.net.au>
On Fri, Aug 26, 2005 at 11:44:21AM +0800, Ian Kent wrote:
> On Thu, 25 Aug 2005, Rob Sims wrote:
> > > THE PROBLEM DESCRIPTION:
> > > Autofs hangs and refuses to mount any directories for a period of time
> > > after cd'ing to /net/<Netapp>/vol/vol[0-3] and waiting a while.
> > > The only way to clear this is to reboot the client.
> > I didn't see a resolution to this in the archive - was it resolved?
> > How?
> This has come up several times and as far as I know we can resolve or
> work around these problems.
> If you have a problem then we need to establish versions and symptoms to
> know what needs to be done to resolve it.
What we're seeing is very similar to the original poster's description.
Netapp, 2.4 kernel, hierarchical mounts like:
vol0
vol0/a
vol0/b
vol1
vol1/c
etc.
The problem seems to have disappeared when we dropped the number of
exports to under 32. The log indicates that vol2 couldn't be unmounted
because it was busy. My guess is that 33+ unmount requests were issued
for the children, at least one failed due to lack of resources, and then
the parent unmount failed because of the failed child unmount. The
parent directory is then mounted mupltiple times (one extra per
expiration?)
Relevant log messages:
Aug 25 06:27:35 mvweb automount[18208]: running expiration on path /net/goodserver
Aug 25 06:27:36 mvweb automount[18208]: expired /net/goodserver
Aug 25 06:27:36 mvweb automount[18218]: running expiration on path /net/netapp
Aug 25 06:27:36 mvweb automount[18218]: >> umount: /net/netapp/vol/vol2: device is busy
Aug 25 06:27:52 mvweb last message repeated 10919 times
Aug 25 06:27:52 mvweb automount[18218]: lookup(program): looking up netapp
Aug 25 06:27:52 mvweb automount[18218]: lookup(program): netapp -> -fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192,async ^I/vol/vol0 netapp:/vol/vol0 ^I/vol/vol0/mounta netapp:/vol/vol0/mounta ^I/vol/vol0/restricted netapp:/vol/vol0/restricted ^I/vol/vol0/mountb netapp:/vol/vol0/mountb ^I/vol/vol0/mountc netapp:/vol/vol0/mountc ^I/vol/vol0/mountd netapp:/vol/vol0/mountd ^I/vol/vol1 netapp:/vol/vol1 ^I/vol/vol1/backb netapp:/vol/vol1/backb ^I/vol/vol1/mounte netapp:/vol/vol1/mounte ^I/vol/vol1/mountf netapp:/vol/vol1/mountf ^I/vol/vol1/mountg netapp:/vol/vol1/mountg ^I/vol/vol1/mounth netapp:/vol/vol1/mounth ^I/vol/vol1/mounti netapp:/vol/vol1/mounti ^I/vol/vol1/mountj netapp:/vol/vol1/mountj ^I/vol/vol1/mountk netapp:/vol/vol1/mountk ^I/vol/vol1/mountl netapp:/vol/vol1/mountl ^I/vol/vol1/mountm netapp:/vol/vol1/mountm ^I/vol/vol1/mountn netapp:/vol/vo
l1/mountn ^I/vol/vol2 netapp:/vol/vol2 ^I/vol/vol2/mounto$ netapp:/vol/vol2/mounto$ ^I!
/vol/
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): expanded entry: -fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192,async ^I/vol/vol0 netapp:/vol/vol0 ^I/vol/vol0/mounta netapp:/vol/vol0/mounta ^I/vol/vol0/restricted netapp:/vol/vol0/restricted ^I/vol/vol0/mountb netapp:/vol/vol0/mountb ^I/vol/vol0/mountc netapp:/vol/vol0/mountc ^I/vol/vol0/mountd netapp:/vol/vol0/mountd ^I/vol/vol1 netapp:/vol/vol1 ^I/vol/vol1/backb netapp:/vol/vol1/backb ^I/vol/vol1/mounte netapp:/vol/vol1/mounte ^I/vol/vol1/mountf netapp:/vol/vol1/mountf ^I/vol/vol1/mountg netapp:/vol/vol1/mountg ^I/vol/vol1/mounth netapp:/vol/vol1/mounth ^I/vol/vol1/mounti netapp:/vol/vol1/mounti ^I/vol/vol1/mountj netapp:/vol/vol1/mountj ^I/vol/vol1/mountk netapp:/vol/vol1/mountk ^I/vol/vol1/mountl netapp:/vol/vol1/mountl ^I/vol/vol1/mountm netapp:/vol/vol1/mountm ^I/vol/vol1/mountn netapp:/vol/v
ol1/mountn ^I/vol/vol2 netapp:/vol/vol2 ^I/vol/vol2/mounto netapp:/vol/vol2/mounto ^I/!
vol/vo
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): dequote("fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192,async") -> fstype=nfs,hard,intr,nodev,nosuid,nonstric
t,rsize=8192,wsize=8192,async
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): gathered options: fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192,async
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): dequote("/vol/vol0") -> /vol/vol0
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): dequote("netapp:/vol/vol0") -> netapp:/vol/vol0
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): multimount: netapp:/vol/vol0 on /vol/vol0 with options fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize=8192,async
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): mounting root /net, mountpoint netapp/vol/vol0, what netapp:/vol/vol0, fstype nfs, options hard,intr,nodev,nosuid,rsize=8192,w
size=8192,async
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): root=/net name=netapp/vol/vol0 what=netapp:/vol/vol0, fstype=nfs, options=hard,intr,nodev,nosuid,rsize=8192,wsize=8192,async
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): nfs options="hard,intr,nodev,nosuid,rsize=8192,wsize=8192,async", nosymlink=0
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): calling mkdir_path /net/netapp/vol/vol0
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): calling mount -t nfs -s -o hard,intr,nodev,nosuid,rsize=8192,wsize=8192,async netapp:/vol/vol0 /net/netapp/vol/vol0
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): mounted netapp:/vol/vol0 on /net/netapp/vol/vol0
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): dequote("/vol/vol0/mounta") -> /vol/vol0/mounta
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): dequote("netapp:/vol/vol0/mounta") -> netapp:/vol/vol0/mounta
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): multimount: netapp:/vol/vol0/mounta on /vol/vol0/mounta with options fstype=nfs,hard,intr,nodev,nosuid,nonstrict,rsize=8192,wsize
=8192,async
Aug 25 06:27:52 mvweb automount[18218]: parse(sun): mounting root /net, mountpoint netapp/vol/vol0/mounta, what netapp:/vol/vol0/mounta, fstype nfs, options hard,intr,nodev,nosuid,
rsize=8192,wsize=8192,async
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): root=/net name=netapp/vol/vol0/mounta what=netapp:/vol/vol0/mounta, fstype=nfs, options=hard,intr,nodev,nosuid,rsize=8192,wsize
=8192,async
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): nfs options="hard,intr,nodev,nosuid,rsize=8192,wsize=8192,async", nosymlink=0
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): calling mkdir_path /net/netapp/vol/vol0/mounta
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): calling mount -t nfs -s -o hard,intr,nodev,nosuid,rsize=8192,wsize=8192,async netapp:/vol/vol0/mounta /net/netapp/vol/vol0/back
a
Aug 25 06:27:52 mvweb automount[18218]: mount(nfs): mounted netapp:/vol/vol0/mounta on /net/netapp/vol/vol0/mounta
...
--
Rob
next prev parent reply other threads:[~2005-08-26 16:14 UTC|newest]
Thread overview: 37+ messages / expand[flat|nested] mbox.gz Atom feed top
2005-01-11 21:22 BUG: autofs4 + cd /net/<Netapp>/vol/vol[0-3] = port usage problems David Meleedy
2005-01-12 5:38 ` Ian Kent
2005-01-12 16:55 ` Mike Waychison
2005-01-12 20:43 ` David Meleedy
2005-01-13 0:37 ` David Meleedy
2005-01-13 1:05 ` Mike Waychison
2005-01-13 1:07 ` Ian Kent
2005-01-14 14:35 ` raven
2005-01-14 22:38 ` David Meleedy
2005-01-15 2:50 ` raven
2005-01-17 14:52 ` Jeff Moyer
2005-01-18 1:31 ` Ian Kent
2005-01-18 14:18 ` Jeff Moyer
2005-01-18 17:00 ` Ian Kent
2005-01-18 17:05 ` Jeff Moyer
2005-01-19 1:25 ` Ian Kent
2005-01-18 14:20 ` Jeff Moyer
2005-01-18 17:04 ` Ian Kent
2005-01-18 17:07 ` Jeff Moyer
2005-01-18 17:32 ` Mike Waychison
2005-01-19 4:21 ` Ian Kent
2005-01-19 5:00 ` Re: [autofs] " Trond Myklebust
2005-01-17 14:01 ` raven
2005-01-17 16:19 ` David Meleedy
2005-01-18 1:33 ` Ian Kent
2005-01-13 8:13 ` Ian Kent
2005-01-12 14:50 ` raven
2005-01-12 22:22 ` David Meleedy
2005-01-12 23:01 ` Jeff Moyer
2005-01-12 16:13 ` Dwight Marzolf
2005-01-12 20:55 ` David Meleedy
2005-08-25 22:14 ` Rob Sims
2005-08-26 3:44 ` Ian Kent
2005-08-26 16:14 ` Rob Sims [this message]
2005-08-27 3:34 ` Ian Kent
2005-08-29 15:20 ` Rob Sims
2005-08-30 1:16 ` Ian Kent
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=20050826161454.GA3465@robsims.com \
--to=robsims@robsims.com \
--cc=autofs@linux.kernel.org \
/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.