Patent ID: 8345367

Claim:
A method for recording defects on a hard drive, the method comprising: mapping a plurality of primary windows, each primary window containing a respective plurality of data sectors on a disk of a hard drive, each of the respective plurality of data sectors containing at least one defect; recording locations for individual primary windows of the plurality of primary windows in a defect log of the disk until a location for each primary window of the plurality of primary windows has been recorded in the defect log or until a capacity of the defect log is full; mapping a plurality of secondary windows if the capacity of the defect log is full and at least one location of a primary window of the plurality of primary windows is not yet recorded in the defect log, each secondary window containing a respective plurality of data sectors containing at least one defect, wherein the number of data sectors contained in each of the plurality of primary windows is different from the number of data sectors contained in each of the plurality of secondary windows; and recording locations for individual secondary windows of the plurality of secondary windows in the defect log of the disk.