摘要 |
According to at least one embodiment, a magnetic disk apparatus includes a disk, a random number generator, a determination module, and a refresh module. The disk includes a plurality of tracks. A random number generator generates a random number within a range of N integers in accordance with writing to a first area of a first track of the plurality of tracks. A determination module determines whether the generated random number includes a predetermined number. A refresh module refreshes a second area of a second track near the first track based on a result of determination of the determination module. The second area corresponds to the first area.
|