From: upendra gandhi Subject: Re: how to force umount when "Device or resource busy"? Date: Mon, 01 Nov 2004 08:55:23 -0800 Message-ID: <41866A7B.9030303@oracle.com> References: <418187A2.6070702@oracle.com> Mime-Version: 1.0 Content-Type: text/html; charset=us-ascii Cc: ms419@freezone.co.uk, nfs@lists.sourceforge.net Return-path: Received: from sc8-sf-mx1-b.sourceforge.net ([10.3.1.11] helo=sc8-sf-mx1.sourceforge.net) by sc8-sf-list2.sourceforge.net with esmtp (Exim 4.30) id 1COfTH-0007fJ-Kt for nfs@lists.sourceforge.net; Mon, 01 Nov 2004 08:55:55 -0800 Received: from agminet01.oracle.com ([141.146.126.228]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1COfTF-00039F-3T for nfs@lists.sourceforge.net; Mon, 01 Nov 2004 08:55:55 -0800 To: Ian Kent In-Reply-To: Sender: nfs-admin@lists.sourceforge.net Errors-To: nfs-admin@lists.sourceforge.net List-Unsubscribe: , List-Id: Discussion of NFS under Linux development, interoperability, and testing. List-Post: List-Help: List-Subscribe: , List-Archive: Ver:    autofs-4.1.3-12

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