Replacing Failed Drive

Mark Bucciarelli mark at gaiahost.coop
Tue Feb 14 04:15:18 PST 2006


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

(2a) Move da1 to da0

It wouldn't boot with blank disk in da0.

> +>     (3) replace drive
> +>     (4) power up
> +>     (5) gmirror insert gm0 da0
> +> 
> +> Is this the correct sequence?
> 
> Yes.

    $ gmirror status
          Name    Status  Components
    mirror/gm0  COMPLETE  da0
                          da1
    $

:D

Thanks.

m


More information about the freebsd-geom mailing list