From owner-freebsd-questions@freebsd.org Fri Jun 8 14:24: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 37084101BF50 for ; Fri, 8 Jun 2018 14:24:09 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from bs1.fjl.org.uk (bs1.fjl.org.uk [84.45.41.196]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client CN "bs1.fjl.org.uk", Issuer "bs1.fjl.org.uk" (not verified)) by mx1.freebsd.org (Postfix) with ESMTPS id BCB5984119 for ; Fri, 8 Jun 2018 14:24:08 +0000 (UTC) (envelope-from freebsd-doc@fjl.co.uk) Received: from roundcube.fjl.org.uk (localhost [127.0.0.1]) by bs1.fjl.org.uk (8.14.4/8.14.4) with ESMTP id w58EGPTZ095137 for ; Fri, 8 Jun 2018 15:16:25 +0100 (BST) (envelope-from freebsd-doc@fjl.co.uk) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8; format=flowed Content-Transfer-Encoding: 7bit Date: Fri, 08 Jun 2018 15:16:25 +0100 From: Frank Leonhardt To: freebsd-questions@freebsd.org Subject: Re: ZFS mirror keeps going offline/removed In-Reply-To: References: <7e6ff012-5108-aa30-2909-6a638b2cdbb1@sentex.net> Message-ID: <8e51925f927e29eeee793dab9807a8b3@roundcube.fjl.org.uk> X-Sender: freebsd-doc@fjl.co.uk User-Agent: Roundcube Webmail/0.9.2 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, 08 Jun 2018 14:24:09 -0000 *** 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.