Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 3 Nov 2006 11:26:11 -0500
From:      Mark Bucciarelli <mark@gaiahost.coop>
To:        Pawel Jakub Dawidek <pjd@FreeBSD.org>
Cc:        freebsd-geom@FreeBSD.org
Subject:   Re: Replacing Failed Drive
Message-ID:  <20061103162611.GS2276@rabbit>
In-Reply-To: <20060213180744.GB18369@garage.freebsd.pl>
References:  <20060213155454.GM2248@rabbit> <20060213180744.GB18369@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help
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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20061103162611.GS2276>