RedBear
Explorer
- Joined
- May 16, 2015
- Messages
- 53
... he sez, "Hey, did we just irretrievably crash that ZFS array by leaving at the same time?"
I kind of asked this question a couple months back before I did my initial FreeNAS install. This is just a theoretical follow-up question to make sure I understand exactly what will happen in a certain scenario.
Given a machine with several built-in SATA ports and also an installed M1015 card (in IT mode), with 4 SATA disks connected to the built-in SATA ports on the motherboard and 4 other SATA disks connected to one of the mini-SAS ports on the M1015, and all 8 disks then put together into a single 8-disk RAID-Z2 (or Z3) array, what happens when one of the two different SATA controllers suddenly dies while the pool is in active use?
A) The ZFS array is instantly and irretrievably unrecoverable because it was Z2/Z3 and it "lost" 4 devices, which neither of those RAID schemes can handle?
B) ZFS just immediately takes the pool offline and waits for me to find some way to reconnect those 4 devices (replace HBA and/or motherboard or move the drives to the SATA controller that didn't die), and then the pool imports just fine and goes on its merry way?
I know it's fine and quite common to use multiple SATA controllers with FreeNAS arrays, I just want to make sure I fully understand what sort of Murphy's Law probabilities I'm going to be playing footsie with if I go from 8 disks directly connected to an M1015 to 11 disks with 3 disks connected to the motherboard.
Am I pondering excessively negative possible outcomes needlessly again?
I kind of asked this question a couple months back before I did my initial FreeNAS install. This is just a theoretical follow-up question to make sure I understand exactly what will happen in a certain scenario.
Given a machine with several built-in SATA ports and also an installed M1015 card (in IT mode), with 4 SATA disks connected to the built-in SATA ports on the motherboard and 4 other SATA disks connected to one of the mini-SAS ports on the M1015, and all 8 disks then put together into a single 8-disk RAID-Z2 (or Z3) array, what happens when one of the two different SATA controllers suddenly dies while the pool is in active use?
A) The ZFS array is instantly and irretrievably unrecoverable because it was Z2/Z3 and it "lost" 4 devices, which neither of those RAID schemes can handle?
B) ZFS just immediately takes the pool offline and waits for me to find some way to reconnect those 4 devices (replace HBA and/or motherboard or move the drives to the SATA controller that didn't die), and then the pool imports just fine and goes on its merry way?
I know it's fine and quite common to use multiple SATA controllers with FreeNAS arrays, I just want to make sure I fully understand what sort of Murphy's Law probabilities I'm going to be playing footsie with if I go from 8 disks directly connected to an M1015 to 11 disks with 3 disks connected to the motherboard.
Am I pondering excessively negative possible outcomes needlessly again?