Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 19 Nov 2009 13:49:32 +0100
From:      =?ISO-8859-1?Q?Marius_N=FCnnerich?= <marius@nuenneri.ch>
To:        Tom Evans <tevans.uk@googlemail.com>
Cc:        freebsd-stable@freebsd.org, Stefan Bethke <stb@lassitu.de>
Subject:   Re: whats best pracfive for ZFS on a whole disc these days ?
Message-ID:  <b649e5e0911190449g75869225lc31bfb5ee6553baf@mail.gmail.com>
In-Reply-To: <2e027be00911190444s1ce5f297o9064bb9c0d28ef30@mail.gmail.com>
References:  <E1N2NcA-0004c4-CE@dilbert.ticketswitch.com> <200911191123.08870.doconnor@gsoft.com.au> <b649e5e0911190258j39a3947erf56e9c06b5ddf79b@mail.gmail.com> <200911192305.35337.doconnor@gsoft.com.au> <2e027be00911190444s1ce5f297o9064bb9c0d28ef30@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Nov 19, 2009 at 13:44, Tom Evans <tevans.uk@googlemail.com> wrote:
> On Thu, Nov 19, 2009 at 12:35 PM, Daniel O'Connor <doconnor@gsoft.com.au>
> 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.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?b649e5e0911190449g75869225lc31bfb5ee6553baf>