SCSI error: return code = 0x08070002, 0x08100002, or 0x08000002 and sense key: Medium Error
Issue
- Seeing Medium Error sense key being logged:
- SCSI error: return code 0x08070002 plus Medium Error sense key
- SCSI error: return code 0x08000002 plus Medium Error sense key
- SCSI error: return code 0x08100002 plus Medium Error sense key
- Resulting in issues with disks:
- With multipath, there could be constant path failovers.
- With a mounted filesystem, it is remounted read-only.
- It could happen for a lun or subset of luns.
/var/log/messagescontains:
kernel: sd 1:0:0:2: SCSI error: return code = 0x08070002
kernel: sdab: Current: sense key: Medium Error
kernel: Add. Sense: Unrecovered read error
kernel:
kernel: end_request: I/O error, dev sdab, sector 83235271
kernel: device-mapper: multipath: Failing path 65:176.
multipathd: dm-8: add map (uevent)
multipathd: dm-8: devmap already registeredor, similar such as
sd 0:0:0:0: [sda] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
sd 0:0:0:0: [sda] Sense Key : Medium Error [current]
sd 0:0:0:0: [sda] Add. Sense: Unrecovered read errorOR
sd 6:0:2:0: SCSI error: return code = 0x08100002
kernel: Result: hostbyte=invalid driverbyte=DRIVER_SENSE,SUGGEST_OK
kernel: sde: Current: sense key: Medium Error
kernel: Add. Sense: Record not foundOR
Nov 10 11:43:53 hostname kernel: sd 1:0:5:14: [sdhl] Add. Sense: Unrecovered read error - recommend reassignment
Nov 10 11:43:53 hostname kernel: sd 1:0:5:14: [sdhl] CDB: Read(10): 28 00 04 45 a6 70 00 00 08 00
Nov 10 11:43:53 hostname kernel: sd 3:0:5:14: [sduj] Unhandled sense code
Nov 10 11:43:53 hostname kernel: sd 3:0:5:14: [sduj] Result: hostbyte=DID_OK driverbyte=DRIVER_SENSE
Nov 10 11:43:53 hostname kernel: sd 3:0:5:14: [sduj] Sense Key : Medium Error [current] Environment
- Red Hat Enterprise Linux (RHEL) 7
- Red Hat Enterprise Linux (RHEL) 6
- Red Hat Enterprise Linux (RHEL) 5
- Red Hat Enterprise Linux (RHEL) 4
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
