From: Ian Kent Subject: Re: how to force umount when "Device or resource busy"? Date: Mon, 1 Nov 2004 16:15:25 +0800 (WST) Message-ID: References: <418187A2.6070702@oracle.com> Mime-Version: 1.0 Content-Type: TEXT/PLAIN; 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 1COXMD-0007A3-9U for nfs@lists.sourceforge.net; Mon, 01 Nov 2004 00:16:05 -0800 Received: from wombat.indigo.net.au ([202.0.185.19]) by sc8-sf-mx1.sourceforge.net with esmtp (TLSv1:DES-CBC3-SHA:168) (Exim 4.41) id 1COXMB-0008Gt-Qw for nfs@lists.sourceforge.net; Mon, 01 Nov 2004 00:16:05 -0800 To: upendra gandhi In-Reply-To: <418187A2.6070702@oracle.com> 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: 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