Академический Документы
Профессиональный Документы
Культура Документы
state.
Symptoms:
There may be times when trying a metareplace or metasync fails and the metadevice
is still left in a "Needs Maintenance" state. One of the disks maybe experiencing
a problem on a sector.
In this example, the mirror d10 is in a "Need Maintenance" state for both
submirrors:
# metastat d10
d10: Mirror
Submirror 0: d0
State: Needs maintenance
Submirror 1: d1
State: Needs maintenance
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 69078879 blocks
When trying to run the metasync command, the c1t0d0s0 device reported errors in
/var/adm/messages:
Resolution
The bad block can be fixed by running format --> analyze --> read on the c1t0d0
disk.
# format
Searching for disks...done
pass 0
Medium error during read: block 4057969 (0x3deb71) (1404/16/101)
ASC: 0x11 ASCQ: 0x0
Sep 15 09:26:59 bobbob scsi: WARNING:
/pci@8,600000/SUNW,qlc@2/fp@0,0/ssd@w2100002037f396c9,0 (ssd1):
Sep 15 09:26:59 bobbob Error for Command: read(10) Error Level: Retryable
Sep 15 09:26:59 bobbob scsi: Requested Block: 4057969 Error Block: 4057969
Sep 15 09:26:59 bobbob scsi: Vendor: SEAGATE Serial Number: 0107D1MVCF
Sep 15 09:26:59 bobbob scsi: Sense Key: Media Error
Sep 15 09:26:59 bobbob scsi: ASC: 0x11 (unrecovered read error), ASCQ: 0x0,
FRU: 0xe4
Repairing hard error on 4057969 (1404/16/101)...ok.
24619/26/53
pass 1
24619/26/53
# metasync d10
# metastat d10
d10: Mirror
Submirror 0: d0
State: Needs maintenance
Submirror 1: d1
State: Okay
Pass: 1
Read option: roundrobin (default)
Write option: parallel (default)
Size: 69078879 blocks
Product