[SunHELP] help

Chanaka Mendis sunhelp at sunhelp.org
Thu Aug 2 05:57:58 CDT 2001


gaurang dave wrote:

> I hv following hardware & software installed.
> (1)Sun Ultra 140-2Nos.
> (2)Disk array-2nos.
> (3)Sun solaris 2.5
> (4)disksuite for mirroring and creating diskset.
> (5)JEEVA high availibility clustering software.
>
> if i give metastat -s ahd where 'ahd' is the name of
> my diskset
> following is the output.
>
>  ahd/d50: Mirror
>     Submirror 0: ahd/d30
>       State: Needs maintenance
>     Submirror 1: ahd/d40
>       State: Needs maintenance
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 1843760 blocks
>
> ahd/d30: Submirror of ahd/d50
>     State: Needs maintenance
>     Invoke: after replacing "Maintenance" components:
>                 metareplace ahd/d50 c1t2d0s3 <new device>
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t2d0s3                   0     No    Last Erred
>
> ahd/d40: Submirror of ahd/d50
>     State: Needs maintenance
>     Invoke: metareplace ahd/d50 c2t2d0s3 <new device>
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t2d0s3                   0     No    Maintenance
>
> ahd/d51: Mirror
>     Submirror 0: ahd/d31
>       State: Okay
>     Submirror 1: ahd/d41
>       State: Needs maintenance
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 1843760 blocks
>
> ahd/d31: Submirror of ahd/d51
>     State: Okay
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t2d0s4                   0     No    Okay
>
> ahd/d41: Submirror of ahd/d51
>     State: Needs maintenance
>     Invoke: metareplace ahd/d51 c2t2d0s4 <new device>
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t2d0s4                   0     No    Maintenance
>
> ahd/d52: Mirror
>     Submirror 0: ahd/d32
>       State: Okay
>     Submirror 1: ahd/d42
>       State: Okay
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 462080 blocks
>
> ahd/d32: Submirror of ahd/d52
>     State: Okay
>     Size: 462080 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t2d0s5                   0     No    Okay
>
> ahd/d42: Submirror of ahd/d52
>     State: Okay
>     Size: 462080 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t2d0s5                   0     No    Okay
>
> ahd/d53: Mirror
>     Submirror 0: ahd/d33
>       State: Okay
>     Submirror 1: ahd/d43
>       State: Needs maintenance
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 3687520 blocks
>
> ahd/d33: Submirror of ahd/d53
>     State: Okay
>     Size: 3687520 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t4d0s3                   0     No    Okay
>
> ahd/d43: Submirror of ahd/d53
>     State: Needs maintenance
>     Invoke: metareplace ahd/d53 c2t3d0s3 <new device>
>     Size: 3687520 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t3d0s3                   0     No    Maintenance
>
> ahd/d54: Mirror
>     Submirror 0: ahd/d34
>       State: Okay
>     Submirror 1: ahd/d44
>       State: Okay
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 462080 blocks
>
> ahd/d34: Submirror of ahd/d54
>     State: Okay
>     Size: 462080 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t4d0s5                   0     No    Okay
>
> ahd/d44: Submirror of ahd/d54
>     State: Okay
>     Size: 462080 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t3d0s5                   0     No    Okay
>
> ahd/d55: Mirror
>     Submirror 0: ahd/d35
>       State: Okay
>     Submirror 1: ahd/d45
>       State: Needs maintenance
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 1843760 blocks
>
> ahd/d35: Submirror of ahd/d55
>     State: Okay
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t3d0s3                   0     No    Okay
>
> ahd/d45: Submirror of ahd/d55
>     State: Needs maintenance
>     Invoke: metareplace ahd/d55 c2t4d0s3 <new device>
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t4d0s3                   0     No    Maintenance
>
> ahd/d56: Mirror
>     Submirror 0: ahd/d36
>       State: Needs maintenance
>     Submirror 1: ahd/d46
>       State: Needs maintenance
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 1843760 blocks
>
> ahd/d36: Submirror of ahd/d56
>     State: Needs maintenance
>     Invoke: after replacing "Maintenance" components:
>                 metareplace ahd/d56 c1t3d0s4 <new device>
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t3d0s4                   0     No    Last Erred
>
> ahd/d46: Submirror of ahd/d56
>     State: Needs maintenance
>     Invoke: metareplace ahd/d56 c2t4d0s4 <new device>
>     Size: 1843760 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t4d0s4                   0     No    Maintenance
>
> ahd/d57: Mirror
>     Submirror 0: ahd/d37
>       State: Okay
>     Submirror 1: ahd/d47
>       State: Needs maintenance
>     Pass: 1
>     Read option: roundrobin (default)
>     Write option: parallel (default)
>     Size: 462080 blocks
>
> ahd/d37: Submirror of ahd/d57
>     State: Okay
>     Size: 462080 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c1t3d0s5                   0     No    Okay
>
> ahd/d47: Submirror of ahd/d57
>     State: Needs maintenance
>     Invoke: metareplace ahd/d57 c2t4d0s5 <new device>
>     Size: 462080 blocks
>     Stripe 0:
>         Device              Start Block  Dbase State
> Hot Spare
>         c2t4d0s5                   0     No    Maintenance
>
> As u can see number of submirrors are in maintenance
> stat so what should
> i do to get them in sync with another working
> submirror.pls suggest me the
> best available method.well i think i should try with
> metareplace -e to
> reenable the component in maintenance stat.
>
> What to do with the submirror whose another component
> also is in Last erred stat.
>
> Is fsck required prior to  performing metareplace -e
> on maintenance component.?
>
> Rgds.,
>
> Gaurang Dave.
>
> __________________________________________________
> Do You Yahoo!?
> Make international calls for as low as $.04/minute with Yahoo! Messenger
> http://phonecard.yahoo.com/
> _______________________________________________
> SunHELP maillist  -  SunHELP at sunhelp.org
> http://www.sunhelp.org/mailman/listinfo/sunhelp

Best thing is use metareplace -e

Gayantha




More information about the SunHELP mailing list