ian351c
Patron
- Joined
- Oct 20, 2011
- Messages
- 219
I was wondering if anyone here knows how new blocks/stripes are allocated for a degraded pool? For example, I have a 6 disk RAIDZ2 pool, but one of the disks has failed. If I download a new file that my NAS has never seen before onto the degraded pool, do I end up with all the data blocks in each stripe assigned to good disks, one parity block also assigned to a good disk, and one parity block to be calculated later when I replace the failed disk? Would it happen this way for every new stipe in the pool? This would lead me to believe that if I had an empty degraded pool, copied a boatload of data to it, and then replaced the failed drive, I'd end up with one disk in the pool that was nothing but parity blocks. Is this a Bad Thing(TM)?
Here's what I used for reference: http://blog.delphix.com/matt/2014/06/06/zfs-stripe-width/
Thanks.
Here's what I used for reference: http://blog.delphix.com/matt/2014/06/06/zfs-stripe-width/
Thanks.