From owner-freebsd-questions@FreeBSD.ORG Fri Jan 11 08:55:37 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 AFEDC16A417 for ; Fri, 11 Jan 2008 08:55:37 +0000 (UTC) (envelope-from marcs@draenor.org) Received: from mx.unseen.co.za (mx.unseen.co.za [192.96.96.11]) by mx1.freebsd.org (Postfix) with ESMTP id 5CCB613C458 for ; Fri, 11 Jan 2008 08:55:36 +0000 (UTC) (envelope-from marcs@draenor.org) Received: from marcs by aztec.co.za with local (Exim 4.34) id 1JDF3R-0005hq-IV; Fri, 11 Jan 2008 10:15:53 +0200 Date: Fri, 11 Jan 2008 10:15:53 +0200 From: Marc Silver To: Darren Pilgrim Message-ID: <20080111081553.GK15928@draenor.org> References: <47871856.2070505@bitfreak.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <47871856.2070505@bitfreak.org> User-Agent: Mutt/1.3.28i X-PGP-Key: http://draenor.org/pubkey.asc 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 08:55:37 -0000 Hi there, Strange problem. The only thing I could possibly think of is to try and install lsof from the ports tree and see if that can identify what may be using this particular mount. Short of that, dropping to single user mode/rebooting may be your only other option as far as I am aware. Cheers, Marc On Thu, Jan 10, 2008 at 11:18:46PM -0800, 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 > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" -- Light up the Darkness. - Bob Marley