Re: Please shorten ZFS disk names.

From: Glen Barber <gjb_at_FreeBSD.org>
Date: Tue, 15 Oct 2013 19:07:47 -0400
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_at_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


Received on Tue Oct 15 2013 - 21:07:51 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:40:43 UTC