From owner-freebsd-gnome@FreeBSD.ORG Thu Feb 28 21:44:38 2008 Return-Path: Delivered-To: freebsd-gnome@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A22D71065674; Thu, 28 Feb 2008 21:44:38 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from falcon.cybervisiontech.com (falcon.cybervisiontech.com [217.20.163.9]) by mx1.freebsd.org (Postfix) with ESMTP id 0F0508FC32; Thu, 28 Feb 2008 21:44:37 +0000 (UTC) (envelope-from avg@icyb.net.ua) Received: from localhost (localhost [127.0.0.1]) by falcon.cybervisiontech.com (Postfix) with ESMTP id 5257A74400B; Thu, 28 Feb 2008 23:44:36 +0200 (EET) X-Virus-Scanned: Debian amavisd-new at falcon.cybervisiontech.com Received: from falcon.cybervisiontech.com ([127.0.0.1]) by localhost (falcon.cybervisiontech.com [127.0.0.1]) (amavisd-new, port 10027) with ESMTP id ww2VDPU-G-YC; Thu, 28 Feb 2008 23:44:36 +0200 (EET) Received: from [91.193.172.111] (unknown [91.193.172.111]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by falcon.cybervisiontech.com (Postfix) with ESMTP id 765D874400A; Thu, 28 Feb 2008 23:44:35 +0200 (EET) Message-ID: <47C72B3C.7010407@icyb.net.ua> Date: Thu, 28 Feb 2008 23:44:28 +0200 From: Andriy Gapon User-Agent: Thunderbird 2.0.0.9 (X11/20071208) MIME-Version: 1.0 To: Joe Marcus Clarke References: <47C71FE4.1000605@icyb.net.ua> <47C72165.5060105@freebsd.org> <47C725D1.5000002@icyb.net.ua> <47C7290E.3020108@freebsd.org> In-Reply-To: <47C7290E.3020108@freebsd.org> Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 7bit Cc: freebsd-gnome@freebsd.org Subject: Re: hal and gmirror, gjournal X-BeenThere: freebsd-gnome@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GNOME for FreeBSD -- porting and maintaining List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 28 Feb 2008 21:44:38 -0000 on 28/02/2008 23:35 Joe Marcus Clarke said the following: > Andriy Gapon wrote: >> on 28/02/2008 23:02 Joe Marcus Clarke said the following: >>> Andriy Gapon wrote: >>>> It seems that hal gets confused by some "g" things. >>>> For example, I have two slices on my hdd: s1 and s2. >>>> s1 contains "primary" filesystems, s2 contains gmirror counter-part for >>>> s1a and gjournal journals for s1d and s1e. >>>> In the end, it's hard to say to which slice belongs a gmirror using s1a >>>> and s2a as underlying providers. Probably to none. But hal insists on >>>> rooting everything into a strict hierarchy and it seems that it does a >>>> poor job at qualifying such GEOM configurations. >>>> Please find lshal output here: >>>> http://www.icyb.net.ua/~avg/lshal.txt >>>> I used hal-device-manager to visualize the topology. >>>> >>>> P.S. >>>> exact info: >>>> ad4s1 and ad4s2a are combined into gmirror named rootfs >>>> ad4s1d is data provide and ad4s2d is journal provider for ad4s1d.journal >>>> ditto for 'e' >>>> >>>> And, for example, hal qualifies ad4s2d (journal provider) as a parent of >>>> ad4s1d.journal (the 'gjournal-ed' partition). >>> In the future, always include everything listed at >>> http://www.freebsd.org/gnome/docs/faq2.html#q19 when reporting hal problems. >> Thank you for the pointer to this extensive information. >> Additional data is attached. >> >> P.S. the instructions have --verbose-yes for hald command, it should >> '=yes' ('-' vs '='). >> >> P.P.S. this info should be also applicable to the other problem that I >> described (dvd-ram+fat32). > > According to GEOM the .journal volume is a child of the main volume. > That is, ad4s2d is the parent of ad4s2d.journal. So hal is reporting > this correctly (and this is what I see on my home machine which is using > gjournal). I'm not sure why you think this is a problem since you mount > the .journal node in fstab. It just seemed to me that it would be more natural to be a child of data provider (ad4s1d) or of both. But if that is what GEOM says, then be it. Or maybe I should bark at a different tree :-) > As for the mirror problem, I'm not sure how to fix that. The mirror is > a child of two nodes which violates the tree structure. I'm open to > suggestions or patches. No suggestions at this moment. I've been acting like a mere user, complaining about things that didn't fit into 'intuitive' world-view. -- Andriy Gapon