All of lore.kernel.org
 help / color / mirror / Atom feed
From: Ben Greear <greearb@candelatech.com>
To: Chuck Lever <chuck.lever@oracle.com>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>,
	Jeff Layton <jlayton@redhat.com>
Subject: Re: 'umount -f /mnt/foo' fails if server IP is gone.
Date: Thu, 17 Oct 2013 11:08:48 -0700	[thread overview]
Message-ID: <526027B0.5010608@candelatech.com> (raw)
In-Reply-To: <758E075A-2DCD-4456-848F-FD983FECF5E5@oracle.com>

On 10/17/2013 11:03 AM, Chuck Lever wrote:
>
> On Oct 17, 2013, at 1:35 PM, Ben Greear <greearb@candelatech.com> wrote:
>
>> On 10/15/2013 11:29 AM, Ben Greear wrote:
>>> Is 'umount -f' supposed to always work, even if the file server
>>> goes away?
>>>
>>> I have a user's system that just hangs forever in this case.
>>>
>>> Could be local changes we have made, but I'm curious about
>>> the expected behaviour before I go digging too deep...
>>
>> Any input on this?  I don't mind trying to fix it, but I
>> would like to know how it is supposed to work.
>
> Recent kernels emit a GETATTR at umount time.  It is probably this operation that is stuck.

It seems a 'mkdir' process is trying to complete at the same time,
not sure if that is cause or effect.

How can I go about cleaning up these stuck operations?

Thanks,
Ben

-- 
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc  http://www.candelatech.com


  reply	other threads:[~2013-10-17 18:08 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-10-15 18:29 'umount -f /mnt/foo' fails if server IP is gone Ben Greear
2013-10-17 17:35 ` Ben Greear
2013-10-17 18:03   ` Chuck Lever
2013-10-17 18:08     ` Ben Greear [this message]
2013-10-17 18:16     ` Jeff Layton
2013-10-17 18:05   ` Myklebust, Trond
2013-10-17 18:11     ` Ben Greear
2013-10-17 18:23       ` Christopher T Vogan
2013-10-17 18:32       ` Myklebust, Trond
2013-10-17 18:35         ` Ben Greear
2013-10-17 18:42           ` Myklebust, Trond
2013-10-17 19:34             ` Ben Greear
2013-10-17 19:36               ` Ben Greear

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=526027B0.5010608@candelatech.com \
    --to=greearb@candelatech.com \
    --cc=chuck.lever@oracle.com \
    --cc=jlayton@redhat.com \
    --cc=linux-nfs@vger.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.