Replacing Failed Drive

Pawel Jakub Dawidek pjd at FreeBSD.org
Sun Nov 5 14:39:39 UTC 2006


On Fri, Nov 03, 2006 at 11:26:11AM -0500, Mark Bucciarelli wrote:
> 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

It is correct.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20061105/7c2c29dd/attachment.pgp


More information about the freebsd-geom mailing list