Needs Maintenance
Needs Maintenance
(OP)
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.
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.
RE: Needs Maintenance
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.
RE: Needs Maintenance
ht
They suggested option 4
RE: Needs Maintenance
Thanks for posting back. good ref doc.