Folks,

I am working on an application to graphically display the details of a zpool. 
Here is my understanding of zpool organization. I would appreciate it if 
someone can correct me if I am wrong.

A pool has four parts - primary, log, spare, and cache.

primary ==> one or more of [disk, mirror, raidz1, raidz2, raidz3]
log ==> one or more of [disk, mirror]
spare ==> zero or more of [disk]
cache ==> zero or more of [disk]

and 

mirror ==> two or more of [disk]
raidz1 ==> two or more of [disk]
raidz2 ==> three or more of [disk]
raidz3 ==> four or more of [disk]

Is this correct?

Also, on the primary, can you stripe across different types of root vdevs? For 
example, let's say I create a pool with 3 disks of raidz2. Now, can I add 4 
more disks as a new raidz3 root vdev or am I limited to adding only raidz2 type 
vdevs?

Thank you in advance for your help.

Regards,
Peter
-- 
This message posted from opensolaris.org
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code

Reply via email to