linux-nfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Pacho Ramos <pacho-wnk7FUYfzmtu2DZcH3qp6zJQgOOX0AMFMQBsIrBqeMw@public.gmane.org>
To: linux-nfs@vger.kernel.org
Subject: umount -a -f -t nfs doesn't work when a file has been written and "-l" option is needed
Date: Sat, 05 Sep 2009 11:16:14 +0200	[thread overview]
Message-ID: <1252142174.14467.24.camel@localhost> (raw)

I suffer the following problem with nfs since a lot of time, now, I am
using nfs-utils-1.2.0, but older versions were affected too.

When I write a file on a mounted nfs filesystem and server goes down, I
am unable to umount it even with "-f" option, it simply hangs. On the
other hand, if no file was written (for example, it was simply read)
there is no problem and "umount -f" works as expected.

Seems that I need to run "umount -l" for being able to unmount it, even
when I expected that "-f" should be enough.

Is this the proper behavior or something is going wrong?

Thanks a lot :-)




             reply	other threads:[~2009-09-05  9:16 UTC|newest]

Thread overview: 6+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-05  9:16 Pacho Ramos [this message]
  -- strict thread matches above, loose matches on Subject: below --
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

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=1252142174.14467.24.camel@localhost \
    --to=pacho-wnk7fuyfzmtu2dzch3qp6zjqgoox0amfmqbsirbqemw@public.gmane.org \
    --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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).