A method of servo writing a disk of a disk drive is disclosed. The disk
comprises a plurality of spiral tracks, wherein each spiral track
comprises a high frequency signal interrupted periodically by a sync
mark. A timing recovery measurement is generated in response to the sync
marks, wherein the timing recovery measurement comprises a sinusoidal
component. A timing compensation value is generated in response to the
sync marks which estimates the sinusoidal component in the timing
recovery measurement. A frequency control signal is generated in response
to the timing recovery measurement and the timing compensation value, a
servo write clock is generated in response to the frequency control
signal, and the servo write clock and the head internal to the disk drive
are used to write the product servo sectors to the disk.