Lucent Technologies Speaker 585-210-940 User Manual

Page of 106
 
 
Troubleshooting 
CentreVu CMS Release 3 Version 8 Disk-Mirrored Systems
Fixing “needs maintenance” messages
84
Fixing “needs maintenance” messages
4
On rare occasions mirrors may get severely out of sync. An extreme 
example is when a disk is removed from a powered system without first 
being detached with a 
metadetach
 command. The situation is indicated 
by the appearance of a 
Needs maintenance message in a State line of a 
metastat
 response. For example:
In such situations the 
metareplace
 command can force the recovery of 
the failed slice. The 
Invoke line of the 
metastat
 response leads the way. 
Given the response above, for example, you would enter the following:
#
metastat
d13: Mirror
    Submirror 0: d11
      State: Needs maintenance
    Submirror 1: d12
      State: 
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 2209680 blocks
d11: Submirror of d13
    State: Needs maintenance
Invoke: metareplace d13 c0t0d0s0
 Size: 2209680 blocks
    Stripe 0:
Device
Start Block Dbase State Hot Spare
c0t0d0s0
0
 No 
Okay
.
.
.
#
# metareplace -e d13 c0t0d0s0
# metastat
d13: Mirror
Submirror 0: d11
State: Resyncing    
Submirror 1: d12
State: Needs maintenance 
.
.
.
#