From owner-freebsd-questions@FreeBSD.ORG Fri Jan 11 18:56:21 2008 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C311016A41B for ; Fri, 11 Jan 2008 18:56:21 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from mail.twinthornes.com (mail.twinthornes.com [65.75.198.147]) by mx1.freebsd.org (Postfix) with ESMTP id 9983E13C461 for ; Fri, 11 Jan 2008 18:56:21 +0000 (UTC) (envelope-from freebsd@bitfreak.org) Received: from [10.9.70.10] (pool-71-117-237-172.ptldor.fios.verizon.net [71.117.237.172]) by mail.twinthornes.com (Postfix) with ESMTP id DBC17EA; Fri, 11 Jan 2008 10:56:20 -0800 (PST) Message-ID: <4787BBDB.3070608@bitfreak.org> Date: Fri, 11 Jan 2008 10:56:27 -0800 From: Darren Pilgrim User-Agent: Thunderbird 2.0.0.9 (Windows/20071031) MIME-Version: 1.0 To: Kris Kennaway References: <47871856.2070505@bitfreak.org> <47874B18.5020408@FreeBSD.org> In-Reply-To: <47874B18.5020408@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-questions@freebsd.org Subject: Re: Unable to unmount idle filesystem on 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 18:56:21 -0000 Kris Kennaway wrote: > Darren Pilgrim wrote: >> I'm unable to unmount an idle filesystem (or even drop it to >> read-only): >> >> # mount >> /dev/da0s1a on / (ufs, local, noatime) >> devfs on /dev (devfs, local) >> /dev/da0s1d on /var (ufs, local, noatime, soft-updates) >> /dev/da0s1e on /usr (ufs, local, noatime, soft-updates) >> /dev/da0s1fp1 on /usr/obj (ufs, asynchronous, local, noatime) >> /dev/da0s1fp2 on /usr/ports (ufs, local, soft-updates) >> /dev/da0s1fp3 on /usr/src (ufs, local, soft-updates) >> /dev/da0s2d on /data (ufs, local, noatime, soft-updates) >> >> # fstat -f /usr/ports >> USER CMD PID FD MOUNT INUM MODE SZ|DV R/W >> >> # umount /usr/ports >> umount: unmount of /usr/ports failed: Device busy >> >> # umount -f /usr/ports >> umount: unmount of /usr/ports failed: Device busy >> >> # mount -o ro /usr/ports >> mount: /dev/da0s1fp2: Operation not permitted >> >> # uname -r >> 6.2-RELEASE-p8 > > Strange, can you break to DDB and do 'show lockedvnods'? I don't have the necessary options compiled into the kernel. I'll build a kernel with the KDB and DDB options and hope the problem recurs.