From owner-freebsd-stable@FreeBSD.ORG Thu Nov 19 12:49:34 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 A1132106568B for ; Thu, 19 Nov 2009 12:49:34 +0000 (UTC) (envelope-from marius@nuenneri.ch) Received: from mail-fx0-f227.google.com (mail-fx0-f227.google.com [209.85.220.227]) by mx1.freebsd.org (Postfix) with ESMTP id 40BAE8FC0C for ; Thu, 19 Nov 2009 12:49:33 +0000 (UTC) Received: by fxm27 with SMTP id 27so2447989fxm.3 for ; Thu, 19 Nov 2009 04:49:33 -0800 (PST) MIME-Version: 1.0 Received: by 10.216.91.84 with SMTP id g62mr3309214wef.216.1258634973070; Thu, 19 Nov 2009 04:49:33 -0800 (PST) In-Reply-To: <2e027be00911190444s1ce5f297o9064bb9c0d28ef30@mail.gmail.com> References: <200911191123.08870.doconnor@gsoft.com.au> <200911192305.35337.doconnor@gsoft.com.au> <2e027be00911190444s1ce5f297o9064bb9c0d28ef30@mail.gmail.com> Date: Thu, 19 Nov 2009 13:49:32 +0100 Message-ID: From: =?ISO-8859-1?Q?Marius_N=FCnnerich?= To: Tom Evans Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable 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:49:34 -0000 On Thu, Nov 19, 2009 at 13:44, Tom Evans wrote: > On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor > wrote: >> >> On Thu, 19 Nov 2009, Marius N=FCnnerich wrote: >> > > =A0operator =A0 =A00, 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 th= ere > 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 th= e > same results: > > =A0 pool: tank > =A0state: ONLINE > =A0scrub: none requested > config: > > =A0=A0=A0 NAME=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 STATE= =A0=A0=A0=A0 READ WRITE CKSUM > =A0=A0=A0 tank=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ONLINE= =A0=A0=A0=A0=A0=A0 0=A0=A0=A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0 raidz1=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0=A0 ONLINE=A0=A0= =A0=A0=A0=A0 0=A0=A0=A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0=A0=A0 gpt/samsung15-1=A0=A0 ONLINE=A0=A0=A0=A0=A0=A0 0=A0= =A0=A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0=A0=A0 gpt/samsung15-2=A0=A0 ONLINE=A0=A0=A0=A0=A0=A0 0=A0= =A0=A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0=A0=A0 gpt/samsung15-3=A0=A0 ONLINE=A0=A0=A0=A0=A0=A0 0=A0= =A0=A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0=A0=A0 gpt/samsung15-4=A0=A0 ONLINE=A0=A0=A0=A0=A0=A0 0=A0= =A0=A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0=A0=A0 gpt/seagate15-1 =A0 ONLINE=A0=A0=A0=A0=A0=A0 0=A0=A0= =A0=A0 0=A0=A0=A0=A0 0 > =A0=A0=A0 =A0=A0=A0 gpt/seagate15-2=A0=A0 ONLINE=A0=A0=A0=A0=A0=A0 0=A0= =A0=A0=A0 0=A0=A0=A0=A0 0 > > I use the geom name 'gpt/foo' when referring to the disks in zpool. All > works perfectly. > I never tried it but maybe gpart modify -l works too.