Replacing Failed Drive
Mark Bucciarelli
mark at gaiahost.coop
Fri Nov 3 16:26:10 UTC 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
> +> (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
More information about the freebsd-geom
mailing list