Method, system and computer program product for reporting and recovering
from uncorrectable data errors in a data processing system using the
Advanced Technology Attachment (ATA) or the Serial ATA (SATA) protocol.
The invention utilizes the data scrubbing functionality of SCSI hard
drives to provide a higher level of data integrity in an operating system
implemented RAID environment. If an uncorrectable data error is found on
a hard drive during a background data scrubbing operation, information
concerning the data error is logged in a S.M.A.R.T. (Self Monitoring
Analysis and Reporting Technology) error data structure. When the host
operating system identifies the uncorrectable data error during normal
operation, a Host Array Manager issues a Write Command to write the data
from a redundant drive after the defective Logical Block Address (LBA)
has been reassigned.