Follow along with the video below to see how to install our site as a web app on your home screen.
Note: This feature may not be available in some browsers.
Best read perf: zpool create foo mirror A B mirror C D mirror E F mirror G H
Best read perf: zpool create foo mirror A B mirror C D mirror E F mirror G H
no
A/B = mirror
C/D = mirror
E/F = mirror
G/H = mirror
the stripe (for the sake of explanation) goes across ACEG although in the event of failure any device that can be read or written to is.
also, best read performance isn't necessarily accurate. random read performance, yes, mirroring will be best. however for large sequential reads parity is often faster.
In actuality the stripe goes across the vdevs. the vdevs are made up of 2 or more drives which form the mirror.
random write performance is always limited to single 'drives' aka vdevs in zfs. sequential write performance however is the same as sequential read. the more drives per vdev, the higher your sustained sequential throughput.
sustained sequential actually scales with vdevs better using z1/2/3 than mirroring since performance is not only the sum of the vdevs but also the sum of the drives in each vdev.
however in typical production environments mirroring and or (multiple pools not z2 and mirroring in the same pool) 4 disk raidz2 are IMO superior unless your specific workload is backups or something like raw video editing.
with 8 drives you're best general performance config is 4 x 2 disk mirrors or 2 x 4 disk raidz2. with mirroring you will have twice the random IO for writes and 4 times for reads with slightly worse availability.
with raidz2 you will have slightly better sustained throughput and much better availability.
in both scenarios the effective usable space is 50% of total raw.
if your desire is maximum usable space and best availability you can use a 7 disk raidz3 leaving one more disk for a hot spare.
you could do a 6 disk raidz2 pool and a 2 disk mirror pool as well.