Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 15 Oct 2013 20:05:27 -0400
From:      Allan Jude <freebsd@allanjude.com>
To:        freebsd-current@freebsd.org
Subject:   Re: Please shorten ZFS disk names.
Message-ID:  <525DD847.4080209@allanjude.com>
In-Reply-To: <20131015230747.GT23579@glenbarber.us>
References:  <525DC662.6030002@jrv.org> <20131015230747.GT23579@glenbarber.us>

next in thread | previous in thread | raw e-mail | index | archive | help
On 2013-10-15 19:07, Glen Barber wrote:
> On Tue, Oct 15, 2013 at 05:49:06PM -0500, James R. Van Artsdalen wrote:
>> BLACKIE:/root# uname -a
>> FreeBSD BLACKIE.housenet.jrv 10.0-BETA1 FreeBSD 10.0-BETA1 #0 r256428M:
>> Sun Oct 13 23:46:54 CDT 2013    
>> root@CLANK.housenet.jrv:/usr/obj/usr/src/sys/GENERIC  amd64
>>
>> This pool is on da{0,1,2,3,4,5,6,7} - I think, only da4 is sure
>>
>>     NAME                                                         
>> STATE     READ WRITE CKSUM
>>     z03                                                          
>> ONLINE       0     0     0
>>       raidz2-0                                                   
>> ONLINE       0     0     0
>>         diskid/DISK-%20%20%20%20%20%20%20%20%20%20%20%20Z300HSTK 
>>
>> [...]
>>
>> Based on the hardware config that's either ada0p3 or ada1p3.  Whichever
>> it is I want to mirror it onto the other but I don't the names to use
>> for src and dst.
> You can set kern.geom.label.gptid.enable=0 in loader.conf(5), which will
> use the gptid.
>
> Glen
>
In this case, it is the disk_ident that is being used, not the GPT
label, so you want to set: kern.geom.label.disk_ident.enable=0 in
/boot/loader.conf and then zfs won't see that device alias, and will
show the expected device name

-- 
Allan Jude




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