Skip to contentSkip to conversation

Disk retries on error

DISCUSSION Vijayan Prabhakaran 1 participant 1 message Feb 2, 2005 SCSI

lore
Share & tools
lore
#0 lore raw

Hi,

I'm new to the Linux SCSI community. I got a few questions on how SCSI drivers handle read/write failures.

When there is a latent sector fault (unable to read/write into a sector), or if the data is corrupted (CRC failed), does the SCSI drivers reissue the command ?

Does this differ from one SCSI driver (say, for IBM disk) to another (say, for Seagate) ?

Quoted 1 line

From my code browsing, I assume that retry happens in few cases. Some

of them are:

1. MEDIUM_ERROR
What types of errors are classified as MEDIUM_ERROR ? Is this same as data corruption ?

2. ABORTED_ERROR
Again, what types of errors are classified as this type ?

Any information regarding this will be greatly helpful.

Thanks,
Vijayan