- Nov 18, 2005
- 28,799
- 359
- 126
I'm planning to build a NAS for a home server that has a primary focus on media storage for streaming playback, but also as a self-contained cloud storage/sync for access elsewhere. Some local file saves and scheduled backups from other systems will also find a home on the server.
With that in mind, what is the best balance of available storage and performance with data integrity/safety in mind? I hear there are a lot of fans of RAID10, or the equivalent in ZFS land.
I'm thinking of starting with 6 disks, and either the next two I buy are spares on hand or hot-spares, or also add additional drives to the pool (and also spares).
So with 6, RAIDZ2 would net 4 disks of space, and Stripe+Mirror would net 3 disks of space, striped across 3 mirrored vdevs. It sounds like the RAID10 approach offers greater IOPS, but I'd have to fear a disk failing because if the mirrored disk in the mirrored pair encounters an error while the data is being copied to the replacement, the whole thing is toast.
The idea is you can suffer more drives lost with that approach, so long as any failed disks weren't in the same pair.
But with any parity-based stripe, like in RAIDZ2, the rebuild/resilvering time will be greatly longer than in a RAID10-type array.
I'm not necessarily against RAID10 or similar because it takes away from useable space... On the contrary, I'll accept that as the price of good data security. I just want to ensure what method I choose is a good match for my home use purposes.
Also, from what I gather, a SLOG(ZIL) & L2ARC are likely to be a waste of money for this type of use case, but if anyone has any opinions to the contrary, please do tell!
With that in mind, what is the best balance of available storage and performance with data integrity/safety in mind? I hear there are a lot of fans of RAID10, or the equivalent in ZFS land.
I'm thinking of starting with 6 disks, and either the next two I buy are spares on hand or hot-spares, or also add additional drives to the pool (and also spares).
So with 6, RAIDZ2 would net 4 disks of space, and Stripe+Mirror would net 3 disks of space, striped across 3 mirrored vdevs. It sounds like the RAID10 approach offers greater IOPS, but I'd have to fear a disk failing because if the mirrored disk in the mirrored pair encounters an error while the data is being copied to the replacement, the whole thing is toast.
The idea is you can suffer more drives lost with that approach, so long as any failed disks weren't in the same pair.
But with any parity-based stripe, like in RAIDZ2, the rebuild/resilvering time will be greatly longer than in a RAID10-type array.
I'm not necessarily against RAID10 or similar because it takes away from useable space... On the contrary, I'll accept that as the price of good data security. I just want to ensure what method I choose is a good match for my home use purposes.
Also, from what I gather, a SLOG(ZIL) & L2ARC are likely to be a waste of money for this type of use case, but if anyone has any opinions to the contrary, please do tell!