Control apparatus, storage apparatus, and computer product
View Patent ↗A rewrite determining unit acquires, for every servo frame recorded on a magnetic disk, an amplification degree, i.e., a gain of an amplifier circuit by which a read signal read from the magnetic disk is amplified to a predetermined output, determines a rewrite sector count based on the amplification degree, and performs data rewriting according to the rewrite sector count.
1. A control apparatus that controls a storage apparatus to rewrite data when a write fault occurs while the data is being written to a storage medium included in the storage apparatus, the control apparatus comprising:
an amplification-degree detecting unit that detects an amplification degree by which a read signal read from each of a plurality of servo frames recorded on the storage medium is amplified to a predetermined output level; and
a rewrite determining unit that determines whether to rewrite the data to the storage medium based on the amplification degree, and when it is determined to rewrite the data, determines, as a rewrite sector count, a number of sectors present between a servo frame where the write fault has occurred and a servo frame for which an amplification degree is equal to or smaller than a stipulated value.
2. The control apparatus according to claim 1 , further comprising an offtrack-amount detecting unit that detects an offtrack amount indicating an amount of shift of a head of the storage apparatus from a center of a track of the storage medium,
wherein the rewrite determining unit determines whether to rewrite the data based on the offtrack amount and the amplification degree.
3. A storage apparatus that rewrites data when a write fault occurs while the data is being written to a storage medium included in the storage apparatus, the storage apparatus comprising:
an amplification-degree detecting unit that detects an amplification degree by which a read signal read from each of a plurality of servo frames recorded on the storage medium is amplified to a predetermined output level; and
a rewrite determining unit that determines whether to rewrite the data to the storage medium based on the amplification degree, and when it is determined to rewrite the data, determines, as a rewrite sector count, a number of sectors present between a servo frame where the write fault has occurred and a servo frame for which an amplification degree is equal to or smaller than a stipulated value.
4. The storage apparatus according to claim 3 , further including an offtrack-amount detecting unit that detects an offtrack amount indicating an amount of shift of a head of the storage apparatus from a center of a track of the storage medium,
wherein the rewrite determining unit determines whether to rewrite the data based on the offtrack amount and the amplification degree.
5. A computer-readable recording medium that stores therein a computer program that causes a computer to rewrite data when a write fault occurs while the data is being written to a storage medium included in a storage apparatus, the computer program causes the computer to execute:
detecting an amplification degree by which a read signal read from each of a plurality of servo frames recorded on the storage medium is amplified to a predetermined output level;
determining whether to rewrite the data to the storage medium based on the amplification degree; and
when it is determined to rewrite the data, determining, as a rewrite sector count, a number of sectors present between a servo frame where the write fault has occurred and a servo frame for which an amplification degree is equal to or smaller than a stipulated value.
6. The computer-readable recording medium according to claim 5 , wherein the computer program further causes the computer to execute detecting an offtrack amount indicating an amount of shift of a head of the storage apparatus from a center of a track of the storage medium,
wherein the determining includes determining whether to rewrite the data to the storage medium based on the offtrack amount and the amplification degree.