摘要 |
In a hard disk drive (100) including a disk spindle (102) and a rotary actuator assembly (104), a method for compensating for a defective sector in a track (107-110) is provided. During a read operation whereby data is retrieved in a steady stream (e.g., an audio/video drive), a quick check is made each time a sector is accessed to determine whether the data is correct. If a sector is deemed to be defective, the disk drive sets an allocation flag and records it in a diagnostic memory (111). The disk drive continues with its read operation in this manner until all requested data has been retrieved. Thereupon, the disk drive goes back and performs a reallocation procedure to correct for any defective sectors as indicated by the allocation flags retained in the diagnostic memory. The described method preserves the sequential nature of data on the disk (101), and provides assurance that the reallocation process continues without data loss, even during power sequencing.
|