From owner-freebsd-geom@FreeBSD.ORG Fri Nov 3 16:26:10 2006 Return-Path: X-Original-To: freebsd-geom@freebsd.org Delivered-To: freebsd-geom@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A7FCC16A47E; Fri, 3 Nov 2006 16:26:10 +0000 (UTC) (envelope-from mark@gaiahost.coop) Received: from biodiesel.gaiahost.coop (biodiesel.gaiahost.coop [64.95.78.120]) by mx1.FreeBSD.org (Postfix) with ESMTP id 40F9C43D46; Fri, 3 Nov 2006 16:26:10 +0000 (GMT) (envelope-from mark@gaiahost.coop) Received: from gaiahost.coop (host-64-65-195-19.spr.choiceone.net [::ffff:64.65.195.19]) (AUTH: LOGIN mark@hubcapconsulting.com) by biodiesel.gaiahost.coop with esmtp; Fri, 03 Nov 2006 11:26:08 -0500 id 0024C1A1.454B6DA0.00006B7F Received: by gaiahost.coop (sSMTP sendmail emulation); Fri, 3 Nov 2006 11:26:12 -0500 Date: Fri, 3 Nov 2006 11:26:11 -0500 From: Mark Bucciarelli To: Pawel Jakub Dawidek Message-ID: <20061103162611.GS2276@rabbit> Mail-Followup-To: Pawel Jakub Dawidek , freebsd-geom@FreeBSD.org References: <20060213155454.GM2248@rabbit> <20060213180744.GB18369@garage.freebsd.pl> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Content-Disposition: inline In-Reply-To: <20060213180744.GB18369@garage.freebsd.pl> User-Agent: Mutt/1.4.2.1i Cc: freebsd-geom@FreeBSD.org Subject: Re: Replacing Failed Drive X-BeenThere: freebsd-geom@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: GEOM-specific discussions and implementations List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 03 Nov 2006 16:26:10 -0000 On Mon, Feb 13, 2006 at 07:07:45PM +0100, Pawel Jakub Dawidek wrote: > On Mon, Feb 13, 2006 at 10:54:54AM -0500, Mark Bucciarelli wrote: > +> I have a dead drive that I will replace tonight. > +> > +> $ gmirror status > +> Name Status Components > +> mirror/gm0 DEGRADED da1 > +> $ > +> > +> As I read the man page, I should do this: > +> > +> (1) gmirror forget gm0 > +> (2) power down > +> (3) replace drive > +> (4) power up > +> (5) gmirror insert gm0 da0 > +> > +> Is this the correct sequence? > > Yes. Ok, now I need to replace a good disk that I think has a bad block (getting a bunch of soft SCSI errors). Is this OK: (1) gmirror remove gm0 da1 (2) power down (3) replace drive (4) power up (5) gmirror insert gm0 da1 or do I need to run forget after the remove command? Thanks, m