[zfs-discuss] changing vdev types

Tomas Ögren
Wed, 01 Jun 2011 20:17:59 -0000

On 01 June, 2011 - Eric Sproul sent me these 0,8K bytes:

> On Wed, Jun 1, 2011 at 2:54 PM, Matt Harrison
> <iwasinnamuknow at genestate.com> wrote:
> > Hi list,
> >
> > I''ve got a pool thats got a single raidz1 vdev. I''ve
just some more disks in
> > and I want to replace that raidz1 with a three-way mirror. I was
thinking
> > I''d just make a new pool and copy everything across, but then
of course I''ve
> > got to deal with the name change.
> >
> > Basically, what is the most efficient way to migrate the pool to a
> > completely different vdev?
>
> Since you can''t mix vdev types in a single pool, you''ll
have to create
> a new pool.  But you can use zfs send/recv to move the datasets, so

You can mix as much as you want to, but you can''t remove a vdev (yet).

/Tomas
--
Tomas ?gren, stric at acc.umu.se, http://www.acc.umu.se/~stric/
|- Student at Computing Science, University of Ume?
`- Sysadmin at {cs,acc}.umu.se