From owner-freebsd-questions@FreeBSD.ORG Thu Feb 19 11:32:07 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 7E8E7106566B for ; Thu, 19 Feb 2009 11:32:07 +0000 (UTC) (envelope-from freebsd@edvax.de) Received: from mx01.qsc.de (mx01.qsc.de [213.148.129.14]) by mx1.freebsd.org (Postfix) with ESMTP id 3BA118FC08 for ; Thu, 19 Feb 2009 11:32:07 +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 mx01.qsc.de (Postfix) with ESMTP id 237C63D25A; Thu, 19 Feb 2009 12:31:51 +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 n1JBVibe001410; Thu, 19 Feb 2009 12:31:44 +0100 (CET) (envelope-from freebsd@edvax.de) Date: Thu, 19 Feb 2009 12:31:43 +0100 From: Polytropon To: Mel Message-Id: <20090219123143.2b127ebd.freebsd@edvax.de> In-Reply-To: <200902181044.31941.fbsd.questions@rachie.is-a-geek.net> References: <20090212062505.ca66b93e.freebsd@edvax.de> <200902171330.55677.fbsd.questions@rachie.is-a-geek.net> <20090218160752.20522f26.freebsd@edvax.de> <200902181044.31941.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: freebsd-questions@freebsd.org Subject: SOLVED: 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: Thu, 19 Feb 2009 11:32:07 -0000 On Wed, 18 Feb 2009 10:44:31 -0900, Mel wrote: > 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). Hm, I keep /home out of /usr, so there's only a symlink (for the obvious compatibility reasons) /home@ -> export/home. BUT, and now the big surprise, maybe a possibility: % mount -p /dev/ad0s1a / ufs rw 1 1 devfs /dev devfs rw 0 0 /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 devfs /var/named/dev devfs rw 0 0 linprocfs /usr/compat/linux/proc linprocfs rw 0 0 ^^^^ Haha!!! It seems that the linprocfs prevents umounting of /usr because its mountpoint /usr/compat/linux/proc is de facto INSIDE /usr. I've checked this while in SUM: When umounting linprocfs prior to /usr, no problems occur. I'll speak to Mr. Tritter so he can stop his investigations. Seems that we found the reason. Thanks for your help. Seems that I'm too stupid to own a computer. :-) -- Polytropon >From Magdeburg, Germany Happy FreeBSD user since 4.0 Andra moi ennepe, Mousa, ...