From owner-freebsd-questions@freebsd.org Fri Jun 22 23:43:09 2018 Return-Path: Delivered-To: freebsd-questions@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id D6C2710041F5 for ; Fri, 22 Jun 2018 23:43:08 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: from mail-it0-x234.google.com (mail-it0-x234.google.com [IPv6:2607:f8b0:4001:c0b::234]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (Client CN "smtp.gmail.com", Issuer "Google Internet Authority G2" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4C3F188C21 for ; Fri, 22 Jun 2018 23:43:08 +0000 (UTC) (envelope-from drizzt321@gmail.com) Received: by mail-it0-x234.google.com with SMTP id 16-v6so5051154itl.5 for ; Fri, 22 Jun 2018 16:43:08 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=y1BgTEfgEEzUStUQ8zIsHW9e9F93xw6kL3RtuhNYBmY=; b=TYwCaVbbgH2OCle/JuSIrltOA4c049IgxuRHRdPfgVLy8KKHKvAg/V4Zib2FTMGqIv QNV8dsQXiKaeGkusqPYJJ7QEek4g+d9zPcXtv1Ip23gbGE7E52VuQSKzYpSzQ9usxMfm LiXA2BTgDiQSECqG2VQraj265v1+ROb0/n4o/JH3ZI2fEf3douTsdTmgd0jJmk6f1aPW WyAuazFjIrwPBxia/fg93lb6y7NAlSGlpfE8gnJK6s/Kuti8e8+3Ry/SGGh6HKQYTPB8 UH9AyadjYAriSpJZL4EUZ3+3t3gWVMM+eoPf/zY51LkiklIKF8jVZHblvvjOC9oILZP+ KTeQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:in-reply-to:references:from:date :message-id:subject:to:cc; bh=y1BgTEfgEEzUStUQ8zIsHW9e9F93xw6kL3RtuhNYBmY=; b=F8/BqlKPUjo+QlYjlvP+9mEkIBd+T2F3CowkuXVZtLhQrrolpMoiHoZksSSEGpp/H+ 5LsW8p4r/vjDTxVm5jYGPO7KNgI3CAbvfl2lCNjzhzH+y+zDmfhAojXLmTVCGb8tUSOu D4q8x1Mz0e6ci9NyZ8w3K3PaY4i/+3BWMokTiRweBxP/b2xwwpIRoRnVilyJLFklJgFZ 0h30hc7uP7fQzWu2O58tmn8bhFuRJxlP5KbMoEESSQzMgtj6+kAylgzUs7EREvpNiTIc BMrgV4RiAOYVYCVQXjiwvj816ZDCGST+yPqbSy9N3oTRj1H3y+wREi2w1TguhvSnGRig 5duA== X-Gm-Message-State: APt69E2HU5YmewLtQvD+MjDF1U1tadY5Abi1JHnU1hG63dp2LZJF1ZfW R3sMnXKAOMCOeLrf3mvn/qd7p3Fibd4Cbda3ejLIag== X-Google-Smtp-Source: AAOMgpcbnSvFSoADiH6OP6TxUMP7oksha5G6i+LRfxOO69EPn4+DIZ8kHH9x9atF+mWNY3sLWxruKkjT44bURTruJqw= X-Received: by 2002:a24:bcc4:: with SMTP id n187-v6mr576919ite.55.1529710987782; Fri, 22 Jun 2018 16:43:07 -0700 (PDT) MIME-Version: 1.0 Received: by 2002:a02:9c0c:0:0:0:0:0 with HTTP; Fri, 22 Jun 2018 16:42:36 -0700 (PDT) In-Reply-To: <8e51925f927e29eeee793dab9807a8b3@roundcube.fjl.org.uk> References: <7e6ff012-5108-aa30-2909-6a638b2cdbb1@sentex.net> <8e51925f927e29eeee793dab9807a8b3@roundcube.fjl.org.uk> From: Aaron Date: Fri, 22 Jun 2018 16:42:36 -0700 Message-ID: Subject: Re: ZFS mirror keeps going offline/removed To: Frank Leonhardt Cc: FreeBSD Questions Content-Type: text/plain; charset="UTF-8" X-Content-Filtered-By: Mailman/MimeDel 2.1.26 X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.26 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Jun 2018 23:43:09 -0000 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 wrote: > *** Fixed Top Post - reply at bottom *** > > On Wed, May 30, 2018 at 8:24 AM, Mike Tancsa 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: 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@freebsd.org mailing list > https://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe > @freebsd.org" >