On 12/6/2010 2:25 PM, Peter Taps wrote:
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
Also, note that anyplace you have "disk", you can also use a file, not
just a disk device. In theory, that "file" could be a special device, also.
--
Erik Trimble
Java System Support
Mailstop: usca22-123
Phone: x17195
Santa Clara, CA
Timezone: US/Pacific (GMT-0800)
_______________________________________________
zfs-code mailing list
[email protected]
http://mail.opensolaris.org/mailman/listinfo/zfs-code