public inbox for gentoo-user@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-user] umount nfs share
@ 2010-03-15 13:18 Harry Putnam
  2010-03-15 23:20 ` Neil Bothwick
  2010-03-16  1:32 ` Kacper Kopczyński
  0 siblings, 2 replies; 3+ messages in thread
From: Harry Putnam @ 2010-03-15 13:18 UTC (permalink / raw
  To: gentoo-user

I'm trying t umount an nfs mounted share but am told the resource is
busy.  umount -f fails too.

So first I turned off all the xterms I had running which should have
killed any shell operating there.

Still says resouce is busy.

So trying to see what is doing it with `lsof'

However, when I run `lsof' (no arguments), it fails to produce any
output.

Just been setting there for 5-6 minutes, now.  When I know from past
use it should have produced quite a pile of output.

I tried a lsof option that is supposed to show specifically nfs
related 

 ( lsof -b /nfs/mount/point)

So trying it on the one reporting `busy'
  lsof -b /projects

Which gave a gout of output with this kind of stuff in it:

  lsof: avoiding readlink(/projects): -b was specified.
  lsof: avoiding readlink(/): -b was specified.
  lsof: avoiding stat(/): -b was specified.
  lsof: WARNING: can't stat() rootfs file system /
        Output information may be incomplete.
  lsof: avoiding readlink(/): -b was specified.
  lsof: avoiding stat(/): -b was specified.
  lsof: WARNING: can't stat() reiserfs file system /
        Output information may be incomplete.

 [...]

Anyone know what might be going on here?





^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] umount nfs share
  2010-03-15 13:18 [gentoo-user] umount nfs share Harry Putnam
@ 2010-03-15 23:20 ` Neil Bothwick
  2010-03-16  1:32 ` Kacper Kopczyński
  1 sibling, 0 replies; 3+ messages in thread
From: Neil Bothwick @ 2010-03-15 23:20 UTC (permalink / raw
  To: gentoo-user

[-- Attachment #1: Type: text/plain, Size: 257 bytes --]

On Mon, 15 Mar 2010 08:18:10 -0500, Harry Putnam wrote:

> I'm trying t umount an nfs mounted share but am told the resource is
> busy.  umount -f fails too.

What about umount -l?


-- 
Neil Bothwick

Angular Momentum Makes The World Go 'Round

[-- Attachment #2: signature.asc --]
[-- Type: application/pgp-signature, Size: 198 bytes --]

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [gentoo-user] umount nfs share
  2010-03-15 13:18 [gentoo-user] umount nfs share Harry Putnam
  2010-03-15 23:20 ` Neil Bothwick
@ 2010-03-16  1:32 ` Kacper Kopczyński
  1 sibling, 0 replies; 3+ messages in thread
From: Kacper Kopczyński @ 2010-03-16  1:32 UTC (permalink / raw
  To: gentoo-user

Dnia 2010-03-15, o godz. 08:18:10
Harry Putnam <reader@newsguy.com> napisał(a):

> I'm trying t umount an nfs mounted share but am told the resource is
> busy.  umount -f fails too.
> 
> So first I turned off all the xterms I had running which should have
> killed any shell operating there.
> 
> Still says resouce is busy.
> 
> So trying to see what is doing it with `lsof'
> 
> However, when I run `lsof' (no arguments), it fails to produce any
> output.
> 
> Just been setting there for 5-6 minutes, now.  When I know from past
> use it should have produced quite a pile of output.
> 
> I tried a lsof option that is supposed to show specifically nfs
> related 
> 
>  ( lsof -b /nfs/mount/point)
> 
> So trying it on the one reporting `busy'
>   lsof -b /projects
> 
> Which gave a gout of output with this kind of stuff in it:
> 
>   lsof: avoiding readlink(/projects): -b was specified.
>   lsof: avoiding readlink(/): -b was specified.
>   lsof: avoiding stat(/): -b was specified.
>   lsof: WARNING: can't stat() rootfs file system /
>         Output information may be incomplete.
>   lsof: avoiding readlink(/): -b was specified.
>   lsof: avoiding stat(/): -b was specified.
>   lsof: WARNING: can't stat() reiserfs file system /
>         Output information may be incomplete.
> 
>  [...]
> 
> Anyone know what might be going on here?
> 
> 
> 

Perhaps server is not responding... so make it respond :)
If that is the case add some rule to firewall or /etc/hosts to redirect
requests to localhost (use REJECT not DROP). And then try
again unmounting.

-- 
Kacper Kopczyński



^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2010-03-16  1:33 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2010-03-15 13:18 [gentoo-user] umount nfs share Harry Putnam
2010-03-15 23:20 ` Neil Bothwick
2010-03-16  1:32 ` Kacper Kopczyński

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox