| CPC G11B 20/1889 (2013.01) [G11B 5/012 (2013.01); G11B 5/09 (2013.01); G11B 20/1833 (2013.01)] | 10 Claims |

|
1. A magnetic disk device comprising:
a disk including a first track, the first track including a first data area in which first data is recorded and a first parity area for recording first parity that is used to reconstruct the first data in the first data area;
a storage section which stores information indicating whether the first parity area is a valid parity area in which the first parity is recorded or an invalid parity area in which the first parity is not recorded;
a first determination unit which determines presence or absence of an unexecuted command; and
a first parity management unit which starts to search the storage section for the first parity area after the first determination unit determines that there is no unexecuted command for a specified period of time, generates the first parity based on the first data in the first data area if the first parity area is detected as the invalid parity area, and writes the first parity to the first parity area.
|