From: Pacho Ramos <pacho-wnk7FUYfzmtu2DZcH3qp6zJQgOOX0AMFMQBsIrBqeMw@public.gmane.org>
To: Al Viro <viro@ZenIV.linux.org.uk>
Cc: Steve Dickson <SteveD@redhat.com>, linux-nfs@vger.kernel.org
Subject: Re: umount -a -f -t nfs doesn't work when a file has been written and "-l" option is needed
Date: Sat, 12 Sep 2009 18:25:28 +0200 [thread overview]
Message-ID: <1252772728.32258.1.camel@localhost> (raw)
In-Reply-To: <20090912150107.GE5858@ZenIV.linux.org.uk>
El s=C3=A1b, 12-09-2009 a las 16:01 +0100, Al Viro escribi=C3=B3:
> > > Seems that I need to run "umount -l" for being able to unmount it=
, even
> > > when I expected that "-f" should be enough.
> > Hopefully you will be rebooting soon since kernel structures (ala t=
he
> > super block) are not cleaned up with 'umount -l'. Which could make =
the
> > system somewhat unstable.=20
>=20
> Um... Not really. The damn thing is detached from the namespace and
> left alone until it's not busy anymore. At that point it's hit with =
the
> rest of umount() (i.e. with filesystem driver being told to shut it d=
own).
>=20
> So it won't go away in that case, but you shouldn't get any instabili=
ty from
> that - from the VFS POV nothing nasty has happened, from the NFS clie=
nt
> code POV... well, it's not being unmounted yet, as far as NFS code ca=
res.
> Just a mounted fs from a stuck server...
OK :-)
Anyway, I am running this just before halting system , to prevent
suffering the hang when powering off my computer ;-)
Thanks!
next prev parent reply other threads:[~2009-09-12 16:25 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-09-05 8:31 umount -a -f -t nfs doesn't work when a file has been written and "-l" option is needed Pacho Ramos
2009-09-08 13:40 ` Steve Dickson
[not found] ` <4AA65ECF.2070701-AfCzQyP5zfLQT0dZR+AlfA@public.gmane.org>
2009-09-08 17:54 ` Pacho Ramos
2009-09-12 15:01 ` Al Viro
2009-09-12 16:25 ` Pacho Ramos [this message]
-- strict thread matches above, loose matches on Subject: below --
2009-09-05 9:16 Pacho Ramos
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=1252772728.32258.1.camel@localhost \
--to=pacho-wnk7fuyfzmtu2dzch3qp6zjqgoox0amfmqbsirbqemw@public.gmane.org \
--cc=SteveD@redhat.com \
--cc=linux-nfs@vger.kernel.org \
--cc=viro@ZenIV.linux.org.uk \
/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.