Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 27 Jun 2013 11:58:06 -0500
From:      Adam Vande More <amvandemore@gmail.com>
To:        Charles Swiger <cswiger@mac.com>
Cc:        =?ISO-8859-2?Q?Nikola_Pavlovi=E6?= <nzp@riseup.net>, FreeBSD Questions <freebsd-questions@freebsd.org>
Subject:   Re: Troubleshooting a gmirror disk marked broken
Message-ID:  <CA+tpaK0rT83sMcaQTsg3m31Gr2RrnZBTbDgr-sZyWAS_6fzS5w@mail.gmail.com>
In-Reply-To: <36C962B9-ABC4-45E3-AC94-46D6CEE960E1@mac.com>
References:  <20130627023837.GA7685@sputnjik.localdomain> <36C962B9-ABC4-45E3-AC94-46D6CEE960E1@mac.com>

Next in thread | Previous in thread | Raw E-Mail | Index | Archive | Help
On Thu, Jun 27, 2013 at 10:16 AM, Charles Swiger <cswiger@mac.com> 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



Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?CA+tpaK0rT83sMcaQTsg3m31Gr2RrnZBTbDgr-sZyWAS_6fzS5w>