From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 19:44:32 2009 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 F0C6B1065670 for ; Wed, 18 Feb 2009 19:44:32 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from mail.rachie.is-a-geek.net (rachie.is-a-geek.net [66.230.99.27]) by mx1.freebsd.org (Postfix) with ESMTP id BB27B8FC16 for ; Wed, 18 Feb 2009 19:44:32 +0000 (UTC) (envelope-from fbsd.questions@rachie.is-a-geek.net) Received: from localhost (mail.lan.rachie.is-a-geek.net [192.168.2.101]) by mail.rachie.is-a-geek.net (Postfix) with ESMTP id 29E35AFC1FE; Wed, 18 Feb 2009 10:44:32 -0900 (AKST) From: Mel To: freebsd-questions@freebsd.org, Polytropon Date: Wed, 18 Feb 2009 10:44:31 -0900 User-Agent: KMail/1.9.10 References: <20090212062505.ca66b93e.freebsd@edvax.de> <200902171330.55677.fbsd.questions@rachie.is-a-geek.net> <20090218160752.20522f26.freebsd@edvax.de> In-Reply-To: <20090218160752.20522f26.freebsd@edvax.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Content-Disposition: inline Message-Id: <200902181044.31941.fbsd.questions@rachie.is-a-geek.net> Cc: Subject: Re: Determining process preventing umount of busy partition 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: Wed, 18 Feb 2009 19:44:33 -0000 On Wednesday 18 February 2009 06:07:52 Polytropon wrote: > On Tue, 17 Feb 2009 13:30:55 -0900, Mel wrote: > > This is weird, though. New theories (where are Chase, Cameron and Foreman > > when you need them!): > > Spying around in someone else's house. :-) > > > fstat is lying, instead use: > > fstat -f /usr -m -v > > Well, I've taken that pill. This is the result: > > # /root/bin/fstat -m -v -f /usr > USER CMD PID FD MOUNT INUM MODE SZ|DV R/W > # _ > > It shows NOTHING. I have made a copy of fstat binary in /root/bin, > which is possible because all needed libs are in /. Well, that rules that out. > Furthermore, I've carefully studied the output of "ps ax" and even > of "top -t", but as well, nothing that indicates some activity on > /usr... > > > You have a mount on top of /usr, ie.: /usr/local or /usr/ports. > > No. From /etc/fstab: > > # Device Mountpoint FStype Options Dump > Pass# # ----------- --------------------- ------ ------------- ----- > ----- /dev/ad0s1b none swap sw 0 > 0 /dev/ad0s1a / ufs rw 1 > 1 /dev/ad0s1d /tmp ufs rw 2 > 2 /dev/ad0s1e /var ufs rw 2 2 > /dev/ad0s1f /usr ufs rw 2 2 > /dev/ad0s1g /export/home ufs rw 2 2 > > These are the only partitions on ad0. /usr has its own partition, > nothing mounted "on top" of it. (You mentioned a valid point: I > sometimes have another disk mounted inside /export/home, and I > cannot umount /export/home while this partition is mounted. But > that's not the case here.) Can you show mount -p before trying to unmount /usr? On the off-chance /export or /export/home is really a symlink to /usr/home (mount -p shows realpath(3) for mounts). > This is REALLY strange, I should get a whiteboard, some pens and > start making a drawing of the symptoms, until Dr. Cuddy tells me > not to do so. :-) Lol, I'm actually enclined to talk to Wilson, since this smells like something up his alley (and free lunch). -- Mel Problem with today's modular software: they start with the modules and never get to the software part.