mike wrote:
>> No that isn't correct.
> 
>> One or move vdevs create a pool.  Each vdev in a pool can be a
>> different type, eg a mix or mirror, raidz, raidz2.
> 
>> There is no such thing as zdev.
> 
> Sorry :)
> 
> Okay, so you can create a zpool from multiple vdevs. But you cannot
> add more vdevs to a zpool once the zpool is created. Is that right?

Yes you can add more vdevs.  What you can't do is add more disks to a 
raidz or raidz2 vdev but you can add another raidz vdev to the pool.

For example:

I start out with a pool of 6 disks in a raidz that is one vdev.
I then add another 6 disks raidz that is two vdevs.  Still one pool it
looks like this:

         NAME         STATE     READ WRITE CKSUM
         cube         ONLINE       0     0     0
           raidz1     ONLINE       0     0     0
             c5t0d0   ONLINE       0     0     0
             c5t1d0   ONLINE       0     0     0
             c5t2d0   ONLINE       0     0     0
             c5t3d0   ONLINE       0     0     0
             c5t4d0   ONLINE       0     0     0
             c5t5d0   ONLINE       0     0     0
           raidz1     ONLINE       0     0     0
             c5t8d0   ONLINE       0     0     0
             c5t9d0   ONLINE       0     0     0
             c5t10d0  ONLINE       0     0     0
             c5t11d0  ONLINE       0     0     0
             c5t12d0  ONLINE       0     0     0
             c5t13d0  ONLINE       0     0     0

I could if I wanted to add another vdev to this pool but it doesn't
have to be raidz it could be raidz2 or mirror.

You can add more "sides" to a mirror vdev and you can turn a single
disk vdev into a mirror.

You can not mirror a raidz or raidz a mirror.

> That's what it sounded like someone said earlier.

If they did they are wrong, hope the above clarifies.

-- 
Darren J Moffat
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to