SUMMARY:How to fix a slice which read "need maintenance" under Di sksuite4.1

From: German, Vinnie (Vgerman@us.nomura.com)
Date: Thu Dec 12 2002 - 11:47:33 EST


Special thanks to all folks involves in helping me to solve this one.

DEWINTER Steven (BMB) [Steven.DEWINTER@proximus.net]
Jeff Horwitz [jhorwitz75@yahoo.com]
Facey, Aaron [aaron_facey@maxtor.com]
Monappallil, George [George.Monappallil@newsedge.com]
Peers, Julie [julie.peers@capita.co.uk]
Stephen Nesman [stephen.nesman@hosting.com]
Alex Stade [alex@trdlnk.com]

Here is my original question:

I have a bootable disk which is now reporting that a slice needs
maintenance.
here is the output of "metastat" for that particular slice:

d5: Mirror
    Submirror 0: d15
      State: Needs maintenance
    Submirror 1: d25
      State: Okay
    Pass: 1
    Read option: roundrobin (default)
    Write option: parallel (default)
    Size: 8392072 blocks

d15: Submirror of d5
    State: Needs maintenance
    Invoke: after replacing "Maintenance" components:
                metareplace d5 c0t0d0s5 <new device>
    Size: 8392072 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t0d0s5 0 No Last Erred

d25: Submirror of d5
    State: Okay
    Size: 8392072 blocks
    Stripe 0:
        Device Start Block Dbase State Hot Spare
        c0t1d0s5 0 No Okay

I'm thinking there must be command which I should be able to run to fix
this problem. I do have a mirror disk which seems to be ok.
Thanks in advance for your cooperation.
Vinnie.
 

And Here is the answer to it:

All I needed to do was to re-establish a mirror on the same disk
by issuing the following command:

metareplace -e d5 c0t0d0s5

----- This message is for the named person's use only. It may contain
confidential, proprietary or legally privileged information. No
confidentiality or privilege is waived or lost by any mistransmission. If
you receive this message in error, please delete it and all copies from your
system, destroy any hard copies and notify the sender. You must not,
directly or indirectly, use, disclose, distribute, print, or copy any part
of this message if you are not the intended recipient. Nomura Holding
America Inc., Nomura Securities International, Inc, and their respective
subsidiaries each reserve the right to monitor all e-mail communications
through its networks. Any views expressed in this message are those of the
individual sender, except where the message states otherwise and the sender
is authorized to state the views of such entity. Unless otherwise stated,
any pricing information in this message is indicative only, is subject to
change and does not constitute an offer to deal at any price quoted. Any
reference to the terms of executed transactions should be treated as
preliminary only and subject to our formal written confirmation.
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:27 EDT