A disk drive is disclosed comprising a head actuated over a disk having a
plurality of servo tracks, wherein each servo track comprises a plurality
of servo sectors and each servo sector comprises a track address. A read
signal from the head representing a first track address in one of the
servo sectors is processed in order to generate a detected track address
which is compared to a first target track address to obtain a first track
address error. A correction metric is generated representing a likelihood
that the first track address error was caused by a detection error, and
if the correction metric exceeds a threshold, the detected track address
is corrected in response to the first track address error, and the write
operation is continued. If the correction metric does not exceed the
threshold, the write operation is aborted.