According to one embodiment, a disk drive includes a heating element which
is provided on a head and generates heat when supplied with power,
thereby to adjust a dynamic flying height of the head. A head-movement
detecting unit detects the abnormal movement of the head, a value of
which is larger than a preset movement value during a head positioning
control. In this case, a heating-element controller stops supplying power
to the heating element.