<div dir="ltr"><div><div>I completely concur with Richard on this.  Let me give an a real example that emphases this point as it's a critical design decision.  <br><br>I never fully understood this until I saw in action the problem can automate hot spares can cause.   I had all 5 hot spares get put into action on one raidz2 vdev of a 300TB pool.  This was triggered by an HA event that was taking SCSI reservations in a split brain situation that was supposed to trigger a panic on one system.  This caused a highly corrupted pool.  Fortunately this was not a production pool and I simply trashed it and started reloading data. <br><br></div><div>Now I only run one hot spare per pool.  Most of my pools are raidz2 or raidz3.   This way any event like this can not take out more than one disk and data parity will never be lost.    <br></div><br>There are other causes that can trigger multiple disk replacements. I have not encountered them.  If I do, they won't hurt my data with the limit of one hot spare.<br><br></div>-Chip<br><div><br><br><br></div></div><div class="gmail_extra"><br><div class="gmail_quote">On Wed, Oct 7, 2015 at 5:38 PM, Richard Elling <span dir="ltr"><<a href="mailto:richard.elling@richardelling.com" target="_blank">richard.elling@richardelling.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><span class=""><br>
> On Oct 7, 2015, at 1:59 PM, Mick Burns <<a href="mailto:bmx1955@gmail.com">bmx1955@gmail.com</a>> wrote:<br>
><br>
> So... how does Nexenta copes with hot spares and all kinds of disk failures ?<br>
> Adding hot spares is part of their administration manuals so can we<br>
> assume things are almost always handled smoothly ?  I'd like to hear<br>
> from tangible experiences in production.<br>
<br>
</span>I do not speak for Nexenta.<br>
<br>
Hot spares are a bigger issue when you have single parity protection.<br>
With double parity and large pools, warm spares is a better approach.<br>
The reasons are:<br>
<br>
1. Hot spares exist solely to eliminate the time between disk failure and human<br>
   intervention for corrective action. There is no other reason to have hot spares.<br>
   The exposure for a single disk failure under single parity protection is too risky<br>
   for most folks, but with double parity (eg raidz2 or RAID-6) the few hours you<br>
   save has little impact on overall data availabilty vs warm spares.<br>
<br>
2. Under some transient failure conditions (eg isolated power failure, IOM reboot, or fabric<br>
   partition), all available hot spares can be kicked into action. This can leave you with a<br>
   big mess for large pools with many drives and spares. You can avoid this by making a<br>
   human be involved in the decision process, rather than just *locally isolated,* automated<br>
   decision making.<br>
<span class="HOEnZb"><font color="#888888"><br>
 -- richard<br>
</font></span><div class="HOEnZb"><div class="h5"><br>
><br>
><br>
> thanks<br>
><br>
> On Mon, Jul 13, 2015 at 7:58 AM, Schweiss, Chip <<a href="mailto:chip@innovates.com">chip@innovates.com</a>> wrote:<br>
>> Liam,<br>
>><br>
>> This report is encouraging.  Please share some details of your<br>
>> configuration.   What disk failure parameters are have you set?   Which<br>
>> JBODs and disks are you running?<br>
>><br>
>> I have mostly DataON JBODs and a some Supermicro.   DataON has PMC SAS<br>
>> expanders and Supermicro has LSI, both setups have pretty much the same<br>
>> behavior with disk failures.   All my servers are Supermicro with LSI HBAs.<br>
>><br>
>> If there's a magic combination of hardware and OS config out there that<br>
>> solves the disk failure panic problem, I will certainly change my builds<br>
>> going forward.<br>
>><br>
>> -Chip<br>
>><br>
>> On Fri, Jul 10, 2015 at 1:04 PM, Liam Slusser <<a href="mailto:lslusser@gmail.com">lslusser@gmail.com</a>> wrote:<br>
>>><br>
>>> I have two 800T ZFS systems on OmniOS and a bunch of smaller <50T systems.<br>
>>> Things generally work very well.  We loose a disk here and there but its<br>
>>> never resulted in downtime.  They're all on Dell hardware with LSI or Dell<br>
>>> PERC controllers.<br>
>>><br>
>>> Putting in smaller disk failure parameters, so disks fail quicker, was a<br>
>>> big help when something does go wrong with a disk.<br>
>>><br>
>>> thanks,<br>
>>> liam<br>
>>><br>
>>><br>
>>> On Fri, Jul 10, 2015 at 10:31 AM, Schweiss, Chip <<a href="mailto:chip@innovates.com">chip@innovates.com</a>><br>
>>> wrote:<br>
>>>><br>
>>>> Unfortunately for the past couple years panics on disk failure has been<br>
>>>> the norm.   All my production systems are HA with RSF-1, so at least things<br>
>>>> come back online relatively quick.  There are quite a few open tickets in<br>
>>>> the Illumos bug tracker related to mpt_sas related panics.<br>
>>>><br>
>>>> Most of the work to fix these problems has been committed in the past<br>
>>>> year, though problems still exist.  For example, my systems are dual path<br>
>>>> SAS, however, mpt_sas will panic if you pull a cable instead of dropping a<br>
>>>> path to the disks.  Dan McDonald is actively working to resolve this.   He<br>
>>>> is also pushing a bug fix in genunix from Nexenta that appears to fix a lot<br>
>>>> of the panic problems.   I'll know for sure in a few months after I see a<br>
>>>> disk or two drop if it truly fixes things.  Hans Rosenfeld at Nexenta is<br>
>>>> responsible for most of the updates to mpt_sas including support for 3008<br>
>>>> (12G SAS).<br>
>>>><br>
>>>> I haven't run any 12G SAS yet, but plan to on my next build in a couple<br>
>>>> months.   This will be about 300TB using an 84 disk JBOD.  All the code from<br>
>>>> Nexenta to support the 3008 appears to be in Illumos now, and they fully<br>
>>>> support it so I suspect it's pretty stable now.  >From what I understand<br>
>>>> there may be some 12G performance fixes coming sometime.<br>
>>>><br>
>>>> The fault manager is nice when the system doesn't panic.  When it panics,<br>
>>>> the fault manger never gets a chance to take action.  It is still the<br>
>>>> consensus that is is better to run pools without hot spares because there<br>
>>>> are situations the fault manager will do bad things.   I witnessed this<br>
>>>> myself when building a system and the fault manger replaced 5 disks in a<br>
>>>> raidz2 vdev inside 1 minute, trashing the pool.   I haven't completely yield<br>
>>>> to the "best practice".  I now run one hot spare per pool.  I figure with<br>
>>>> raidz2, the odds of the fault manager causing something catastrophic is much<br>
>>>> less possible.<br>
>>>><br>
>>>> -Chip<br>
>>>><br>
>>>><br>
>>>><br>
>>>> On Fri, Jul 10, 2015 at 11:37 AM, Linda Kateley <<a href="mailto:lkateley@kateley.com">lkateley@kateley.com</a>><br>
>>>> wrote:<br>
>>>>><br>
>>>>> I have to build and maintain my own system. I usually help others<br>
>>>>> build(i teach zfs and freenas classes/consulting). I really love fault<br>
>>>>> management in solaris and miss it. Just thought since it's my system and I<br>
>>>>> get to choose I would use omni. I have 20+ years using solaris and only 2 on<br>
>>>>> freebsd.<br>
>>>>><br>
>>>>> I like freebsd for how well tuned for zfs oob. I miss the network, v12n<br>
>>>>> and resource controls in solaris.<br>
>>>>><br>
>>>>> Concerned about panics on disk failure. Is that common?<br>
>>>>><br>
>>>>><br>
>>>>> linda<br>
>>>>><br>
>>>>><br>
>>>>> On 7/9/15 9:30 PM, Schweiss, Chip wrote:<br>
>>>>><br>
>>>>> Linda,<br>
>>>>><br>
>>>>> I have 3.5 PB running under OmniOS.  All my systems have LSI 2108 HBAs<br>
>>>>> which is considered the best choice for HBAs.<br>
>>>>><br>
>>>>> Illumos leaves a bit to be desired with handling faults from disks or<br>
>>>>> SAS problems, but things under OmniOS have been improving, much thanks to<br>
>>>>> Dan McDonald and OmniTI.   We have a paid support on all of our production<br>
>>>>> systems with OmniTI.  Their response and dedication has been very good.<br>
>>>>> Other than the occasional panic and restart from a disk failure, OmniOS has<br>
>>>>> been solid.   ZFS of course never has lost a single bit of information.<br>
>>>>><br>
>>>>> I'd be curious why you're looking to move, have there been specific<br>
>>>>> problems under BSD or ZoL?  I've been slowly evaluating FreeBSD ZFS, but of<br>
>>>>> course the skeletons in the closet never seem to come out until you do<br>
>>>>> something big.<br>
>>>>><br>
>>>>> -Chip<br>
>>>>><br>
>>>>> On Thu, Jul 9, 2015 at 4:21 PM, Linda Kateley <<a href="mailto:lkateley@kateley.com">lkateley@kateley.com</a>><br>
>>>>> wrote:<br>
>>>>>><br>
>>>>>> Hey is there anyone out there running big zfs on omni?<br>
>>>>>><br>
>>>>>> I have been doing mostly zol and freebsd for the last year but have to<br>
>>>>>> build a 300+TB box and i want to come back home to roots(solaris). Feeling<br>
>>>>>> kind of hesitant :) Also, if you had to do over, is there anything you would<br>
>>>>>> do different.<br>
>>>>>><br>
>>>>>> Also, what is the go to HBA these days? Seems like i saw stable code<br>
>>>>>> for lsi 3008?<br>
>>>>>><br>
>>>>>> TIA<br>
>>>>>><br>
>>>>>> linda<br>
>>>>>><br>
>>>>>><br>
>>>>>> _______________________________________________<br>
>>>>>> OmniOS-discuss mailing list<br>
>>>>>> <a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
>>>>>> <a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
>>>>><br>
>>>>><br>
>>>>><br>
>>>>> --<br>
>>>>> Linda Kateley<br>
>>>>> Kateley Company<br>
>>>>> Skype ID-kateleyco<br>
>>>>> <a href="http://kateleyco.com" rel="noreferrer" target="_blank">http://kateleyco.com</a><br>
>>>><br>
>>>><br>
>>>><br>
>>>> _______________________________________________<br>
>>>> OmniOS-discuss mailing list<br>
>>>> <a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
>>>> <a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
>>>><br>
>>><br>
>><br>
>><br>
>> _______________________________________________<br>
>> OmniOS-discuss mailing list<br>
>> <a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
>> <a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
>><br>
> _______________________________________________<br>
> OmniOS-discuss mailing list<br>
> <a href="mailto:OmniOS-discuss@lists.omniti.com">OmniOS-discuss@lists.omniti.com</a><br>
> <a href="http://lists.omniti.com/mailman/listinfo/omnios-discuss" rel="noreferrer" target="_blank">http://lists.omniti.com/mailman/listinfo/omnios-discuss</a><br>
<br>
</div></div></blockquote></div><br></div>