From: Boaz Harrosh <bharrosh@panasas.com>
To: Jesper Krogh <jesper@krogh.cc>
Cc: Linux NFS Mailing List <linux-nfs@vger.kernel.org>
Subject: Re: lsof and open files from the nfs-server
Date: Mon, 18 Oct 2010 18:25:12 +0200 [thread overview]
Message-ID: <4CBC74E8.7070801@panasas.com> (raw)
In-Reply-To: <4CB62095.4010708@krogh.cc>
On 10/13/2010 11:11 PM, Jesper Krogh wrote:
> Hi.
>
> Quite often when you have to umount a fileshare you get the
> message "Device or resource busy". Typically I traverse through
> the output of lsof | grep mountpoint and stop processes or kill
> until I can safely umount.
>
> But the nfs-kernel-server does not register its open files, so
> seen from userspace is it extremely hard to find out that is actually
> is the nfs-server that prevents you from being able to umount
> the filesystems.
>
> Would it be possible to register the open files the same place
> so administrators can see them?
>
> ... basically just a feature-request from one who just spend an hour on
> that.
>
Me to!
Also note that even if there are no open files in clients
and no client mounts on the server, but there where in the
passed. The used to be used super-block is referenced. Only
restart of the nfs service will release it.
But yes if it could register as a special file for lsof to
see it would help a lot.
Boaz
next prev parent reply other threads:[~2010-10-18 16:26 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-10-13 21:11 lsof and open files from the nfs-server Jesper Krogh
2010-10-18 16:25 ` Boaz Harrosh [this message]
2010-10-18 17:04 ` J. Bruce Fields
2010-10-18 17:14 ` Boaz Harrosh
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=4CBC74E8.7070801@panasas.com \
--to=bharrosh@panasas.com \
--cc=jesper@krogh.cc \
--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.