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

Enable PER for SCSI disks #4

Open baruch opened 10 years ago

baruch commented 10 years ago

When using SCSI commands for SCSI disks it would be very useful to enable the PER bit in the Read-Write Error Recovery mode page (page 0x01) as it will return an indicator for corrected errors. This should be returned to its former state after the test ends to avoid impact on other programs or the OS.