Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Needs Maintenance

Status
Not open for further replies.

stigger

MIS
May 18, 2002
25
AU
We had some SAN disks go to "Needs Maintenance" mode.

When checked they are ok, SAN software says so.

So we need to do a metareplace, but this box is set up with single disk mirrors.


d415: Mirror
Submirror 0: d416
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 2139029504 blocks (1019 GB)

d416: Submirror of d415
State: Needs maintenance
Invoke: after replacing "Maintenance" components:
metareplace d415 /dev/dsk/c7t600A0B800011EBB20000DD614BC618E7d0s0 <new device>
Size: 2139029504 blocks (1019 GB)
Stripe 0:
Device Start Block Dbase State Reloc Hot Spare
/dev/dsk/c7t600A0B800011EBB20000DD614BC618E7d0s0 0 No Last Erred Yes


So the question is will

metareplace -e d415 /dev/dsk/c7t600A0B800011EBB20000DD614BC618E7d0s0

Work.
 
stigger;

Not really sure how you candle that, basically a mirror was only half created. as no other submirror in the mirror.

Personally if you have enough space on the san I would create another volume of the same size and try to dd the info from the existing drive(needs maintenance to the newly created drive before doing anything with the needs maintenance drive.

Then you could try metareplace -e d415 /dev/dsk/c7t600A0B800011EBB20000DD614BC618E7d0s0

I am very interested in your resolution to this.


Otherwise you may need to metaclear the complete mirror

metaclear -r d415 (this should not effect any data on the volume)

then just recreate.
 
Ya that is what I thought, forgot you would need the -f to force it since it is in a state other than ok.

Thanks for posting back. good ref doc.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top