ZFS mirror keeps going offline/removed

Aaron drizzt321 at gmail.com
Fri Jun 22 23:43:09 UTC 2018


So I think I figured it out, don't know where I saw it but I think I came
across some advice somewhere saying to try replacing the SATA cables, and
that seems like it has done the trick. They were plugged into different
controllers (one mobo, one PCIe HBA card). Might only have been 1 cable
with a problem, or maybe simply re-seating the cables would have worked.
But the 2 new cables seems to have made it work well, so I'm going to leave
it as is.

--Aaron

On Fri, Jun 8, 2018 at 7:16 AM, Frank Leonhardt <freebsd-doc at fjl.co.uk>
wrote:

> *** Fixed Top Post - reply at bottom ***
>
> On Wed, May 30, 2018 at 8:24 AM, Mike Tancsa <mike at sentex.net> wrote:
>>
>> On 5/29/2018 10:29 PM, Aaron wrote:
>>> > So recently my ZFS mirror keeps getting both drives marked as removed
>>> which
>>> >
>>> > May 29 19:20:33 darkserver kernel: ada2 at ahcich2 bus 0 scbus2 target
>>> 0
>>> > lun 0
>>> > May 29 19:20:33 darkserver kernel: ada2: <ST4000DM005-2DP166 0001> s/n
>>> > ZDH1CTDZ detached
>>>
>>> If I am reading this right, the physical drive is disappearing from the
>>> system.
>>> Try installing smartmontools
>>> and post
>>> smartctl -a /dev/ada2
>>>
>>>
>>>
>>> On 2018-05-31 02:14, Aaron wrote:
>
>> Hm. SMART seems fine (see below for ada2 & ada8), but looks fine. I did
>> look at camcontrol, don't see anything obvious but strange that ada2 &
>> ada8
>>
>
> I see you're using "Green" drives, and this is most likely your problem.
> Basically, if they go to sleep to conserve power and then don't respond
> quickly enough then ZFS (and gmirror) will decide they're off-line, or at
> least flaky, and detach them.
>
> Regards, Frank.
>
> _______________________________________________
> freebsd-questions at freebsd.org mailing list
> https://lists.freebsd.org/mailman/listinfo/freebsd-questions
> To unsubscribe, send any mail to "freebsd-questions-unsubscribe
> @freebsd.org"
>


More information about the freebsd-questions mailing list