Re: striped metadevice Needs Maintenance
From: Shivakanth Mundru (smundru_at_cox-internet.com)
Date: 02/06/04
- Next message: Kjetil Torgrim Homme: "Re: chmod 2775 dir not work (bug!!!)"
- Previous message: Gavin Maltby: "Re: Solaris 9, slow NFS."
- In reply to: Lisa Koma: "striped metadevice Needs Maintenance"
- Next in thread: Mr. Johan Andersson: "Re: striped metadevice Needs Maintenance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Thu, 05 Feb 2004 20:17:02 -0600
Lisa Koma wrote:
> How can I fix this metadevice error - it doesn't look like there
> is any scsi or harddrive error anymore, but the striped device
> needs maintenance. The drive is responding and is ok.
>
> # metastat d2
>
> d2: Mirror
> Submirror 0: d21
> State: Needs maintenance
> Submirror 1: d22
> State: Okay
> Pass: 1
> Read option: roundrobin (default)
> Write option: parallel (default)
> Size: 35353395 blocks
>
> d21: Submirror of d2
> State: Needs maintenance
> Invoke: metareplace d4 c1t9d0s7
> Size: 35353395 blocks
> Stripe 0: (interlace: 32 blocks)
> Device Start Block Dbase State Hot Spare
> c1t2d0s5 0 No Maintenance
> c0t3d0s5 3591 No Okay
>
> d22: Submirror of d2
> State: Okay
> Size: 35353395 blocks
> Stripe 0: (interlace: 32 blocks)
> Device Start Block Dbase State Hot Spare
> c1t4d0s5 0 No Okay
> c0t5d0s5 3591 No Okay
>
> # metastat -p
> d2 -m d21 d22 1
> d21 1 2 c1t2d0s5 c0t3d0s5
> d22 1 2 c1t4d0s7 c0t5d0s5
> #
You have to invoke metareplace as it said or you can detach,clear the
submirror or the mirror in question and initialize,attach the submirror
again and let it resync with the other mirror.
example in a 1 1 concat scenario
Replace mirror and submirror as per your requirement.
d3 is the mirror and d13 is the submirror that needs maintenance
metadetach -f d3 d13
d3: submirror d13 is detached
metaclear -f d13
d13: Concat/Stripe is cleared
metainit d13 1 1 c1t0d0s3
d13: Concat/Stripe is setup
metattach d3 d13
d3: submirror d13 is attached
Then do a
metastat d13 to observe the resync process.
HTH,
Shivakanth
- Next message: Kjetil Torgrim Homme: "Re: chmod 2775 dir not work (bug!!!)"
- Previous message: Gavin Maltby: "Re: Solaris 9, slow NFS."
- In reply to: Lisa Koma: "striped metadevice Needs Maintenance"
- Next in thread: Mr. Johan Andersson: "Re: striped metadevice Needs Maintenance"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|
|