From owner-freebsd-geom@FreeBSD.ORG Sun Jan 3 19:21:06 2010 Return-Path: Delivered-To: freebsd-geom@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 31AED106568B for ; Sun, 3 Jan 2010 19:21:06 +0000 (UTC) (envelope-from spawk@acm.poly.edu) Received: from acm.poly.edu (acm.poly.edu [128.238.9.200]) by mx1.freebsd.org (Postfix) with ESMTP id C47C48FC38 for ; Sun, 3 Jan 2010 19:21:05 +0000 (UTC) Received: (qmail 10301 invoked from network); 3 Jan 2010 18:54:23 -0000 Received: from unknown (HELO ?192.168.0.2?) (spawk@69.123.45.64) by acm.poly.edu with AES256-SHA encrypted SMTP; 3 Jan 2010 18:54:23 -0000 Message-ID: <4B40E7B6.8040500@acm.poly.edu> Date: Sun, 03 Jan 2010 13:53:42 -0500 From: Boris Kochergin User-Agent: Thunderbird 2.0.0.23 (X11/20091021) MIME-Version: 1.0 To: martinko References: <20100103013537.GK3508@acme.spoerlein.net> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit Cc: freebsd-geom@freebsd.org Subject: Re: gstat: geom_gettree = -1: No such file or directory X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 03 Jan 2010 19:21:06 -0000 martinko wrote: > Ulrich Spörlein wrote: >> On Fri, 01.01.2010 at 18:47:27 +0100, martinko wrote: >>> Hi list, >>> >>> gstat(8) does not work here on 8.0 (it worked happily on 6.x and 7.x) : >>> >>> # gstat >>> gstat: geom_gettree = -1: No such file or directory >>> >>> Is this known ? What can I do ? >> >> I doubt that it is widely known, but I've seen these 2-3 times before >> when fussing around with USB media and/or md(4) devices with gmirror on >> top. Basically, if you get really creative with the geom layering, this >> is likely to happen. >> >> It sure is a bug, but without a good way to reproduce, noone's gonna fix >> it. > > Well, it is definitely reproducible here -- I cannot run gstat(8). > > Apart from mouse I have no USB devices connected. > > I use tmpmfs="YES" in rc.conf but I do not use gmirror nor any other > creative GEOM layering. > > If someone's willing to investigate -- what info should I provide ? > > Cheers, > > Martin I believe geom_gettree() gets its information from the kern.geom.confxml sysctl. With that said, can you put the output of the following command somewhere? sysctl -b kern.geom.confxml -Boris