All of lore.kernel.org
 help / color / mirror / Atom feed
* how to force umount when "Device or resource busy"?
@ 2004-09-14 19:17 ms419
  2004-09-15  1:09 ` Ian Kent
                   ` (2 more replies)
  0 siblings, 3 replies; 8+ messages in thread
From: ms419 @ 2004-09-14 19:17 UTC (permalink / raw)
  To: nfs

How does one unmount when umount doesn't work?

Somehow, I got an NFS / AutoFS mount that just won't unmount.

I noticed /var/autofs/net was mounted twice, so I stopped AutoFS & 
tried killing the remaining automount process. "kill 14986" didn't 
work; I needed "kill -9 14986". The following mounts remain:

wum:~# mount
[...]
automount(pid14986) on /var/autofs/net type autofs 
(rw,fd=5,pgrp=14986,minproto=2,maxproto=4)
tor:/home on /var/autofs/net/tor/home type nfs 
(rw,nosuid,nodev,hard,intr,addr=192.168.103.158)

& I can't unmount them:

wum:~# umount /var/autofs/net/tor/home
umount: /var/autofs/net/tor/home: device is busy
umount: /var/autofs/net/tor/home: device is busy
wum:~# umount -f /var/autofs/net/tor/home
umount2: Device or resource busy
umount: /var/autofs/net/tor/home: Illegal seek
umount2: Device or resource busy
umount: /var/autofs/net/tor/home: device is busy
wum:~# umount /var/autofs/net
umount: /var/autofs/net: device is busy
umount: /var/autofs/net: device is busy
wum:~# umount -f /var/autofs/net
umount2: Device or resource busy
umount: automount(pid14986): not found
umount: /var/autofs/net: Illegal seek
umount2: Device or resource busy
umount: /var/autofs/net: device is busy

I triple checked that no process is using these mounts. How do I 
unmount them?

Thanks!

Jack



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: how to force umount when "Device or resource busy"?
  2004-09-14 19:17 how to force umount when "Device or resource busy"? ms419
@ 2004-09-15  1:09 ` Ian Kent
  2004-09-15  1:14 ` Greg Banks
  2004-10-28 23:58 ` upendra gandhi
  2 siblings, 0 replies; 8+ messages in thread
From: Ian Kent @ 2004-09-15  1:09 UTC (permalink / raw)
  To: ms419; +Cc: nfs

On Tue, 14 Sep 2004 ms419@freezone.co.uk wrote:

> How does one unmount when umount doesn't work?
> 
> Somehow, I got an NFS / AutoFS mount that just won't unmount.
> 
> I noticed /var/autofs/net was mounted twice, so I stopped AutoFS & 
> tried killing the remaining automount process. "kill 14986" didn't 
> work; I needed "kill -9 14986". The following mounts remain:

What versions are you using?
Kernel version?
Patched?

Try the autofs list at

http://linux.kernel.org/mailman/listinfo/autofs

Ian



-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: how to force umount when "Device or resource busy"?
  2004-09-14 19:17 how to force umount when "Device or resource busy"? ms419
  2004-09-15  1:09 ` Ian Kent
@ 2004-09-15  1:14 ` Greg Banks
  2004-10-28 23:58 ` upendra gandhi
  2 siblings, 0 replies; 8+ messages in thread
From: Greg Banks @ 2004-09-15  1:14 UTC (permalink / raw)
  To: ms419; +Cc: Linux NFS Mailing List

On Wed, 2004-09-15 at 05:17, ms419@freezone.co.uk wrote:
> How does one unmount when umount doesn't work?
> 
> Somehow, I got an NFS / AutoFS mount that just won't unmount.
> 

See the manpage description of the "-l" flag to umount.

Greg.
-- 
Greg Banks, R&D Software Engineer, SGI Australian Software Group.
I don't speak for SGI.




-------------------------------------------------------
This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
Camcorder. More prizes in the weekly Lunch Hour Challenge.
Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: how to force umount when "Device or resource busy"?
  2004-09-14 19:17 how to force umount when "Device or resource busy"? ms419
  2004-09-15  1:09 ` Ian Kent
  2004-09-15  1:14 ` Greg Banks
@ 2004-10-28 23:58 ` upendra gandhi
  2004-10-29  0:34   ` Trond Myklebust
  2004-11-01  8:15   ` Ian Kent
  2 siblings, 2 replies; 8+ messages in thread
From: upendra gandhi @ 2004-10-28 23:58 UTC (permalink / raw)
  To: ms419; +Cc: nfs

is there an answer to this we are facing this issue in autofs4

thks

ms419@freezone.co.uk wrote:

> How does one unmount when umount doesn't work?
>
> Somehow, I got an NFS / AutoFS mount that just won't unmount.
>
> I noticed /var/autofs/net was mounted twice, so I stopped AutoFS & 
> tried killing the remaining automount process. "kill 14986" didn't 
> work; I needed "kill -9 14986". The following mounts remain:
>
> wum:~# mount
> [...]
> automount(pid14986) on /var/autofs/net type autofs 
> (rw,fd=5,pgrp=14986,minproto=2,maxproto=4)
> tor:/home on /var/autofs/net/tor/home type nfs 
> (rw,nosuid,nodev,hard,intr,addr=192.168.103.158)
>
> & I can't unmount them:
>
> wum:~# umount /var/autofs/net/tor/home
> umount: /var/autofs/net/tor/home: device is busy
> umount: /var/autofs/net/tor/home: device is busy
> wum:~# umount -f /var/autofs/net/tor/home
> umount2: Device or resource busy
> umount: /var/autofs/net/tor/home: Illegal seek
> umount2: Device or resource busy
> umount: /var/autofs/net/tor/home: device is busy
> wum:~# umount /var/autofs/net
> umount: /var/autofs/net: device is busy
> umount: /var/autofs/net: device is busy
> wum:~# umount -f /var/autofs/net
> umount2: Device or resource busy
> umount: automount(pid14986): not found
> umount: /var/autofs/net: Illegal seek
> umount2: Device or resource busy
> umount: /var/autofs/net: device is busy
>
> I triple checked that no process is using these mounts. How do I 
> unmount them?
>
> Thanks!
>
> Jack
>
>
>
> -------------------------------------------------------
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs




-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: how to force umount when "Device or resource busy"?
  2004-10-28 23:58 ` upendra gandhi
@ 2004-10-29  0:34   ` Trond Myklebust
  2004-11-01  8:15   ` Ian Kent
  1 sibling, 0 replies; 8+ messages in thread
From: Trond Myklebust @ 2004-10-29  0:34 UTC (permalink / raw)
  To: upendra gandhi; +Cc: ms419, nfs

to den 28.10.2004 Klokka 16:58 (-0700) skreiv upendra gandhi:
> is there an answer to this we are facing this issue in autofs4

Need more information

Cheers,
  Trond

-- 
Trond Myklebust <trond.myklebust@fys.uio.no>



-------------------------------------------------------
This Newsletter Sponsored by: Macrovision 
For reliable Linux application installations, use the industry's leading
setup authoring tool, InstallShield X. Learn more and evaluate 
today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: how to force umount when "Device or resource busy"?
  2004-10-28 23:58 ` upendra gandhi
  2004-10-29  0:34   ` Trond Myklebust
@ 2004-11-01  8:15   ` Ian Kent
  2004-11-01 16:55     ` upendra gandhi
  1 sibling, 1 reply; 8+ messages in thread
From: Ian Kent @ 2004-11-01  8:15 UTC (permalink / raw)
  To: upendra gandhi; +Cc: ms419, nfs

On Thu, 28 Oct 2004, upendra gandhi wrote:

> is there an answer to this we are facing this issue in autofs4

I Asked for version info. before.

Can you provide it please?

> 
> thks
> 
> ms419@freezone.co.uk wrote:
> 
> > How does one unmount when umount doesn't work?
> >
> > Somehow, I got an NFS / AutoFS mount that just won't unmount.
> >
> > I noticed /var/autofs/net was mounted twice, so I stopped AutoFS & 
> > tried killing the remaining automount process. "kill 14986" didn't 
> > work; I needed "kill -9 14986". The following mounts remain:
> >
> > wum:~# mount
> > [...]
> > automount(pid14986) on /var/autofs/net type autofs 
> > (rw,fd=5,pgrp=14986,minproto=2,maxproto=4)
> > tor:/home on /var/autofs/net/tor/home type nfs 
> > (rw,nosuid,nodev,hard,intr,addr=192.168.103.158)
> >
> > & I can't unmount them:
> >
> > wum:~# umount /var/autofs/net/tor/home
> > umount: /var/autofs/net/tor/home: device is busy
> > umount: /var/autofs/net/tor/home: device is busy
> > wum:~# umount -f /var/autofs/net/tor/home
> > umount2: Device or resource busy
> > umount: /var/autofs/net/tor/home: Illegal seek
> > umount2: Device or resource busy
> > umount: /var/autofs/net/tor/home: device is busy
> > wum:~# umount /var/autofs/net
> > umount: /var/autofs/net: device is busy
> > umount: /var/autofs/net: device is busy
> > wum:~# umount -f /var/autofs/net
> > umount2: Device or resource busy
> > umount: automount(pid14986): not found
> > umount: /var/autofs/net: Illegal seek
> > umount2: Device or resource busy
> > umount: /var/autofs/net: device is busy
> >
> > I triple checked that no process is using these mounts. How do I 
> > unmount them?
> >
> > Thanks!
> >
> > Jack
> >
> >
> >
> > -------------------------------------------------------
> > This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> > Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> > Camcorder. More prizes in the weekly Lunch Hour Challenge.
> > Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> > _______________________________________________
> > NFS maillist  -  NFS@lists.sourceforge.net
> > https://lists.sourceforge.net/lists/listinfo/nfs
> 
> 
> 
> 
> -------------------------------------------------------
> This Newsletter Sponsored by: Macrovision 
> For reliable Linux application installations, use the industry's leading
> setup authoring tool, InstallShield X. Learn more and evaluate 
> today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
> 



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

* Re: how to force umount when "Device or resource busy"?
  2004-11-01  8:15   ` Ian Kent
@ 2004-11-01 16:55     ` upendra gandhi
  2004-11-01 23:14       ` Ian Kent
  0 siblings, 1 reply; 8+ messages in thread
From: upendra gandhi @ 2004-11-01 16:55 UTC (permalink / raw)
  To: Ian Kent; +Cc: ms419, nfs

[-- Attachment #1: Type: text/html, Size: 4880 bytes --]

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

* Re: how to force umount when "Device or resource busy"?
  2004-11-01 16:55     ` upendra gandhi
@ 2004-11-01 23:14       ` Ian Kent
  0 siblings, 0 replies; 8+ messages in thread
From: Ian Kent @ 2004-11-01 23:14 UTC (permalink / raw)
  To: upendra gandhi; +Cc: ms419, nfs

On Mon, 1 Nov 2004, upendra gandhi wrote:

> Ver:    autofs-4.1.3-12

So perhaps you are using Fedora core 3?
With kernel version?

Can you duplicate this easily?

> 
> Ian Kent wrote:
> 
>  On Thu, 28 Oct 2004, upendra gandhi wrote:
> 
>   
> 
>  is there an answer to this we are facing this issue in autofs4
>     
> 
>  I Asked for version info. before.
> 
> Can you provide it please?
> 
>   
> 
>  thks
> 
> ms419@freezone.co.uk wrote:
> 
>     
> 
>  How does one unmount when umount doesn't work?
> 
> Somehow, I got an NFS / AutoFS mount that just won't unmount.
> 
> I noticed /var/autofs/net was mounted twice, so I stopped AutoFS & 
> tried killing the remaining automount process. "kill 14986" didn't 
> work; I needed "kill -9 14986". The following mounts remain:
> 
> wum:~# mount
> [...]
> automount(pid14986) on /var/autofs/net type autofs 
> (rw,fd=5,pgrp=14986,minproto=2,maxproto=4)
> tor:/home on /var/autofs/net/tor/home type nfs 
> (rw,nosuid,nodev,hard,intr,addr=192.168.103.158)
> 
> & I can't unmount them:
> 
> wum:~# umount /var/autofs/net/tor/home
> umount: /var/autofs/net/tor/home: device is busy
> umount: /var/autofs/net/tor/home: device is busy
> wum:~# umount -f /var/autofs/net/tor/home
> umount2: Device or resource busy
> umount: /var/autofs/net/tor/home: Illegal seek
> umount2: Device or resource busy
> umount: /var/autofs/net/tor/home: device is busy
> wum:~# umount /var/autofs/net
> umount: /var/autofs/net: device is busy
> umount: /var/autofs/net: device is busy
> wum:~# umount -f /var/autofs/net
> umount2: Device or resource busy
> umount: automount(pid14986): not found
> umount: /var/autofs/net: Illegal seek
> umount2: Device or resource busy
> umount: /var/autofs/net: device is busy
> 
> I triple checked that no process is using these mounts. How do I 
> unmount them?
> 
> Thanks!
> 
> Jack
> 
> 
> 
> -------------------------------------------------------
> This SF.Net email is sponsored by: thawte's Crypto Challenge Vl
> Crack the code and win a Sony DCRHC40 MiniDV Digital Handycam
> Camcorder. More prizes in the weekly Lunch Hour Challenge.
> Sign up NOW http://ad.doubleclick.net/clk;10740251;10262165;m
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>       
> 
>  -------------------------------------------------------
> This Newsletter Sponsored by: Macrovision 
> For reliable Linux application installations, use the industry's leading
> setup authoring tool, InstallShield X. Learn more and evaluate 
> today. http://clk.atdmt.com/MSI/go/ins0030000001msi/direct/01/
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
> 
>     
> 
>  -------------------------------------------------------
> This SF.Net email is sponsored by:
> Sybase ASE Linux Express Edition - download now for FREE
> LinuxWorld Reader's Choice Award Winner for best database on Linux.
> http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
> _______________________________________________
> NFS maillist  -  NFS@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/nfs
>   
> 
> 
> 



-------------------------------------------------------
This SF.Net email is sponsored by:
Sybase ASE Linux Express Edition - download now for FREE
LinuxWorld Reader's Choice Award Winner for best database on Linux.
http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click
_______________________________________________
NFS maillist  -  NFS@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/nfs

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

end of thread, other threads:[~2004-11-01 23:14 UTC | newest]

Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2004-09-14 19:17 how to force umount when "Device or resource busy"? ms419
2004-09-15  1:09 ` Ian Kent
2004-09-15  1:14 ` Greg Banks
2004-10-28 23:58 ` upendra gandhi
2004-10-29  0:34   ` Trond Myklebust
2004-11-01  8:15   ` Ian Kent
2004-11-01 16:55     ` upendra gandhi
2004-11-01 23:14       ` Ian Kent

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.