Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 7 Nov 2017 18:42:10 -0500
From:      Jeremy Faulkner <gldisater@gmail.com>
To:        freebsd-questions@freebsd.org
Subject:   Re: Migrating from raidz2 to mirror
Message-ID:  <9465cd3a-5151-8629-d0aa-5b47994b4eef@gmail.com>
In-Reply-To: <0b2c709d-3c71-67f9-5af8-5062b0cf857f@bluerosetech.com>
References:  <0b2c709d-3c71-67f9-5af8-5062b0cf857f@bluerosetech.com>

next in thread | previous in thread | raw e-mail | index | archive | help
No, you will make a new pool and zfs send the data over.

On 2017-11-07 6:30 PM, Mel Pilgrim wrote:
> I currently have this raidz2 configuration:
> 
> NAME           STATE     READ WRITE CKSUM
> tank           ONLINE       0     0     0
>    raidz2-0     ONLINE       0     0     0
>      gpt/zfsd0  ONLINE       0     0     0
>      gpt/zfsd1  ONLINE       0     0     0
>      gpt/zfsd2  ONLINE       0     0     0
>      gpt/zfsd3  ONLINE       0     0     0
> 
> I want to switch to a mirror configuration on new disks.  My first 
> thought was to add the disks to tank as mirrors of the existing raidz2 
> plex and use resilvering to transfer everything without downtime.  The 
> man page section for the zpool attach command says the existing device 
> "cannot be a part of raidz configuration", but I'm not sure what "part 
> of" means here.  Does that mean only that I can't attach a mirror to any 
> of the individual members of the raidz2 plex (the gpt/zfsd* shown above) 
> or does that include the "raidz2-0" vdev?
> 
> In other words, is it possible to attach a single disk as a mirror of 
> raidz2-0?
> _______________________________________________
> freebsd-questions@freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe@freebsd.org"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?9465cd3a-5151-8629-d0aa-5b47994b4eef>