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

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.