From owner-freebsd-fs@FreeBSD.ORG Mon Feb 27 02:22:32 2012 Return-Path: Delivered-To: freebsd-fs@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id DB55B1065672 for ; Mon, 27 Feb 2012 02:22:31 +0000 (UTC) (envelope-from jhellenthal@dataix.net) Received: from mail-iy0-f196.google.com (mail-iy0-f196.google.com [209.85.210.196]) by mx1.freebsd.org (Postfix) with ESMTP id 8D7548FC12 for ; Mon, 27 Feb 2012 02:22:31 +0000 (UTC) Received: by iagz35 with SMTP id z35so994691iag.7 for ; Sun, 26 Feb 2012 18:22:31 -0800 (PST) Received-SPF: pass (google.com: domain of jhellenthal@dataix.net designates 10.50.34.202 as permitted sender) client-ip=10.50.34.202; Authentication-Results: mr.google.com; spf=pass (google.com: domain of jhellenthal@dataix.net designates 10.50.34.202 as permitted sender) smtp.mail=jhellenthal@dataix.net; dkim=pass header.i=jhellenthal@dataix.net Received: from mr.google.com ([10.50.34.202]) by 10.50.34.202 with SMTP id b10mr15007531igj.30.1330309351069 (num_hops = 1); Sun, 26 Feb 2012 18:22:31 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=dataix.net; s=rsa; h=date:from:to:cc:subject:message-id:references:mime-version :content-type:content-disposition:in-reply-to; bh=groObZU2raZMm1Aerp2KWRBA5zW2Adolns7TCV79bjA=; b=JNpEfhPNL/TQQ7Z7WUlvbE+vK4eaGjIAz516P+5rhNG1NkdUQ3oa6AYv8CYUGYKqr6 s4SrxiRgZMd6Q12rs/aWgktQ6lMXlq+I1ayA5k5ypQVmDB2cY5BA/aszz5ym1Y/8VTFv LhKM/uMwasvfoPuzgdBHU9C0hoJEfGJQ6pD5A= Received: by 10.50.34.202 with SMTP id b10mr12058788igj.30.1330308228677; Sun, 26 Feb 2012 18:03:48 -0800 (PST) Received: from DataIX.net (adsl-99-181-135-127.dsl.klmzmi.sbcglobal.net. [99.181.135.127]) by mx.google.com with ESMTPS id ub10sm9063900igb.7.2012.02.26.18.03.47 (version=TLSv1/SSLv3 cipher=OTHER); Sun, 26 Feb 2012 18:03:48 -0800 (PST) Received: from DataIX.net (localhost [127.0.0.1]) by DataIX.net (8.14.5/8.14.5) with ESMTP id q1R23jB8068793 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Sun, 26 Feb 2012 21:03:45 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Received: (from jhellenthal@localhost) by DataIX.net (8.14.5/8.14.5/Submit) id q1R23ioi067991; Sun, 26 Feb 2012 21:03:44 -0500 (EST) (envelope-from jhellenthal@DataIX.net) Date: Sun, 26 Feb 2012 21:03:44 -0500 From: Jason Hellenthal To: Peter =?iso-8859-1?Q?Ankerst=E5l?= Message-ID: <20120227020344.GA70875@DataIX.net> References: <3E3E4094-77E2-490B-9574-5B95ECDED447@pean.org> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="5vNYLRcllDrimb99" Content-Disposition: inline In-Reply-To: <3E3E4094-77E2-490B-9574-5B95ECDED447@pean.org> X-Gm-Message-State: ALoCoQnQeHdD7p2rFTQxH50FetVPiCwzuhcJaflDS1jcLVaTwbNMKQErxlec+8Px4CgnKZWfUZzA Cc: freebsd-fs@freebsd.org Subject: Re: glabel, gpart and zfs confusion. X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Feb 2012 02:22:32 -0000 --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--