From owner-freebsd-questions@FreeBSD.ORG Thu Jun 27 16:58:07 2013 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id F3F53ADD for ; Thu, 27 Jun 2013 16:58:06 +0000 (UTC) (envelope-from amvandemore@gmail.com) Received: from mail-pb0-x22f.google.com (mail-pb0-x22f.google.com [IPv6:2607:f8b0:400e:c01::22f]) by mx1.freebsd.org (Postfix) with ESMTP id D24FB1226 for ; Thu, 27 Jun 2013 16:58:06 +0000 (UTC) Received: by mail-pb0-f47.google.com with SMTP id rr13so1155754pbb.20 for ; Thu, 27 Jun 2013 09:58:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type; bh=WzOd0e+QnSmUYi4/2hjf7Cw5G2XNThVw5ojpKoA1zk0=; b=UMBOrd3H0TT4wn8q7OhRmFl4xxsX4wWackAdXbZRzxKKHjXjfMOrcXENSBoZvg5E/g 89ISiSS1XR++D/FW/ZWEVKIvaHvtnBVR3QnJvjzQES4xCXpf5KtSd/4GNLuU3RoX+OiI 8ZcmdSZYa1n82ynC0CNTjLn5LHVrGiLntxOEaNahV58f20yEj7GT2QBC8lMSiXDs79WH PnB52Ktn/iOy3DlWQE4CaRpEBaN1D3JBpGUxsGU8bK5msJ9prxBKud6VhOdqsI9c+UDW MqQyEIuArJfIQZ8YACjbVe7emI0nDZ3dSjqvUZCwaqOe8mUmqqFcSgakn4FX/6FSbhvm KP4w== MIME-Version: 1.0 X-Received: by 10.68.103.228 with SMTP id fz4mr7037392pbb.101.1372352286320; Thu, 27 Jun 2013 09:58:06 -0700 (PDT) Received: by 10.70.93.137 with HTTP; Thu, 27 Jun 2013 09:58:06 -0700 (PDT) In-Reply-To: <36C962B9-ABC4-45E3-AC94-46D6CEE960E1@mac.com> References: <20130627023837.GA7685@sputnjik.localdomain> <36C962B9-ABC4-45E3-AC94-46D6CEE960E1@mac.com> Date: Thu, 27 Jun 2013 11:58:06 -0500 Message-ID: Subject: Re: Troubleshooting a gmirror disk marked broken From: Adam Vande More To: Charles Swiger Content-Type: text/plain; charset=ISO-8859-1 X-Content-Filtered-By: Mailman/MimeDel 2.1.14 Cc: =?ISO-8859-2?Q?Nikola_Pavlovi=E6?= , FreeBSD Questions X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 27 Jun 2013 16:58:07 -0000 On Thu, Jun 27, 2013 at 10:16 AM, Charles Swiger wrote: > If you haven't rebuilt the mirror already, running a full disk read scan > against both drives (ie, via "dd if=/dev/ad4 of=/dev/null bs=1m" or > similar) > might be prudent. That will help identify/migrate any sectors which are > failing but still recoverable via ECC to the spare sectors. > I was going to say something like that too but AFAIK sectors aren't remapped on failed reads, has to be written to(dd if=/dev/zero of=/dev/ad4 bs=1m). If it were me, I make sure I had fully tested complete backups before I broke the mirror and did that. -- Adam Vande More