baruch / diskscan

Scan disk for bad or near failure sectors, performs disk diagnostics
GNU General Public License v3.0
108 stars 29 forks source link

Handle and report ATA errors in SCSI commands #7

Open baruch opened 10 years ago

baruch commented 10 years ago

When a device is an ATA device behind a SCSI gateway and uses a proper SAT (SCSI ATA Translator) there can be ATA registers in the SENSE buffer which can be parsed for better error reporting.

They should be parsed and reported to the user and maybe used for scan decision making.

baruch commented 10 years ago

For this to work we need to use ATA commands in passthrough mode.