How To Create a ZFS RAID 10 Array
RAID 10 is great as a highly reliable storage array for your personal files. The ZFS file-system is capable of protecting your data against corruption, but not against hardware failures. ZFS however implements RAID-Z (RAID 5, 6 and 7) to ensure redundancy across multiple drives. RAID 10 (1+0 or mirror + stripe) is not offered as a choice in ZFS but can be easily done manually for a similar effect. This guide will be focused on nappit but can be modified for whichever ZFS platform you are using.
Create the Array (Pool)
1. Create a new pool with the first two disks to be mirrored.
2. Enter the pool details and select the first mirror.
3. Extend the new pool by selecting the option from the menu.
4. Select the next two disks to be in the pool and set the option to mirror.
5. Select any remaining disks to be in the pool and also set the option to mirror.
Verify the RAID 10 Array
If successful, in the main page of the your ‘Pools’, nappit will list your new RAID 10 array. Alternatively, run the command ‘zpool status’ to return the Pools and their allocated drives within the terminal.
My thoughts of RAID 10
- I just lost 12TB of space just from doing this. RAID 10 and any mirrored level of RAID will take half of your disk space for redundancy.
- I like the idea that half your drives can die but the system would still be up, given the right ones die. The possibility of that are slim but good if you are using a lot of drives (more than just 6).
- RAID 10 increases your read speeds as more mirrors are added as all the drives perform the same read task. Reading and writing speeds were still limited to my network connection and I did not see any performance difference with RAID-Z2 (RAID 6) - which I eventually changed to.
- Upgrading drives, adding and removing mirrors is easier than RAID-Z