From owner-freebsd-stable@FreeBSD.ORG Thu Nov 19 12:45:07 2009 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id C75F01065695 for ; Thu, 19 Nov 2009 12:45:07 +0000 (UTC) (envelope-from tevans.uk@googlemail.com) Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.25]) by mx1.freebsd.org (Postfix) with ESMTP id 52EB58FC15 for ; Thu, 19 Nov 2009 12:45:06 +0000 (UTC) Received: by ey-out-2122.google.com with SMTP id 22so464824eye.9 for ; Thu, 19 Nov 2009 04:45:06 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=googlemail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:cc:content-type; bh=ZJkxvb0WQDEA453AIc2xUYJies4BoS8+hg6RgQpanJI=; b=ZO2V8VqR3EuOUbo1FfJ9ZOqXOu9Q6bh41U4y8o6CpO9DAbG3mUs/FR8dzf6XNBHA2J e8QW2bHT2eAb2KPyUrstMFG2LW0dP1V9U/sKkSBuaY/nRJDe59p4VwMe6yiFFnhuGurl xUgTGM7rctIURrSTG6G4aETYFtiq2pBbZFQQI= DomainKey-Signature: a=rsa-sha1; c=nofws; d=googlemail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; b=odKW3cmYN2HElCVAqQmMhaEJmvvgNIJpTZA+i0glzMLD7gztRflJowdyGHZj/BdFQR 5OwwEj0oVqE8ZU4RGdMHJIAFf7WG5m8PwRaSkJ/HcN7/pNAVheKr/cBNN1BMwzlI1+yP 7EdfsgQm3tLsheoGRp563HMKTFFDYoQMdypMs= MIME-Version: 1.0 Received: by 10.213.102.66 with SMTP id f2mr2500440ebo.12.1258634695546; Thu, 19 Nov 2009 04:44:55 -0800 (PST) In-Reply-To: <200911192305.35337.doconnor@gsoft.com.au> References: <200911191123.08870.doconnor@gsoft.com.au> <200911192305.35337.doconnor@gsoft.com.au> Date: Thu, 19 Nov 2009 12:44:55 +0000 Message-ID: <2e027be00911190444s1ce5f297o9064bb9c0d28ef30@mail.gmail.com> From: Tom Evans To: "Daniel O'Connor" Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Cc: freebsd-stable@freebsd.org, Stefan Bethke Subject: Re: whats best pracfive for ZFS on a whole disc these days ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 19 Nov 2009 12:45:07 -0000 On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor wr= ote: > On Thu, 19 Nov 2009, Marius N=C3=BCnnerich wrote: > > > operator 0, 164 Oct 21 15:34 > > > /dev/gptid/6866d8b0-a8ac-11de-8e07-00241dd192cc > > > > Have you tried naming the GPT partitions and using /dev/gpt/* ? > > Nope, how would I do that? > > I'd be surprised if it worked TBH.. > > Use the -l flag to gpart when creating the partitions. I'm not sure if ther= e is a way to label them after the fact. I found it led to a much more descriptive/reliable pool, as I can plug the disks in anywhere and get the same results: pool: tank state: ONLINE scrub: none requested config: NAME STATE READ WRITE CKSUM tank ONLINE 0 0 0 raidz1 ONLINE 0 0 0 gpt/samsung15-1 ONLINE 0 0 0 gpt/samsung15-2 ONLINE 0 0 0 gpt/samsung15-3 ONLINE 0 0 0 gpt/samsung15-4 ONLINE 0 0 0 gpt/seagate15-1 ONLINE 0 0 0 gpt/seagate15-2 ONLINE 0 0 0 I use the geom name 'gpt/foo' when referring to the disks in zpool. All works perfectly. Cheers Tom