From owner-freebsd-current@FreeBSD.ORG Sun May 18 20:04:54 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 66D1237B401 for ; Sun, 18 May 2003 20:04:54 -0700 (PDT) Received: from alpha.siliconlandmark.com (alpha.siliconlandmark.com [209.69.98.4]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8DCD443F85 for ; Sun, 18 May 2003 20:04:53 -0700 (PDT) (envelope-from andy@siliconlandmark.com) Received: from alpha.siliconlandmark.com (localhost [127.0.0.1]) h4J34qAQ046780 for ; Sun, 18 May 2003 23:04:52 -0400 (EDT) (envelope-from andy@siliconlandmark.com) Received: from localhost (andy@localhost)h4J34q3q046777 for ; Sun, 18 May 2003 23:04:52 -0400 (EDT) (envelope-from andy@siliconlandmark.com) X-Authentication-Warning: alpha.siliconlandmark.com: andy owned process doing -bs Date: Sun, 18 May 2003 23:04:52 -0400 (EDT) From: Andre Guibert de Bruet To: current@freebsd.org Message-ID: <20030518225640.S28986@alpha.siliconlandmark.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: 5.1-BETA umount problems X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 19 May 2003 03:04:54 -0000 Hi, Have a look at the following: bling# umount -f /lib bling# umount -f /var bling# umount -f /tmp bling# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a 253678 114254 119130 49% / devfs 1 1 0 100% /dev /dev/ad4s1f 188308574 5989134 167254756 3% /usr /dev/ad2 236514322 134812068 82781110 62% /lib/oldbackup bling# umount -f /lib/oldbackup umount: unmount of /lib/oldbackup failed: No such file or directory bling# mount /lib bling# umount /lib/oldbackup umount: unmount of /lib/oldbackup failed: Invalid argument bling# umount -f /lib/oldbackup umount: unmount of /lib/oldbackup failed: Invalid argument bling# df Filesystem 1K-blocks Used Avail Capacity Mounted on /dev/ad4s1a 253678 114254 119130 49% / devfs 1 1 0 100% /dev /dev/ad4s1f 188308574 5989134 167254756 3% /usr /dev/ad2 236514322 134812068 82781110 62% /lib/oldbackup /dev/ad6s1d 188804638 53328268 120372000 31% /lib bling# mount /lib/backup mount: /lib/backup: unknown special file or file system bling# mount /lib/oldbackup mount: /dev/ad2: Device busy bling# umount /lib/oldbackup umount: unmount of /lib/oldbackup failed: Invalid argument bling# umount -f /lib/oldbackup umount: unmount of /lib/oldbackup failed: Invalid argument bling# cd /lib/oldbackup/ bling# ls -l bling# ls -lsa total 4 2 drwxr-xr-x 2 root wheel 512 May 8 00:07 . 2 drwxr-xr-x 7 root wheel 512 May 12 20:09 .. bling# /lib/oldbackup has about 130GB worth of dumps in it, none of which are displayed in ls. /dev/ad2 becomes unmountable because it's busy and /lib/oldbackup contains nothing because it's unmounted. Is there a trick to get out of this catch-22? All filesystems in bling are UFS2. FreeBSD bling.properkernel.com 5.1-BETA FreeBSD 5.1-BETA #0: Fri May 16 08:36:35 EDT 2003 andy@bling.properkernel.com:/usr/src/sys/i386/compile/BLING i386 Regards, > Andre Guibert de Bruet | Enterprise Software Consultant > > Silicon Landmark, LLC. | http://siliconlandmark.com/ >