From owner-freebsd-questions@FreeBSD.ORG Wed Feb 18 15:08:00 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 C560A106566B for ; Wed, 18 Feb 2009 15:08:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx02.qsc.de (mx02.qsc.de [213.148.130.14]) by mx1.freebsd.org (Postfix) with ESMTP id 555938FC12 for ; Wed, 18 Feb 2009 15:08:00 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from r55.edvax.de (port-92-196-52-176.dynamic.qsc.de [92.196.52.176]) by mx02.qsc.de (Postfix) with ESMTP id 218AF16C019A; Wed, 18 Feb 2009 16:07:58 +0100 (CET) Received: from r55.edvax.de (localhost [127.0.0.1]) by r55.edvax.de (8.14.2/8.14.2) with SMTP id n1IF7qpW001366; Wed, 18 Feb 2009 16:07:52 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Wed, 18 Feb 2009 16:07:52 +0100 From: Polytropon To: Mel Message-Id: <20090218160752.20522f26.freebsd@edvax.de> In-Reply-To: <200902171330.55677.fbsd.questions@rachie.is-a-geek.net> References: <20090212062505.ca66b93e.freebsd@edvax.de> <200902161044.02542.fbsd.questions@rachie.is-a-geek.net> <20090217123757.4685b67b.freebsd@edvax.de> <200902171330.55677.fbsd.questions@rachie.is-a-geek.net> Organization: EDVAX X-Mailer: Sylpheed 2.4.7 (GTK+ 2.12.1; i386-portbld-freebsd7.0) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: Tim Judd , freebsd-questions@freebsd.org Subject: Re: Determining process preventing umount of busy partition X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: Polytropon List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 18 Feb 2009 15:08:02 -0000 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 /. 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.) 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. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...