Do you want to be able to withstand a 2-disk failure in a single vdev (meaning you'd use raidz2)? Or that you want to be able to withstand the loss of any 2 disks in the pool (meaning you'd use raidz1 or mirror)?
There are a few options, depending on whether you need more IOps or more storage space (fastest option at the top, going down to slowest):
- Create 7x mirror vdevs in a single pool, giving you 3.5 TB of very fast storage and 1 spare disk. Use the SSD for the OS.
- Create 5x mirror vdevs using 3 disks each, giving you 2.5 TB of very fast and resilient storage. Use the SSD for the OS.
- Create 3x raidz1 vdevs using 5 disks in each, giving you 6.0 TB of fairly fast storage. Use the SSD for the OS, and possibly as an cache.
- Create 2x raidz2 vdevs using 6 disks in each, giving you 4.0 TB of fast-ish storage. Use another 2 disks to create a separate pool for the OS. Use the SSD as a cache vdev. Leaving you with 1 disk as a spare
- Create 2x raidz2 vdevs using 7 disks in each, giving you 5.0 TB of storage, and 1 spare disk. Use the SSD for the OS and as a cache.
- Create 2x raidz2 vdevs using 7 disks in one and 8 disks in the other, giving you 5.5 TB of unbalanced storage. Use the SSD for the OS and as a cache.
- Create 1x raidz3 vdev using all 13 disks, giving you 5.0 TB of slow storage. Use two others for a separate pool for the OS. Use the SSD for cache.
- Create 1x raidz3 vdev using all 15 disks, giving you 6.0 TB of very slow storage. Use the SSD for the OS and as a cache.
Options 7 and 8 allow you to lose any 3 disks without losing the pool, but are the slowest options.
Options 2, 4, 5, and 6 allow you to lose 2 disks per vdev without losing the pool.
Options 1 and 3 only allow you to lose 1 disk per vdev without losing the pool, but these are some of the fastest options.
Personally, I like 6-disk raidz2 vdevs as that gives you a nice balance between storage space, speed, and redundancy. But, I deal with 24- and 45-bay storage chassis where you can get a lot of 6-disk vdevs.
For 500 GB drives, raidz1 should be okay, and the rebuild time won't be that long and shouldn't stress the other drives too much (which would lead to another drive failing before the first is finished, causing the pool to die). For anything over 1 TB, you definitely want to use raidz2. If you plan on replacing the drives with larger ones in the future, you should use raidz2 from the beginning.
I wouldn't recommend a giant raidz3 vdev, especially for a mail server dealing with lots of small files. But I listed it to show you the options.