Date: Sun, 26 Feb 2012 21:03:44 -0500 From: Jason Hellenthal <jhellenthal@dataix.net> To: Peter =?iso-8859-1?Q?Ankerst=E5l?= <peter@pean.org> Cc: freebsd-fs@freebsd.org Subject: Re: glabel, gpart and zfs confusion. Message-ID: <20120227020344.GA70875@DataIX.net> In-Reply-To: <3E3E4094-77E2-490B-9574-5B95ECDED447@pean.org> References: <3E3E4094-77E2-490B-9574-5B95ECDED447@pean.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--5vNYLRcllDrimb99 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sat, Feb 25, 2012 at 09:42:08AM +0100, Peter Ankerst=E5l wrote: > Hi, >=20 > Now Im really confused.=20 >=20 > I want in some way label my drives so the setup is independent of physica= l setup. But Jason doesn't > seem to like glabel at all. :D > http://lists.freebsd.org/pipermail/freebsd-fs/2012-January/013574.html >=20 > And then he says that you should use gpart instead > http://lists.freebsd.org/pipermail/freebsd-fs/2012-January/013578.html >=20 > But this seems to be in conflict with the common knowledge that zfs should > be used on whole disks, not partitions! >=20 > Any pointers?=20 glabel(8) Is not known by any other system than FreeBSD. GPT or that createed by gpart(8) are. For clarity say you create a label "test01" for /dev/ad0, you then create a ZFS pool upon "/dev/label/test01". For some reason or months down the road you somehow disable glabel on the system and boot... ZFS will search for the pool within the actual disks ultimately erasing your precious glabel. Another instance I have seen is people booting a live Solaris disc to repair the likes of anonymous "bad things". They find out that coming back to FreeBSD that the label is now gone. Now if you try to re-glabel(8) that disk that contains ZFS would you be absolutely confident that it is NOT overwriting anything important ? This is why I do not like generic labels they are a good idea but they are only temporary and very fragile when it comes to the above instances. ZFS on Solaris by default creates pools on a partition that spans accross the "whole disk". They are not refering to using the raw disk though you certainly may if thats what tweaks you. This is often confused. Hope this helps. --=20 ;s =3D; --5vNYLRcllDrimb99 Content-Type: application/pgp-signature -----BEGIN PGP SIGNATURE----- iQEcBAEBAgAGBQJPSuSAAAoJEJBXh4mJ2FR+GwwH/18CpC8W78yRll+Wa3r9BxZN 6xU1cVUSwNeE6NiGVZIDTLJ4gICVHEHCWBCtL0vXMlYL3/FM5RcBFmK2Yn1cbPbR rgM3zGihAzpLbBTy4K6wRPcFXLyKnbDxjwj8eiBw6ZpwHr25GQVCmsIz1YwKzH2P I/XuyhanBRPT7akO2AildJV88Ov1WW1SVNtbmipSSmxZyr7csuCPmyZyA21UmIDh +t5mqUKLq4bI17cpdCjEoRfJVuhjzdJZ4WX635T1q6lpZLyhiNEEwgaU1A+NRAZG PhT3UV8a1BZckmI/yM30k/Om23MTp5+6E9rcpUS3amrAxBrYelGkzzVZR9JCvtM= =izgO -----END PGP SIGNATURE----- --5vNYLRcllDrimb99--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20120227020344.GA70875>