Date: Mon, 24 Oct 2011 07:39:10 +0200 From: Pawel Jakub Dawidek <pjd@FreeBSD.org> To: Jeremy Chadwick <freebsd@jdc.parodius.com> Cc: freebsd-fs@freebsd.org Subject: Re: Anyway to change pool to use the gpt label instead of gptid? Message-ID: <20111024053909.GK1697@garage.freebsd.pl> In-Reply-To: <20111024014616.GA57735@icarus.home.lan> References: <alpine.BSF.2.00.1110231949380.65073@borg> <20111024011426.GA57172@icarus.home.lan> <alpine.BSF.2.00.1110232023400.12166@borg> <20111024014616.GA57735@icarus.home.lan>
next in thread | previous in thread | raw e-mail | index | archive | help
--ee6FjwWxuMujAVRe Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Oct 23, 2011 at 06:46:16PM -0700, Jeremy Chadwick wrote: > On Sun, Oct 23, 2011 at 08:24:54PM -0500, Larry Rosenman wrote: > > On Sun, 23 Oct 2011, Jeremy Chadwick wrote: > >=20 > > > > > > > > >Aren't GPT labels stored in the /dev/gpt directory structure? > > Nope, they're eaten: > >=20 > > $ ls /dev/gpt > > swap0 > > swap1 > > swap2 > > swap3 > > swap4 > > swap5 > > $ >=20 > This looks like a bug or design oddity in GEOM. Based on your setup you > should have swap[0-5] and disk[0-5] in /dev/gpt, not just swap[0-5]. Not in GEOM, but in GPT labels implementation. It should be part of PART class, not LABEL class. Because of this, when one opens corresponding ada<X>p<Y> for writing, both gpt/<label> and gptid/<uuid> disappear. When one opens gpt/<label> or gptid/<uuid> for writing, the other one disappears. Another issue is that when you change your label, add it or remove it, it is not automatically visable in gpt/, one needs to retaste the entire disk. --=20 Pawel Jakub Dawidek http://www.wheelsystems.com FreeBSD committer http://www.FreeBSD.org Am I Evil? Yes, I Am! http://yomoli.com --ee6FjwWxuMujAVRe Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAk6k+f0ACgkQForvXbEpPzS8kACg2apR1y+hRV9p8t7zFc67hvdB 7vIAoOYuBZjuwB2y75iCs863JM2HX6m+ =ZLVh -----END PGP SIGNATURE----- --ee6FjwWxuMujAVRe--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20111024053909.GK1697>