From owner-freebsd-questions@FreeBSD.ORG Fri Jan 11 23:26:43 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 B012E16A417 for ; Fri, 11 Jan 2008 23:26:43 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from ayn.mi.celestial.com (hayek.celestial.com [192.136.111.12]) by mx1.freebsd.org (Postfix) with ESMTP id 8FEF013C43E for ; Fri, 11 Jan 2008 23:26:43 +0000 (UTC) (envelope-from bill@ayn.mi.celestial.com) Received: from localhost (localhost [127.0.0.1]) by ayn.mi.celestial.com (Postfix) with ESMTP id DEAD868B709AB; Fri, 11 Jan 2008 15:30:15 -0800 (PST) X-Virus-Scanned: amavisd-new at mi.celestial.com Received: from ayn.mi.celestial.com ([127.0.0.1]) by localhost (ayn.mi.celestial.com [127.0.0.1]) (amavisd-new, port 10024) with LMTP id WYycObX1gcqO; Fri, 11 Jan 2008 15:30:15 -0800 (PST) Received: by ayn.mi.celestial.com (Postfix, from userid 203) id BA0DE68B451B3; Fri, 11 Jan 2008 15:30:15 -0800 (PST) Date: Fri, 11 Jan 2008 15:30:15 -0800 From: Bill Campbell To: freebsd-questions@freebsd.org, Kris Kennaway Message-ID: <20080111233015.GA20696@ayn.mi.celestial.com> Mail-Followup-To: freebsd-questions@freebsd.org, Kris Kennaway References: <47871856.2070505@bitfreak.org> <47874B18.5020408@FreeBSD.org> <4787BBDB.3070608@bitfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <4787BBDB.3070608@bitfreak.org> User-Agent: Mutt/1.5.11 OpenPKG/2.5 Cc: Subject: Re: Unable to unmount idle filesystem on 6.2 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd@celestial.com List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 11 Jan 2008 23:26:43 -0000 On Fri, Jan 11, 2008, Darren Pilgrim wrote: >Kris Kennaway wrote: >>Darren Pilgrim wrote: >>>I'm unable to unmount an idle filesystem (or even drop it to >>>read-only): ... >>># 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. Have you tried ``lsof /usr/ports''? to see what process(es) are using that device? Bill -- INTERNET: bill@celestial.com Bill Campbell; Celestial Software LLC URL: http://www.celestial.com/ PO Box 820; 6641 E. Mercer Way FAX: (206) 232-9186 Mercer Island, WA 98040-0820; (206) 236-1676 If the government can take a man's money without his consent, there is no limit to the additional tyranny it may practise upon him; for, with his money, it can hire soldiers to stand over him, keep him in subjection, plunder him at discretion, and kill him if he resists. Lysander Spooner, 1852