From owner-freebsd-questions Sat Nov 3 19:16:17 2001 Delivered-To: freebsd-questions@freebsd.org Received: from dan.emsphone.com (dan.emsphone.com [199.67.51.101]) by hub.freebsd.org (Postfix) with ESMTP id 2DF6337B406 for ; Sat, 3 Nov 2001 19:16:15 -0800 (PST) Received: (from dan@localhost) by dan.emsphone.com (8.11.6/8.11.6) id fA43F8Z48013; Sat, 3 Nov 2001 21:15:08 -0600 (CST) (envelope-from dan) Date: Sat, 3 Nov 2001 21:15:08 -0600 From: Dan Nelson To: Chip Cc: freebsd-questions@FreeBSD.ORG Subject: Re: NFS mount won't unmount Message-ID: <20011104031507.GA45145@dan.emsphone.com> References: <0111022206152Y.96094@chip.wiegand.org> <20011104021157.GB92910@dan.emsphone.com> <0111031907522Z.96094@chip.wiegand.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <0111031907522Z.96094@chip.wiegand.org> User-Agent: Mutt/1.3.23.1i X-OS: FreeBSD 5.0-CURRENT X-message-flag: Outlook Error Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG In the last episode (Nov 03), Chip said: > On Saturday 03 November 2001 18:11, Dan Nelson wrote: > > In the last episode (Nov 02), Chip said: > > > I removed a computer from my network, which had nfs shares, and > > > now on another machine I cannot umount that directory. I tried > > > killall -HUP mountd but that didn't work. I cannot remove the > > > directory name or unmount it, I just get device busy messages. > > > > umount -f /mountpoint > > That doesn't work. Just results in a failed: device busy message. > That 'device' no longer exists, it was shutdown, removed from the > network, it's gone, it's no-more. So it is not possible for it to be > busy. I realize I made a mistake by not unmounting this mountpoint > prior to taking it down, now I would like to resolve this without a > reboot. Hm. umount -f should definitely work. I know I've dismounted no-longer-valid mounts with it. Try specifying the NFS name of the mount (i.e. "umount -f server:/path" ). -f is not supposed to ever return an error. -- Dan Nelson dnelson@allantgroup.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message