From owner-freebsd-current@FreeBSD.ORG Tue Jul 14 18:08:04 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id B623E106566B for ; Tue, 14 Jul 2009 18:08:04 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from host.omnilan.net (host.omnilan.net [62.245.232.135]) by mx1.freebsd.org (Postfix) with ESMTP id 205C38FC19 for ; Tue, 14 Jul 2009 18:08:03 +0000 (UTC) (envelope-from h.schmalzbauer@omnilan.de) Received: from titan.flintsbach.schmalzbauer.de (titan.flintsbach.schmalzbauer.de [172.21.1.150]) (authenticated bits=0) by host.omnilan.net (8.13.8/8.13.8) with ESMTP id n6EI82uR037489 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Tue, 14 Jul 2009 20:08:02 +0200 (CEST) (envelope-from h.schmalzbauer@omnilan.de) Message-ID: <4A5CC981.8010000@omnilan.de> Date: Tue, 14 Jul 2009 20:08:01 +0200 From: Harald Schmalzbauer Organization: OmniLAN User-Agent: Thunderbird 2.0.0.21 (X11/20090425) MIME-Version: 1.0 To: Ivan Voras References: <4A5CB2D1.5070106@omnilan.de> In-Reply-To: X-Enigmail-Version: 0.95.6 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enig20B8FCD5E70E798A6B32575C" Cc: freebsd-current@freebsd.org Subject: Re: geom_label: gpt/labelname for gmirror provider? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Jul 2009 18:08:05 -0000 This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enig20B8FCD5E70E798A6B32575C Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: quoted-printable Ivan Voras schrieb am 14.07.2009 19:15 (localtime): > Harald Schmalzbauer wrote: >> Hello, >> >> first of all thank you very much for the gpt label support in >> geom_label! This is really nice and makes disk partitioning well-arran= ged. >=20 > Yes, it is lots of fun. >=20 >> I tried to use the gbt/label as provider gor glabel, but that didn't >> work. It looked as if gmirror wrote the label succesfully, but `gmirro= r >> list` was empty. Just replacing gpt/label with ad4p2 worked as expecte= d. >> Is it impossible by design to use gpt/label as provider? >=20 > I don't quite understand what you are asking. You create a mirror (with= > "gmirror label...") and then a GPT on top of it, and then you can't see= > the GPT labels? If so, then it unfortunately reminds me of this thread:= > http://permalink.gmane.org/gmane.os.freebsd.questions/248884 >=20 > If it's something else, please explain with more details. Sorry for my bad explanation! I'm using `gpart modify -l part1disk1 -i 2 ad4` and `gpart modify -l part1disk2 -i 2 ad6` so I have /dev/gpt/part1disk1 and /dev/gpt/part1disk2 Now I want to use these as providers for geom_mirror: `gmirror label -b load MIRROR1 gpt/part1disk2 gpt/part1disk2` gmirror prints that metadata was successfully written (to provider=20 gpt/part1diskX) but in fact geom_mirror doesn't jump in and detect the=20 mirror. Thanks, -Harry --------------enig20B8FCD5E70E798A6B32575C Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.12 (FreeBSD) iEYEARECAAYFAkpcyYIACgkQLDqVQ9VXb8jyaACfVwJe+vrNuAx7a4QmFgdZfFwa oLgAoMOcTT3bv61qJhsh5PrVf9JJEgmd =qRy/ -----END PGP SIGNATURE----- --------------enig20B8FCD5E70E798A6B32575C--