SCSI/SATA 设备错误代码速查手册(来自wiki)

部分服务器RAID卡,如Dell Perc 5i 6i 检测到故障时,通常会向系统日志写一份存储设备信息,如下
Sep 19 15:22:23 XXX Server Administrator: Storage Service EventID: 2095 Unexpected sense. SCSI sense data: Sense key: 3 Sense code: 11 Sense qualifier: 0: Physical Disk 0:0:3 Controller 0, Connector 0 Sep 19 15:22:24 XXX Server Administrator: Storage Service EventID: 2266 Controller log file entry: Physical Disk 0:0:2 Controller 0, Connector 0

注意观察 Sense key: 3 Sense code: 11 Sense qualifier: 0 这里已经给出了具体错误号,但仍无法找到具体错误,通过查找代码手册,得出结论为 Medium Error – unrecovered read error 中等错误 – 无法恢复的读取错误,说明第三块硬盘存在读取故障

再如Lenovo 730-8i 检测到故障时,在raid卡log中会写如下信息:

Event Description: Unexpected sense: PD 10(e0xfc/s5) Path 4433221105000000, CDB: 8f 00 00 00 00 00 1b 29 f0 00 00 00 10 00 00 00, Sense: 3/11/00

其中 sense:3/11/00也为具体错误号,通过查找代码手册, 得出结论为Medium Error – unrecovered read error 中等错误 – 无法恢复的读取错误,说明这块硬盘存在读取故障

手册如下:

Error Condition
No Sense000No error
05D0No sense – PFA threshold reached
Soft Error110Recovered Write error – no index
120Recovered no seek completion
130Recovered Write error – write fault
190Track following error
10B1Temperature warning
10C1Recovered Write error with auto-realloc – reallocated
10C3Recovered Write error – recommend reassign
1121Recovered data without ECC using prev logical block ID
1122Recovered data with ECC using prev logical block ID
1141Recovered Record Not Found
1160Recovered Write error – Data Sync Mark Error
1161Recovered Write error – Data Sync Error – data rewritten
1162Recovered Write error – Data Sync Error – recommend rewrite
1163Recovered Write error – Data Sync Error – data auto-reallocated
1164Recovered Write error – Data Sync Error – recommend reassignment
1170Recovered data with no error correction applied
1171Recovered Read error – with retries
1172Recovered data using positive offset
1173Recovered data using negative offset
1175Recovered data using previous logical block ID
1176Recovered Read error – without ECC, auto reallocated
1177Recovered Read error – without ECC, recommend reassign
1178Recovered Read error – without ECC, recommend rewrite
1179Recovered Read error – without ECC, data rewritten
1180Recovered Read error – with ECC
1181Recovered data with ECC and retries
1182Recovered Read error – with ECC, auto reallocated
1185Recovered Read error – with ECC, recommend reassign
1186Recovered data using ECC and offsets
1187Recovered Read error – with ECC, data rewritten
11C0Defect List not found
11C1Primary defect list not found
11C2Grown defect list not found
11F0Partial defect list transferred
1440Internal target failure
15D0PFA threshold reached
Not Ready240Not Ready – Cause not reportable.
241Not Ready – becoming ready
242Not Ready – need initialise command (start unit)
243Not Ready – manual intervention required
244Not Ready – format in progress
249Not Ready – self-test in progress
2310Not Ready – medium format corrupted
2311Not Ready – format command failed
2352Not Ready – enclosure services unavailable
23A0Not Ready – medium not present
24C0Diagnostic Failure – config not loaded
Medium Error320Medium Error – No Seek Complete
330Medium Error – write fault
3100Medium Error – ID CRC error
3110Medium Error – unrecovered read error
3111Medium Error – read retries exhausted
3112Medium Error – error too long to correct
3114Medium Error – unrecovered read error – auto re-alloc failed
3110BMedium Error – unrecovered read error – recommend reassign
3141Medium Error – record not found
3160Medium Error – Data Sync Mark error
3164Medium Error – Data Sync Error – recommend reassign
3190Medium Error – defect list error
3191Medium Error – defect list not available
3192Medium Error – defect list error in primary list
3193Medium Error – defect list error in grown list
3190EMedium Error – fewer than 50% defect list copies
3310Medium Error – medium format corrupted
3311Medium Error – format command failed
Hardware Error410Hardware Error – no index or sector
420Hardware Error – no seek complete
430Hardware Error – write fault
490Hardware Error – track following error
4110Hardware Error – unrecovered read error in reserved area
4160Hardware Error – Data Sync Mark error in reserved area
4190Hardware Error – defect list error
4192Hardware Error – defect list error in Primary List
4193Hardware Error – defect list error in Grown List
4310Hardware Error – reassign failed
4320Hardware Error – no defect spare available
4351Hardware Error – unsupported enclosure function
4352Hardware Error – enclosure services unavailable
4353Hardware Error – enclosure services transfer failure
4354Hardware Error – enclosure services refused
4355Hardware Error – enclosure services checksum error
43E3Hardware Error – self-test failed
43E4Hardware Error – unable to update self-test
4440Hardware Error – internal target failure
Illegal Request51A0Illegal Request – parm list length error
5200Illegal Request – invalid/unsupported command code
5210Illegal Request – LBA out of range
5240Illegal Request – invalid field in CDB (Command Descriptor Block)
5250Illegal Request – invalid LUN
5260Illegal Request – invalid fields in parm list
5261Illegal Request – parameter not supported
5262Illegal Request – invalid parm value
5263Illegal Request – invalid field parameter – threshold parameter
5264Illegal Request – invalid release of persistent reservation
52C0Illegal Request – command sequence error
5351Illegal Request – unsupported enclosure function
5490Illegal Request – invalid message
5530Illegal Request – media load or eject failed
5531Illegal Request – unload tape failure
5532Illegal Request – medium removal prevented
5550Illegal Request – system resource failure
5551Illegal Request – system buffer full
5554Illegal Request – Insufficient Registration Resources
Unit Attention6280Unit Attention – not-ready to ready transition (format complete)
6290Unit Attention – POR or device reset occurred
6291Unit Attention – POR occurred
6292Unit Attention – SCSI bus reset occurred
6293Unit Attention – TARGET RESET occurred
6294Unit Attention – self-initiated-reset occurred
6295Unit Attention – transceiver mode change to SE
6296Unit Attention – transceiver mode change to LVD
62A0Unit Attention – parameters changed
62A1Unit Attention – mode parameters changed
62A2Unit Attention – log select parms changed
62A3Unit Attention – Reservations pre-empted
62A4Unit Attention – Reservations released
62A5Unit Attention – Registrations pre-empted
62F0Unit Attention – commands cleared by another initiator
63F0Unit Attention – target operating conditions have changed
63F1Unit Attention – microcode changed
63F2Unit Attention – changed operating definition
63F3Unit Attention – inquiry parameters changed
63F5Unit Attention – device identifier changed
65D0Unit Attention – PFA threshold reached
Write Protect7270Write Protect – command not allowed
Aborted CommandB00Aborted Command – no additional sense code
B1B0Aborted Command – sync data transfer error (extra ACK)
B250Aborted Command – unsupported LUN
B3F0FAborted Command – echo buffer overwritten
B430Aborted Command – message reject error
B440Aborted Command – internal target failure
B450Aborted Command – Selection/Reselection failure
B470Aborted Command – SCSI parity error
B480Aborted Command – initiator-detected error message received
B490Aborted Command – inappropriate/illegal message
B4B0Aborted Command – data phase error
B4E0Aborted Command – overlapped commands attempted
B4F0Aborted Command – due to loop initialisation
OtherE1D0Miscompare – during verify byte check operation
x50Illegal request
x60Unit attention
x70Data protect
x80LUN communication failure
x81LUN communication timeout
x82LUN communication parity error
x83LUN communication CRC error
x90vendor specific sense key
x91servo fault
x94head select fault
x0A0error log overflow
x0B0aborted command
x0C0write error
x0C2write error – auto-realloc failed
x0E0data miscompare
x120address mark not found for ID field
x140logical block not found
x150random positioning error
x151mechanical positioning error
x152positioning error detected by read of medium
x270write protected
x290POR or bus reset occurred
x311format failed
x321defect list update error
x322no spares available
x351unspecified enclosure services failure
x370parameter rounded
x3D0invalid bits in identify message
x3E0LUN not self-configured yet
x401DRAM parity error
x402DRAM parity error
x420power-on or self-test failure
x4C0LUN failed self-configuration
x5C0RPL status change
x5C1spindles synchronised
x5C2spindles not synchronised
x650voltage fault
x≥80xVendor specific
xx≥80Vendor specific
最后修改:2023 年 04 月 21 日
如果觉得我的文章对你有用,请随意赞赏