Migrating from raidz2 to mirror

Jeremy Faulkner gldisater at gmail.com
Tue Nov 7 23:42:12 UTC 2017


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 at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to 
> "freebsd-questions-unsubscribe at freebsd.org"


More information about the freebsd-questions mailing list