From: Ben Greear <greearb@candelatech.com>
To: "Myklebust, Trond" <Trond.Myklebust@netapp.com>
Cc: "linux-nfs@vger.kernel.org" <linux-nfs@vger.kernel.org>
Subject: Re: 'umount -f /mnt/foo' fails if server IP is gone.
Date: Thu, 17 Oct 2013 11:35:03 -0700 [thread overview]
Message-ID: <52602DD7.6050708@candelatech.com> (raw)
In-Reply-To: <1382034747.3216.8.camel@leira.trondhjem.org>
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: text/plain; charset=UTF-7, Size: 1614 bytes --]
On 10/17/2013 11:32 AM, Myklebust, Trond wrote:
> On Thu, 2013-10-17 at 11:11 -0700, Ben Greear wrote:
>> On 10/17/2013 11:05 AM, Myklebust, Trond wrote:
>>> On Thu, 2013-10-17 at 10:35 -0700, Ben Greear 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.
>>>
>>> 'umount -f' has always been iffy. It just kills any pending RPC calls
>>> _before_ trying to unmount. Since the unmount itself can trigger
>>> writeback flushes (and hence more RPC calls), the trace you are seeing
>>> is indeed possible.
>>
>> I tried 'umount -f -l', and that also does not work.
>>
>> Any ideas on how to fix this properly?
>
> 'umount -f -l' should normally work to at least hide the gruesome
> details of your hanging superblock.
>
> I'm guessing that you're falling afoul of the path revalidation that
> Chuck alluded to. There should already be a fix for that problem with
> the path_umountat() patches that went into Linux 3.12-rc1. Are those
> failing to help?
I have not tried past 3.9.11+ kernel yet. I will go look for those patches
you mention as well. Did any of this go to -stable by chance?
Thanks,
Ben
--
Ben Greear <greearb@candelatech.com>
Candela Technologies Inc http://www.candelatech.com
next prev parent reply other threads:[~2013-10-17 18:35 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
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 [this message]
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=52602DD7.6050708@candelatech.com \
--to=greearb@candelatech.com \
--cc=Trond.Myklebust@netapp.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.