The embodiments discussed herein are directed to a data managing method, information storage apparatus, and data management circuit in which, when an abnormal head is detected, data corresponding to the abnormal head is transferred to a recording region corresponding to another head.
Conventionally, in an information storage apparatus (for example, a magnetic disk device) reading (reproducing) and writing (recording) data from and into a medium surface by using a head, when a degradation or failure occurs in the head, a state may occur such that a large amount of data may be lost.
In an information recording apparatus that manages data by a sector, which is a minimum recording unit in a storage medium, when a sector fails to successfully read and write due to a defect in the medium, data assigned to that sector is moved to a reserve sector allocated at another place for continue the operation. This technology is known as a replacement sector (see Japanese Laid-open Patent Publication No. 06-338004).
However, when data is managed by sectors, physical address information about a destination for saving data of each sector has to be stored, and the save-destination information has to be searched for each sector at every access. Moreover, when a trouble occurs in the head, an enormous amount of data has to be saved, and such a large amount data of sectors included in the troubled head has to be saved for management.
To do this, in one known method, a plurality of sectors are taken as a unit (for example, a cell or a zone), and a sector groups is sectioned in units of cells (or zones) for managing data (see Japanese Laid-open Patent Publication No. 2001-101842). In an information recording apparatus that manages data in units of cells (or zones), a management table is provided having stored therein an index that uniquely identifies each cell, a logical address of data assigned to each cell, and a physical storage position of data in association with one another (see
In an information storage apparatus that manages data in units of cells, when a trouble occurs in the head, data in a cell served by the troubled head is transferred to another cell to update the management table. Specifically, by using an example depicted in
However, in the technology explained above in which the information recording apparatus managing data in units of cells updates the management table, only the logical address of the transfer-destination cell is rewritten as the logical address of the transfer-source cell, and the cell index corresponding to the physical position of the data is not changed.
Therefore, when the operation continue after trouble, software or the like managing the cells by using cell indexes has to be modified, or a table that separately manages the fact that the data stored in the transfer-destination cell is data stored in the transfer-source cell has to be added. As a result, a problem arises in which it is not easy to continue the operation when a trouble occurs.
According to an aspect of the invention, a data managing method includes monitoring an abnormality in a plurality of heads that read and write data from and into a recording medium; transferring data in a recording region corresponding to the head where an abnormality is detected in one of the heads at the monitoring to a recording region corresponding to another head; and updating a management table when the data is transferred at the transferring, the management table storing an index that uniquely identifies a sector group with a plurality of sectors being taken as one unit, a physical position of each storage region of the storage medium, and a logical address in association with one another, so as to update a logical address of a transfer destination to a logical address of a transfer source and to update an index of the transfer destination to an index of the transfer source.
The object and advantages of the invention will be realized and attained by means of the elements and combinations particularly pointed out in the claims.
It is to be understood that both the foregoing general description and the following detailed description are exemplary and explanatory and are not restrictive of the invention, as claimed.
Preferred embodiments of the present invention will be explained with reference to accompanying drawings.
In the following, the configuration and process flow of a magnetic disk device according to a first embodiment are sequentially explained, and finally, effects of the first embodiment are explained. Also, in the following, a magnetic disk device is taken as an example of a storage device. However, the present invention can be applied to storage devices other than the magnetic disk device, such as a storage device of a magneto-optical disk device or the like.
Next, the configuration of the magnetic disk device 10 is explained by using
As depicted in
The disk 18 has recorded thereon various data and position control information. In the disk 18, a process is performed in which data in a cell corresponding to a head where an abnormality is detected by a transferring unit 17b, which will be explained further below, is transferred to a cell corresponding to another head.
The head 19 has mounted thereon an electric-magnetic conversion element formed of a read element and a write element, reading and writing various data and position control information from and into the disk 18. The head 19 is monitored by a monitoring unit 17a, which will be explained further below, to detect whether an abnormality or abnormality symptom occurs in each head.
The disk 18 and the head 19 are explained by using
Also, as depicted in
Here, an exemplary state is explained by using
That is, different cell numbers (cell index) are assigned to each disk surface, and the cells on each disk surface are separately managed. Also, a “replacement” cell is a cell provided in advance as a transfer-destination cell at the time of occurrence of a failure, and no logical address is set in an initial state (see
Also, as depicted in
Also, as depicted in
Referring back to explanation of
The buffer memory 12 is a cache that temporarily stores therein data to be read or write between the host 20 and the disk 18. The computing unit 13 reads data and programs stored in the flash memory to perform various processes. The flash memory 14 has stored therein data and programs needed for various processes by the computing unit 13.
The head driving unit 15 has a driving device, such as a voice coil motor (VCM), and a control circuit of the driving device. Based on a read/write control signal, the head driving unit 15 performs a process of positioning the head 19 that accesses data on the disk 18.
The management table 16 has stored therein an index that uniquely identifies a sector group with a plurality of sectors being taken as a unit, a logical address, and a physical position of a storage region in the disk 18 in association with one another. Specifically, as depicted in
The user logic circuit 17 performs various processes, and includes, in particular, the monitoring unit 17a, the transferring unit 17b, and an updating unit 17c.
The monitoring unit 17a monitors an abnormality in the heads 19 that read and write data from and into the disk 18. Specifically, the monitoring unit 17a regularly monitors at least one of a gain value, a noise component, an output value, and symmetry of data read by each head 19 to detect an abnormality in the head 19. When detecting an abnormality in any head 19, the monitoring unit 17a notifies the transferring unit 17b, which will be explained further below. A method of monitoring an abnormality in the heads 19 is now specifically exemplified below.
For example, as monitoring the read function of the head 19, the monitoring unit 17a determines whether the level of a read gain value is decreased from a value at the time of shipping by an amount equal to or more than a predetermined value, whether the output of the read value is decreased to a value equal to or more than a predetermined value, and whether a noise equal to or more than a predetermined value occurs in the read value. Also, the monitoring unit 17a determines whether a read waveform is vertically asymmetrical more than defined to monitor an abnormality in each head.
Furthermore, for example, as monitoring the write function of the head 19, the monitoring unit 17a performs a write/read process for checking the head operation to determine whether reading is possible with the output of the level defined in reading. Still further, the monitoring unit 17a performs a write/read process for checking the head operation to determine whether a noise unique to chipping in the write core of the head (damage to the head) is detected to monitor an abnormality in the head.
Still further, for example, the monitoring unit 17a determines whether the wiring of the target head is broken (whether electrical resistance to the head 19 is increased more than defined) and whether a short occurs in the wiring (whether electrical resistance to the head 19 is increased more than defined) to monitor an abnormality in each head.
When an abnormality is detected in the head by the monitoring unit 17a, the transferring unit 17b transfers data in the cell corresponding to the head where the abnormality is detected to a cell corresponding to another head. Specifically, upon receiving from the monitoring unit 17a a notification that an abnormal head is detected, the transferring unit 17b transfers data in each cell corresponding to the head where the abnormality is detected to a replacement cell corresponding to each of the heads other than the head where the abnormality is detected, and notifies the updating unit 17c, which will be explained further below, of information about the transfer-source cell and the transfer-destination cell.
When the total data amount in the transfer-source cell is larger than the total data amount in the transfer-destination cell, the transferring unit 17b prioritizes transferring of data in a cell with a high access frequency. After the transferring process, the magnetic disk device 10 stops operation of the head 19 where the abnormality is detected.
The data transferring process is specifically explained by using
Then, as depicted in
That is, as depicted in
Referring back to
Specifically, as exemplified in
Then, the updating unit 17c deletes from the management table 16 the data in the transfer-source cell “cell 8” (see (2) in
Next, the process by the magnetic disk device 10 according to the first embodiment is explained by using
As depicted in the drawing, the magnetic disk device 10 regularly monitors an abnormality in the heads 19 (Step S101) and, when detecting an abnormality in any head (Yes at Step S101), transfers data in each cell corresponding to the head where the abnormality is detected to a replacement cell corresponding to another head (Step S102).
The magnetic disk device 10 then updates the management table 16 so as to update the logical address of the transfer-destination cell to the logical address of the transfer-source address (Step S103). The magnetic disk device 10 then deletes the data in the transfer-destination cell from the management table 16 (Step S104).
As explained above, the magnetic disk device 10 monitors an abnormality in the heads 19 and, when an abnormality is detected in any one of the heads, transfers data in a cell corresponding to the head where the abnormality is detected to a cell corresponding to another head. Then, after the data is transferred, in the management table 16, the logical address of the transfer destination is updated to the logical address of the transfer source, and the cell index of the transfer destination is updated to the cell index of the transfer source. As a result, the cell index is changed according to the change of the data transfer. Therefore, the operation can easily continue without modifying software or the like and adding a table to be separately managed even after the occurrence of a failure.
Also, according to the first embodiment, when an abnormality is detected in a head, data is transferred to a cell corresponding to each of the heads other than the head where the abnormality is detected. Therefore, compared with the case where data is transferred to a cell corresponding to one head, the transferring process can be performed with a shorter time.
Further, according to the first embodiment, the magnetic disk device 10 monitors at least one of the gain value, the noise component, the output value, and symmetry of data read by the head. Therefore, an abnormality in a head can be accurately detected.
While the embodiment of the present invention has been explained, the present invention can be implemented in various different forms other than the embodiment explained above. Another embodiment included in the present invention is now explained below as a second embodiment.
(1) Transfer Destination
In the first embodiment, the data in the transfer-source cell is transferred to the data in the transfer-destination cell. However, the present invention is not meant to be restricted to this. Alternatively, the data in the transfer-source cell may be transferred to the flash memory.
Here, as exemplified in
The magnetic disk device then updates the index of the transfer destination “flash memory” to the index of the transfer source “cell 4”. The magnetic disk device then deletes the data in the transfer-destination cell “CELL 4” from the management table 16.
(2) Zone
In the first embodiment, the process of transferring in units of cells is explained. However, the present invention is not meant to be restricted to this. Alternatively, a process of transferring in units of zones may be performed. Also, each zone (or cell) may go across storage regions corresponding to the heads.
For example, as exemplified in
In the magnetic disk having the disk sectioned by such zones, a data transferring process when a failure occurs in a head is explained by using an example depicted in
(3) Data Size
In the first embodiment, data in each cell corresponding to the head where an abnormality is detected is transferred to a replacement cell corresponding to each of the heads other than the head where the abnormality is detected. Alternatively, data in each cell corresponding to the head where the abnormality is detected may be transferred to a replacement cell corresponding to one head other than the head where the abnormality is detected.
In this manner, with data in each cell corresponding to the head where the abnormality is detected being transferred to a replacement cell corresponding to one head other than the head where the abnormality is detected, a data transferring process can be performed with ease. Also, for the heads other than the head to which the data is to be transferred, normal operation can continue.
(4) System Configuration and Others
Each component of the magnetic disk device depicted is conceptual in function, and is not necessarily physically configured as depicted. That is, the specific patterns of distribution and unification of the components are not meant to be restricted to those depicted in the drawings. All or part of the components can be functionally or physically distributed or unified in arbitrary units according to various loads and the state of use (for example, the movement control unit and the meeting-point calculating unit may be unified). Further, all or arbitrary part of the process functions performed in each component can be achieved by a Micro Controller Unit (MCU) (or a controlling device, such as a Central Processing Unit (CPU) or a Micro Processing Unit (MPU)) and a program analyzed and executed on that MCU (or the controlling device, such as CPU or MPU), or can be achieved as hardware with a wired logic.
The apparatus disclosed herein can easily continue operation after a failure occurs.
All examples and conditional language recited herein are intended for pedagogical purposes to aid the reader in understanding the invention and the concepts contributed by the inventor to furthering the art, and are to be construed as being without limitation to such specifically recited examples and conditions, nor does the organization of such examples in the specification relate to a showing of the superiority and inferiority of the invention. Although the embodiment(s) of the present inventions have been described in detail, it should be understood that the various changes, substitutions, and alterations could be made hereto without departing from the spirit and scope of the invention.
Number | Date | Country | Kind |
---|---|---|---|
2008-147050 | Jun 2008 | JP | national |
This application is based upon and claims the benefit of priority of the prior Japanese Patent Application No. 2008-147050, filed on Jun. 4, 2008, the entire contents of which are incorporated herein by reference.