From owner-freebsd-questions@FreeBSD.ORG Mon May 17 23:33:04 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 21BE816A4CE for ; Mon, 17 May 2004 23:33:04 -0700 (PDT) Received: from lv.raad.tartu.ee (lv.raad.tartu.ee [194.126.106.110]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8BDA043D5C for ; Mon, 17 May 2004 23:33:02 -0700 (PDT) (envelope-from toomas.aas@raad.tartu.ee) Received: Message by Barricade lv.raad.tartu.ee with ESMTP id i4I6X0WO024014 for ; Tue, 18 May 2004 09:33:00 +0300 Message-Id: <200405180633.i4I6X0WO024014@lv.raad.tartu.ee> Received: from INFO/SpoolDir by raad.tartu.ee (Mercury 1.48); 18 May 04 09:33:00 +0300 Received: from SpoolDir by INFO (Mercury 1.48); 18 May 04 09:32:53 +0300 From: "Toomas Aas" Organization: Tartu City Government To: questions@freebsd.org Date: Tue, 18 May 2004 09:32:46 +0300 MIME-Version: 1.0 Content-type: text/plain; charset=US-ASCII Content-transfer-encoding: 7BIT Priority: normal Subject: unmounting filesystem from removed device X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 18 May 2004 06:33:04 -0000 Hello! Due to insufficient caffeine, an external FireWire HDD was removed from a system running FreeBSD 4.9 without first unmounting the filesystem. Additionally, 'fwcontrol -r' command was issued several times. The end result is that the filesystem appears to be mounted on da1 and I can't get rid of it: # mount | grep backup /dev/da1s1 on /backup (ufs, local) # umount /backup umount: unmount of /backup failed: Device not configured # umount -f /backup umount: unmount of /backup failed: Device not configured Is there any way to get rid of this filesystem without re-attaching the external HDD (which isn't as easy as it sounds) or rebooting the PC? -- Toomas Aas | toomas.aas@raad.tartu.ee | http://www.raad.tartu.ee/~toomas/ * Save the whales! Collect the whole set!