I'm no expert in ZFS, but I think I can explain what you've created there:

# zpool create temparray1 mirror c1t2d0 c1t4d0 mirror c1t3d0 c1t5d0 mirror 
c1t6d0 c1t8d0

This creates a stripe of three mirror sets (or in old fashioned terms, you have 
a raid-0 stripe made up of three raid-1 sets of two disks).  It'll give you 
30GB of capacity, all your disks are mirrored to another (so your data is safe 
if any one drive fails).  I believe it will give you 3x the write performance 
(as data will be streamed across the three sets), and should give 2x the read 
performance (as data can be read from any of the mirror drives).

I don't really understand why you're trying to mix raid-z and mirroring, but 
from what you say for performance, I suspect this may be the setup you are 
looking for.

For your second one I'm less sure what's going on:
# zpool create temparray raidz c1t2d0 c1t4d0 raidz c1t3d0 c1t5d0 raidz c1t6d0 
c1t8d0

This creates three two disk raid-z sets and stripes the data across them.  The 
problem is that a two disk raid-z makes no sense.  Traditionally this level of 
raid needs a minimum of three disks to work.  I suspect ZFS may be interpreting 
raid-z as requiring one parity drive, in which case this will effectively 
mirror the drives, but without the read performance boost that mirroring would 
give you.

The way zpool create works is that you can specify raid or mirror sets, but 
that if you list a bunch of these one after the other, it simply strips the 
data across them.
 
 
This message posted from opensolaris.org
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to