Magnetic disk device and control method for magnetic disk device
AssigneesKabushiki Kaisha Toshiba, Toshiba Electronic Devices & Storage Corporation
InventorTakeshi Shibasaki
Life of this patent
Estimating the term…
Abstract
According to one embodiment, a magnetic disk device includes a magnetic disk, a head and a controller. The head writes data to the magnetic disk and reads data from the magnetic disk. The controller once reads the data written to a predetermined recording area according to the number of writes of data to the predetermined recording area of the magnetic disk and rewrites the read data to the predetermined recording area. The controller adjusts an additive value to the number of writes based on the presence or absence of a defect on the recording surface of the magnetic disk.
Claims7
A magnetic disk device comprising:
- a magnetic disk;
- a head which writes data to the magnetic disk and reads data from the magnetic disk;
- and
- a controller which once reads data written to a predetermined recording area according to the number of writes of data to the predetermined recording area of the magnetic disk, and rewrites the read data to the predetermined recording area, wherein
- the controller adjusts an additive value to the number of writes based on presence or absence of a defect on a recording surface of the magnetic disk, divides the recording area of the magnetic disk into a first area that contains the defect and is unused as the recording area, a second area adjacent to the first area and a third area other than these areas, and adjusts the additive value to the number of writes of data to the second area to increase to greater than an additive value to the number of writes of data to the third area.
A control method for a magnetic disk device, the method comprising:
- dividing a recording area of a magnetic disk into a first area containing a defect and not to be used as a recording area of the magnetic disk, a second area adjacent to the first area and a third area other than these areas;
- judging, when writing data to a track of the magnetic disk, whether or not the track contains a sector of the second area, increasing, when judged that the sector is contained, an additive value to the number of writes of data to the track to greater than an additive value to the number of writes of data to the third area, and setting, when judged that the sector is not contained, the additive value to the number of writes of data to the track to the additive value to the number of writes of data to the third area;
- adding the number of writes of data to the track according to the additive value;
- and
- reading once the data written to the track, according to the number of writes of data to the track and rewriting the read data to the track.
Dependencies are inferred from the claim text.