SUMMARY: Disksuite - metareplace question

From: Andrew Stueve <andrew.stueve_at_wcom.com>
Date: Wed Feb 13 2002 - 09:24:17 EST
Got three emails: 

No details on the '-e' option, but by me RTFM this is only for enableing
slices in a RAID 5 metadevice.

One useless, the other two (Matthew Stier and Darren Dunham) with
background information on the structure and how to do a complete
replacement of the mirror.

Basically, we didn't have a window for doing a complete replacement and
reload of the 27Gb of data.  So detached d46, cleared it, recreated, and
tried to reattach.  Got read errors on the sync, so no good.  The
database is up and running on the 'bad' mirror, so we will leave it for
a day and try to get a window for a complete destroy/recreate/reload
operation.

-- 
----------------------------------------------------
Andrew Stueve
andrew.stueve at wcom dot com

----------------------------------------------------
Original:
> I have a 10 drive 0+1 mirror in an e450.  One of the mirrors is in a
> maintenance state, with one of the 5 disks needing maintenance.  The
> other mirror has a problem as well.  I am wondering if I can run a
> "metareplace -e" on c3t0d0s6, and how long that would take (87Gb
> metadevice).
> 
> Or, because the other half of the mirror has the error, should I destroy
> the d46 partition and recreate it from scratch.  I would expect the
> resyncing when attaching a new d46 to take 3-4 hours if there is no
> other I/O on the device.
> 
> Any thoughts on how I should proceed?
> 
> > d46: Submirror of d8
> >     State: Needs maintenance
> >     Invoke: metareplace d8 c3t0d0s6 <new device>
> >     Size: 176813088 blocks
> >     Stripe 0: (interlace: 32 blocks)
> >         Device              Start Block  Dbase State        Hot Spare
> >         c0t3d0s6                   0     No    Okay
> >         c2t2d0s6                4712     No    Okay
> >         c2t3d0s6                4712     No    Okay
> >         c3t0d0s6                4712     No    Maintenance
> >         c3t1d0s6                4712     No    Okay
> > 
> > 
> > d36: Submirror of d8
> >     State: Needs maintenance
> >     Invoke: after replacing "Maintenance" components:
> >                 metareplace d8 c3t2d0s6 <new device>
> >     Size: 176813088 blocks
> >     Stripe 0: (interlace: 32 blocks)
> >         Device              Start Block  Dbase State        Hot Spare
> >         c0t2d0s6                   0     No    Okay
> >         c2t0d0s6                4712     No    Okay
> >         c2t1d0s6                4712     No    Okay
> >         c3t2d0s6                4712     No    Last Erred
> >         c3t3d0s6                4712     No    Okay
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers
Received on Wed Feb 13 08:25:32 2002

This archive was generated by hypermail 2.1.8 : Thu Mar 03 2016 - 06:42:34 EST