Search Images Maps Play YouTube News Gmail Drive More »
Sign in
Screen reader users: click this link for accessible mode. Accessible mode has the same essential features but works better with your reader.

Patents

  1. Advanced Patent Search
Publication numberUS20020120812 A1
Publication typeApplication
Application numberUS 09/422,463
Publication dateAug 29, 2002
Filing dateOct 21, 1999
Priority dateOct 22, 1998
Also published asUS6457096
Publication number09422463, 422463, US 2002/0120812 A1, US 2002/120812 A1, US 20020120812 A1, US 20020120812A1, US 2002120812 A1, US 2002120812A1, US-A1-20020120812, US-A1-2002120812, US2002/0120812A1, US2002/120812A1, US20020120812 A1, US20020120812A1, US2002120812 A1, US2002120812A1
InventorsNarutoshi Ageishi, Motoshi Suzuki, Yuichi Kato
Original AssigneeNarutoshi Ageishi, Motoshi Suzuki, Yuichi Kato
Export CitationBiBTeX, EndNote, RefMan
External Links: USPTO, USPTO Assignment, Espacenet
Redundant recording disk device and data processing method using plural logical disks with mirrored data stored with a predetermined phase-offset
US 20020120812 A1
Abstract
A recording medium 20 constitutes a mirror disk by taking a disk 21 a as a first logical sub-disk and taking a disk 21 b as a second logical sub-disk. Mirrored redundant data are recorded such that a recording position on the first logical sub-disk and a recording position on the second logical sub-disk are positions on the same cylinder and having a phase difference of 180 degrees around respective rotation axes of the disks with respect to one data.
In a single disk device, therefore, the practical use of the disk device can be continued even when one recording surface is not usable by a fault, and the access speed of the disk can be increased when there is no fault.
Images(9)
Previous page
Next page
Claims(11)
What is claimed is:
1. A redundant recording disk device for writing and reading data to and from parallel tracks repeatedly passing through respective positions for conversion in a plurality of disks, comprising:
a plurality of disks which are rotated in synchronization with each other;
a plurality of recording heads respectively corresponding to said plurality of disks for writing and reading data to and from respective recording surfaces of said disks; and
control means for controlling the positions of said recording heads on said recording surfaces and the writing and reading of the data,
said control means carrying out, when arbitrary data is written, control such that mirrored data are written into positions on the same cylinder on said plurality of disks, on said different recording surfaces, and having a predetermined phase difference around respective rotation axes of said plurality of disks, while carrying out, when said written arbitrary data is read out, control such that the mirrored data which have been written into said different recording surfaces are read out in a parallel manner.
2. The redundant recording disk device according to claim 1, wherein
said plurality of disks are divided into two groups by said recording surface when the disks are even in number, and the two groups are respectively constructed as logical disks,
said control means carrying out control such that the mirrored data are written and read to and from said two logical disks constructed.
3. The redundant recording disk device according to claim 1, wherein
each of said recording surfaces of said plurality of disks is partitioned into two regions having the same shape and capacity, the disks are divided into two groups respectively comprising a group of the one regions and a group of the other regions over said plurality of recording surfaces, and the two groups are respectively constructed as logical disks,
said control means carrying out control such that the mirrored data are written and read to and from said two logical disks constructed.
4. The redundant recording disk device according to any one of claims 1 to 3, wherein
when each of tracks on said plurality of recording surfaces is partitioned into an even number of sectors, said phase difference is 180 degrees.
5. The redundant recording disk device according to any one of claims 1 to 3, wherein
when each of tracks on said plurality of recording surfaces is partitioned into an odd number of sectors, said phase difference is an angle of approximately 180 degrees at the head of the sector.
6. A data processing method for writing data to parallel tracks repeatedly passing respective positions for conversion in a plurality of disks, wherein
with respect to said plurality of disks which are rotated in synchronization with each other,
mirrored data being written into positions on the same cylinder on said plurality of disks, on different recording surfaces of the disks, and having a predetermined phase difference around respective rotation axes of the plurality of disks.
7. A data processing method for reading out data from parallel tracks repeatedly passing respective positions for conversion in a plurality of disks, wherein
with respect to said plurality of disks which are rotated in synchronization with each other and have mirrored data written into positions on the same cylinder, on the different recording surfaces, and having a predetermined phase difference around the rotation axes,
the mirrored data which have been written into said different recording surfaces being read out in a parallel manner.
8. The data processing method according to claim 6, wherein
said plurality of disks being divided into two groups by said recording surface when said disks are even in number, to respectively construct the two groups as logical disks, and
the mirrored data being written into said two logical disks constructed.
9. The data processing method according to claim 6, wherein
each of said recording surfaces of said plurality of disks being partitioned into two regions having the same shape and capacity, the disks being divided into two groups respectively comprising a group of the one regions and a group of the other regions over said plurality of recording surfaces, to respectively construct the two groups as logical disks, and
the mirrored data being written into said two logical disks constructed.
10. The data processing method according to any one of claims 6 to 9, wherein
when each of tracks on said plurality of recording surfaces is partitioned into an even number of sectors, said phase difference is 180 degrees.
11. The data processing method according to any one of claims 6 to 9,
when each of tracks on the plurality of recording surfaces is partitioned into an odd number of sectors, said phase difference is an angle of approximately 180 degrees at the head of the sector.
Description
BACKGROUND OF THE INVENTION

[0001] 1. Field of the Invention

[0002] The present invention relates generally to a redundant recording disk device and a data processing method used therefor, and more particularly, to a disk device requiring access time shortened and having fault resistance improved by performing redundant recording and a method of data writing/reading processing performed in the disk device.

[0003] 2. Description of the Background Art

[0004] In a data processing system, a large problem is that information written into a disk device cannot be read out by a fault or the like.

[0005] As measures to solve the problem, a technique referred to as RAID (Redundant Array of Inexpensive Disk) conventionally exsits, which copes with the problem by providing a plurality of disk devices in a data processing system and writing predetermined redundant data into the plurality of disk devices.

[0006] The RAID system is for restoring, when one of the plurality of disk devices cannot be accessed upon failing, data recorded in the failing disk device on the basis of data recorded in the remaining disk devices.

[0007] As a system for making measures using a single disk device, a disk device for performing redundant recording, that is, writing mirrored data on the same track on a recording surface of a disk (a recording medium in the disk device) is disclosed in Japanese Patent Laying-Open No. 6-267195 (hereinafter referred to as a prior document).

[0008] According to the disk device described in the prior document, by performing the redundant recording, even when one of the data mirrored and recorded cannot be accessed because a fault occurs in a part of the disk, a deficit in the recorded data can be avoided by accessing the other recorded data. In the disk device described in the prior document, when no fault occurs in the disk, the performance of the disk device can be improved by reducing rotational latency in data reading by half.

[0009] In order to use the above-mentioned RAID system, however, a large-scale data processing system which is provided with a plurality of disk devices must be constructed. Therefore, it cannot be said that the RAID system is useful in any system environment.

[0010] On the other hand, in the disk device described in the prior document, the redundant recording is performed on the same recording surface. When a fault occurs in the whole of one recording surface by a fault in a recording head or the like, therefore, it is impossible to avoid a deficit in information.

SUMMARY OF THE INVENTION

[0011] Therefore, an object of the present invention is to provide a disk device capable of continuing practical use as a disk device even when one recording surface is not usable by a fault, although it is a single disk device, and increasing the access speed of a disk when there is no fault, and a data processing method used therefor.

[0012] The present invention has the following features to achieve the above-mentioned object.

[0013] A first aspect of the present invention is directed to a redundant recording disk device for writing and reading data to and from parallel tracks repeatedly passing through respective positions for conversion in a plurality of disks, comprising:

[0014] a plurality of disks which are rotated in synchronization with each other;

[0015] a plurality of recording heads respectively corresponding to the plurality of disks for writing and reading data to and from respective recording surfaces of the disks; and

[0016] control means for controlling the positions of the recording heads on the recording surfaces and the writing and reading of the data,

[0017] the control means carrying out, when arbitrary data is written, control such that mirrored data are written into positions on the same cylinder on the plurality of disks, on the different recording surfaces, and having a predetermined phase difference around respective rotation axes of the plurality of disks, while carrying out, when the written arbitrary data is read out, control such that the mirrored data which have been written into the different recording surfaces are read out in a parallel manner.

[0018] As described above, in the first aspect, the mirrored data are written into the two different disks (recording surfaces) with respect to one data. Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time is shortened, thereby making it possible to read out the data at higher speed.

[0019] According to a second aspect, in the first aspect, the plurality of disks are divided into two groups by the recording surface when the disks are even in number, and the two groups are respectively constructed as logical disks,

[0020] the control means carrying out control such that the mirrored data are written and read to and from the two logical disks constructed.

[0021] As described above, in the second aspect, the content of one disk is logically divided into two, to constitute two logical sub-disks in the first aspect. The mirrored data are written into the two logical sub-disks (recording surfaces) with respect to one data. Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time is shortened, thereby making it possible to read out the data at higher speed. Further, when a reading block is large, the speed at which the data are read out of the disk (the recording surface) is also increased.

[0022] According to a third aspect, in the first aspect, each of the recording surfaces of the plurality of disks is partitioned into two regions having the same shape and capacity, the disks are divided into two groups respectively comprising a group of the one regions and a group of the other regions over the plurality of recording surfaces, and the two groups are respectively constructed as logical disks,

[0023] the control means carrying out control such that the mirrored data are written and read to and from the two logical disks constructed.

[0024] As described above, in the third aspect, the content of one disk is logically divided into two, to constitute two logical sub-disks in the first aspect. The mirrored data are written into the two logical sub-disks (recording surfaces) with respect to one data. Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time is shortened, thereby making it possible to read out the data at higher speed.

[0025] According to a fourth aspect, in the first to third aspects, when each of tracks on the plurality of recording surfaces is partitioned into an even number of sectors, the phase difference is 180 degrees.

[0026] According to a fifth aspect, in the first to third aspects, when each of tracks on the plurality of recording surfaces is partitioned into an odd number of sectors, the phase difference is an angle of approximately 180 degrees at the head of the sector.

[0027] As described above, in the fourth and fifth aspects, the same data are written into positions having a phase difference of 180 degrees or approximately 180 degrees on the two different disks (logical disks). In a normal case where there is no fault, therefore, average rotational latency in data reading is reduced to half of the conventional time, and read time is also shortened, thereby making it possible to read out the data at higher speed.

[0028] A sixth aspect is directed to a data processing method for writing data to parallel tracks repeatedly passing respective positions for conversion in a plurality of disks,

[0029] with respect to the plurality of disks which are rotated in synchronization with each other,

[0030] mirrored data are written into positions on the same cylinder on the plurality of disks, on different recording surfaces, and having a predetermined phase difference around respective rotation axes of the plurality of disks.

[0031] As described above, in the sixth aspect, the mirrored data are written into the two different disks (recording surfaces) with respect to one data. Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time shortened, thereby making it possible to read out the data at higher speed.

[0032] A seventh aspect is directed to a data processing method for reading out data from parallel tracks repeatedly passing respective positions for conversion in a plurality of disks,

[0033] with respect to the plurality of disks which are rotated in synchronization with each other and have mirrored data written into positions on the same cylinder, on their different recording surfaces, and having a predetermined phase difference around their respective rotation axes,

[0034] the mirrored data which have been written into the different recording surfaces are read out in a parallel manner.

[0035] As described above, in the seventh aspect, the mirrored data written into the two different disks (recording surfaces) are used. Even if either one of the disks cannot be accessed upon failing, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time is shortened, thereby making it possible to read out the data at higher speed.

[0036] According to an eighth aspect, in the sixth aspect,

[0037] the plurality of disks are divided into two groups by the recording surface when the disks are even in number, to respectively construct the two groups as logical disks, and

[0038] the mirrored data are written into the two logical disks constructed.

[0039] As described above, in the eighth aspect, the content of one disk is logically divided into two, to constitute two logical sub-disks in the sixth aspect. The mirrored data are written into the two logical sub-disks (recording surfaces) with respect to one data. Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time is shortened, thereby making it possible to read out the data at higher speed. Further, when a reading block is large, the speed at which the data are read out of the disk (the recording surface) is increased.

[0040] According to a ninth aspect, in the sixth aspect,

[0041] each of the recording surfaces of the plurality of disks is partitioned into two regions having the same shape and capacity, the disks are divided into two groups respectively comprising a group of the one regions and a group of the other regions over the plurality of recording surfaces, to respectively construct the two groups as logical disks, and

[0042] the mirrored data are written into the two logical disks constructed.

[0043] As described above, in the ninth aspect, the content of one disk is logically divided into two, to constitute two logical sub-disks in the sixth aspect. The mirrored data are written into the two logical sub-disks (recording surfaces) with respect to one data. Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the data are read out in a parallel manner. In a normal case where there is no fault, therefore, read time is shortened, thereby making it possible to read out the data at higher speed.

[0044] According to a tenth aspect, in the sixth to ninth aspects, when each of tracks on the plurality of recording surfaces is partitioned into an even number of sectors, the phase difference is 180 degrees.

[0045] According to an eleventh aspect, in the sixth to ninth aspects, when each of tracks on the plurality of recording surfaces is partitioned into an odd number of sectors, the phase difference is an angle of approximately 180 degrees at the head of the sector.

[0046] As described above, in the tenth and eleventh aspects, the same data are written into positions having a phase difference of 180 degrees or approximately 180 degrees on the two different disks (logical disks). In a normal case where there is no fault, therefore, average rotational latency in data reading is reduced to half of the conventional time, and read time is also shortened, thereby making it possible to read out the data at higher speed.

[0047] These and other objects, features, aspects and advantages of the present invention will become more apparent from the following detailed description of the present invention when taken in conjunction with the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0048]FIG. 1 is a block diagram showing the configuration of a redundant recording disk device according to one embodiment of the present invention.

[0049]FIG. 2 is a schematic view showing an example of the structure of a recording medium 20 in a case where the number of disks 21 is two.

[0050]FIG. 3 is a diagram for explaining a method of reading out data from the recording medium 20 having the structure shown in FIG. 2.

[0051]FIG. 4 is a diagram for comparing times required to read out data from recording surfaces in a conventional reading method and a reading method according to the present invention based on FIG. 3.

[0052]FIG. 5 is a schematic view showing an example of the structure of a recording medium 20 in a case where the number of disks 21 is three.

[0053]FIG. 6 is a schematic view showing another example of the structure of a recording medium 20 in a case where the number of disks 21 is three.

[0054]FIG. 7 is a diagram for explaining a method of reading out data from the recording medium 20 having the structure shown in FIG. 5.

[0055]FIG. 8 is a diagram for comparing times required to read out data from recording surfaces in the conventional reading method and a reading-method according to the present invention based on FIG. 7.

DESCRIPTION OF THE PREFERRED EMBODIMENT

[0056]FIG. 1 is a block diagram showing the configuration of a redundant recording disk device according to one embodiment of the present invention. In FIG. 1, a disk device according to one embodiment of the present invention comprises an interface 10, a first channel control logic 11, a second channel control logic 12, an R/W control portion 13, a microprocessor controller 14, a plurality of actuators 15, a plurality of recording heads 16, a spindle motor control portion 17, an actuator servo controller 18, a recording medium 20, and a data bas 30.

[0057] The interface 10 is connected to a host system (not shown) on the data bus 30, and transmits and receives data to be written into the recording medium 20 or data read out of the recording medium 20 in accordance with a given command. The microprocessor controller 14 carries out the overall control of the disk device. The recording medium 20 is constituted by a plurality of disks 21, and each of the disks 21 is previously divided so as to logically constitute two recording mediums 20. The spindle motor control portion 17 controls the rotational speed of the recording medium 20 under an instruction from the microprocessor controller 14. The first channel control logic 11 and the second channel control logic 12 respectively select the recording heads 16 for recording data inputted through the interface 10 and giving an instruction to the R/W control portion 13 at the time of writing processing, while outputting data read out by parallel processing by the R/W control portion 13 to the interface 10 in order at the time of reading processing. The R/W control portion 13 instructs the actuator servo controller 18 to position the two recording heads 16 selected by the first and second channel control logics 11 and 12 in conformity with respective tracks on the disks 21 to maintain the boundary between the tracks and instructs the two recording heads 16 to write data in a parallel manner in predetermined positions at the time of writing processing. The R/W control portion 13 reads out the data designated by the command by parallel processing and outputs the data to the first and second channel control logics 11 and 12 at the time of reading processing. The actuator servo controller 18 controls the plurality of actuators 15 in accordance with an instruction from the R/W control portion 13. The plurality of actuators 15 respectively have the recording heads 16 at their ends, and are operated such that the recording heads 16 can be moved on recording surfaces of the disks 21. The plurality of recording heads 16 respectively write and read data (coded serial data) to and from the recording surfaces of the disks 21 in accordance with control carried by the R/W control portion 13.

[0058] The position of each of the recording heads 16 on the disks 21 is detected from a servo head of a drive using a dedicated servo surface or a signal representing each surface servo information in a sector head of a drive using an integrated servo system or a sector servo system, although the description thereof is not repeated because it is a well-known technique.

[0059] A data processing (writing/reading) operation in the disk device according to one embodiment of the present invention configured as described above will be successively described with respect to a case where the number of disks 21 (i.e., recording surfaces) constituting the recording medium 20 is even and a case where it is odd.

[0060] (A case where the number of disks 21 is even)

[0061]FIG. 2 is a schematic view showing an example of the structure of the recording medium 20 in a case where the number of disks 21 is two. In FIG. 2, the recording medium 20 constitutes a mirror disk by taking a disk 21 a (a recording surface a) as a first logical sub-disk and taking a disk 21 b (a recording surface b) as a second logical sub-disk.

[0062] Description is now made of a case where data is written.

[0063] In the case of data writing, the disk device writes the same data to both the first logical sub-disk and the second logical sub-disk, that is, writes the mirrored data. At this time, the disk device writes data X to be recorded on the first logical sub-disk and data X to be recorded on the second logical sub-disk into positions on the same cylinder and having a phase difference of 180 degrees around respective rotation axes of the disks. For example, in FIG. 2, data written into blocks α1 to α4 of the disk 21 a (the recording surface a) are respectively written into blocks α1′ to α4′, the respective phases of which are shifted 180 degrees, of the disk 12 b (the recording surface b).

[0064] If there exist no recording blocks in positions having a phase difference of 180 degrees, for example, if the number of blocks (sectors) in one rotation of the disk is not even, as shown in FIG. 2, the mirrored data are written into positions having a phase difference closest to 180 degrees.

[0065] Description is now made of a case where the mirrored data written in the above-mentioned form are read out. Data 1 to data n (n is an integer of not less than one) shall be respectively mirrored and recorded on sectors S1 to Sn on the first logical sub-disk and sectors S1′ to Sn′ on the second logical sub-disk.

[0066] Consider a case where data i (i is an integer of not less than one) to data j (j is an integer of i<j≦n) are read out. In this case, the disk device first performs processing for reading out the data i (the sector Si or the sector Si′) in each of the first logical sub-disk (the recording surface a) and the second logical sub-disk (the recording surface b). When the data i is read out from either one of the logical sub-disks, the disk device continues the reading of the subsequent data in each of the logical sub-disks on the basis of the following procedure.

[0067] Step 1: The data (the sector) which can be subsequently read out is confirmed in each of the disk 21 a and the disk 21 b respectively serving as the first logical sub-disk and the second logical sub-disk.

[0068] Step 2: The data (the sector) which can be subsequently read out from each of the disks, which has been confirmed at the step 1, and the data which have not been read out yet out of the data i to j are compared with each other, to judge whether or not some of the data coincide with each other.

[0069] Step 3: When some of the data coincide with each other at the step 2, the data are read out at a maximum of two sectors selected in ascending order of their numbers out of the sectors on which the data which coincide with each other are respectively recorded.

[0070] Step 4: When none of the data (the sectors) coincide with each other at the step 2, a track to be read is moved to the next track inward, to perform the processing at the step 1.

[0071] The disk device repeatedly performs the above-mentioned processing, to complete the processing after all the data i to j are read out.

[0072] The above-mentioned reading method will be further specifically described using FIGS. 3 and 4.

[0073]FIG. 3 is a diagram for explaining a method of reading out data from the recording medium 20 having the structure shown in FIG. 2. In FIG. 3, on each of the first logical sub-disk (the disk 21 a) and the second logical sub-disk (the disk 21 b), one track is partitioned into eight sectors. Data 1 to 24 are respectively mirrored and recorded on sectors S1 to S24 and sectors S1′ to S24′. FIG. 4 is a diagram for comparing times required to read out data from the recording surfaces in the conventional reading method with the reading method according to the present invention. FIG. 4 shows a case where data 3 to 20 are read out.

[0074] The disk device first performs processing for reading out the data 3 (i.e., the sector S3 or the sector S3′) in each of the first logical sub-disk (the disk 21 a) and the second logical sub-disk(the disk 21 b). When the reading is started in an initial state shown in FIG. 3, the disk device reads out the first data 3 at the sector S3′ on the second logical sub-disk (FIG. 4, time T1).

[0075] When the reading of the first data 3 is completed, the disk device then confirms the data (the sector) which can be then read out in each of the disks 21 a and 21 b. In the example shown in FIG. 3, the data which can be then read out on the disk 21 a is the data 8 (the sector S8), and the data which can be then read out on the disk 21 b is the data 4 (the sector S4′). The disk device compares the “data 4 to 20” which have not been read yet with the “data 8 and 4”, to read out the data 8 and the data 4 in a maximum of two sectors selected in ascending order of their numbers out of the sectors on which the data which coincide with each other are respectively recorded, that is, the sector S8 and the sector S4′ (FIG. 4, time T2).

[0076] When the reading of the data 8 and the data 4 is terminated, the disk device further confirms the data (the sector) which can be then read out on each of the disks 21 a and 21 b. In the example shown in FIG. 3, the data which can be then read out on the disk 21 a is the data 1 (the sector S1), and the data which can be then read out on the disk 21 b is the data 5 (the sector S5′). The disk device compares the “data 5 to 7 and 9 to 20” which have not been read out yet with the “data 1 and 5”, and reads out the data 5 in a maximum of two sectors selected in ascending order of their numbers out of the sectors on which the data which coincide with each other are respectively recorded, that is, only the sector S5′ (FIG. 4, time T3).

[0077] When the processing is continued, the data which can be then read out on the disk 21 a is the data 4 (the sector S4), and the data which can be then read out on the disk 21 b is the data 8 (the sector S8′) at time T6 shown in FIG. 4. Since the data which have not been readout yet at the time T6 are the “data 9 to 20”, however, there are no data which coincide with each other. In this case, the disk device moves the track to be read on each of the disks 21 a and 21 b to the next track inward, as described above, to take the data which can be then read out on the disk 21 a as the data 12 (the sector S12) and take the data which can be then read out on the disk 21 b as the data 16 (the sector 16′). Thereafter, the disk device reads out the data 12 and the data 16 from a maximum of two sectors selected in ascending order of their numbers out of the sectors on which the data which coincide with each other are respectively recorded, that is, the sector S12 and the sector S16 (FIG. 4, time T6).

[0078] The disk device performs such parallel reading processing, to complete the reading of the data 3 to the data 20 by the time T13.

[0079] The procedure for reading out the mirrored data, described above, is shown by way of example. The mirrored data can be, of course, read out using the other procedures.

[0080] It goes without saying that when either one of the logical sub-disks fails, the data i to the data j (either the sectors i to j or the sectors i′ to j′) are continuously read out, as in the conventional example, in the other logical sub-disk which does not fail.

[0081] (A case where the number of disks 21 is odd)

[0082] When the number of disks 21 is odd, it is impossible to divide the disks 21 into the disk unit, to constitute two logical sub-disks, as in the above-mentioned case where it is even.

[0083] Therefore, the following method is used.

[0084]FIG. 5 is a schematic view showing an example of the structure of a recording medium 20 in a case where the number of disks 21 is three. In FIG. 5, the recording medium 20 constitutes a mirror disk by dividing each of a disk 21 a (a recording surface a) to a disk 21 c (a recording surface c) into two regions, and taking a group of the respective one regions in the disks (recording surfaces a1, b1, and c1) as a first logical sub-disk and taking a group of the respective other regions in the disks (recording surfaces a2, b2, and c2) as a second logical sub-disk.

[0085] Description is first made of a case where data is written.

[0086] In the case of data writing, the disk device writes the same data to both the first logical sub-disk and the second logical sub-disk, that is, writes the mirrored data. At this time, the disk device writes data X to be recorded on the first logical sub-disk and data X to be recorded on the second logical sub-disk into positions on the different disks, on the same cylinder, and having a phase difference of 180 degrees around respective rotation axes of the disks. For example, in FIG. 5, data written into blocks α1 to α6 (the recording surface a1) of the disk 21 a are respectively written into blocks α1′ to α6′(the recording surface b2), the respective phases of which are shifted 180 degrees, of the disk 21 b. Similarly, data written into blocks α7 to α12 (the recording surface b1) of the disk 21 b are respectively written into blocks α7′ to α12′(the recording surface c2), the respective phases of which are shifted 180 degrees, of the disk 21 c. Furthermore, data written into blocks α 13 to α 18 (the recording surface c1) of the disk 21 c are similarly respectively written into blocks α 13′ to α 18′(the recording surface a2), the respective phases of which are shifted 180 degrees, of the disk 21 a.

[0087] If there exist no recording blocks in positions having a phase difference of 180 degrees, for example, if the number of blocks (sectors) in one rotation of the disk is not even, as shown in FIG. 6, the mirrored data are written into positions having a phase difference closest to 180 degrees. In this case, a block which does not constitute the logical sub-disk (a hatched portion in FIG. 6) may be left unused.

[0088] Description is now made of a case where the mirrored data which have been written in the above-mentioned form are read out.

[0089] Basically, a method of reading out mirrored data written in a form in a case where the disks 21 are odd in number is the same as that in a case where the disks 21 are even in number.

[0090] Specific examples are illustrated in FIGS. 7 and 8. FIG. 7 is a diagram for explaining a method of reading out data from the recording medium 20 having the structure shown in FIG. 5. In FIG. 7, on each of the disk 21 a, the disk 21 b, and the disk 21 c, one track is partitioned into eight sectors. Data 1 to 36 are respectively mirrored and recorded on sectors S1 to S36 and sectors S1′ to S36′. FIG. 8 is a diagram for comparing times required to read out the data from recording surfaces in the conventional reading method with the reading method according to the present invention. FIG. 8 shows a case where data 3 to 20 are read out.

[0091] The disk device first performs processing for reading out the data 3 (i.e., the sector S3 or the sector S3′) in each of the disk 21 a, the disk 21 b and the disk 21 c. When the reading is started in an initial state shown in FIG. 7, the disk device reads out the first data 3 at the sector S3′ on the disk 21 b which is the second logical sub-disk (FIG. 8, time T1).

[0092] When the reading of the first data 3 is completed, the disk device then confirms the data (the sector) which can be then read out in each of the disks 21 a to 21 c. In the example shown in FIG. 7, the data which can be then read out on the disk 21 a is the data 12 (the sector S12′), the data which can be then read out on the disk 21 b is the data 4 (the sector S4′), and the data which can be then read out on the disk 21 c is the data 8 (the sector S8′). The disk device compares the “data 4 to 20” which have not been read yet with the “data 12, 4 and 8”, to read out the data 4 and the data 8 in a maximum of two sectors selected in ascending order of their numbers out of the sectors on which the data which coincide with each other are respectively recorded, that is, the sector S4′ and the sector S8′ (FIG. 8, time T2).

[0093] When the reading of the data 4 and the data 8 is terminated, the disk device further confirms the data (the sector) which can be then read out on each of the disks 21 a to 21 c. In the example shown in FIG. 7, the data which can be then read out on the disk 21 a is the data 1 (the sector S1), the data which can be then read out on the disk 21 b is the data 5 (the sector S5), and the data which can be then read out on the disk 21 c is the data 9 (the sector S9). The disk device compares the “data 5 to 7 and 9 to 20” which have not been read out yet with the “data 1, 5 and 9”, and reads out the data 5 and the data 9 in a maximum of two sectors selected in ascending order of their numbers out of the sectors on which the data which coincide with each other are respectively recorded, that is, the sector S5 and the sector 9 (FIG. 8, time T3).

[0094] The disk device similarly continues to perform parallel reading processing, to complete the reading of the data 3 to the data 20 by the time T10.

[0095] As described in the foregoing, according to the redundant recording disk device in one embodiment of the present invention, the content of one disk is logically divided into two, to constitute two logical sub-disks. The mirrored data are written into the two logical sub-disks (recording surfaces) with respect to one data.

[0096] Even if either one of the disks cannot be accessed upon failing, therefore, the other disk can be accessed to read out the data. Further, the same data are written into positions having a phase difference of 180 degrees or approximately 180 degrees on the two logical sub-disks. In a normal case where there is no fault, therefore, average rotational latency in data reading is reduced to half of the conventional time, and read time is also shortened, thereby making it possible to read out the data at higher speed. Further, when a reading block is large, the speed at which the data are read out of the disk (the recording surface) is also increased.

[0097] In the above-mentioned one embodiment, description was made of a case where the two disks 21 a to 21 b are used as a case where the number of disks 21 constituting the recording medium 20 is even, and the three disks 21 a to 21 c are used as a case where the number of disks 21 is odd. However, the disk device according to the present invention is not limited to two or three disks. A recording medium 20 which is constituted by three or more disks may be used, in which case the same effect as the above-mentioned effect can be produced. In this case, a plurality of disks can be freely divided if two logical sub-disks can be constructed.

[0098] If mirrored data can be recorded in positions on the same cylinder, on different disks (recording surfaces), and having a phase difference of approximately 180 degrees, it is not necessary to record the data in continuous blocks on each of recording surfaces for constituting logical sub-disks (groups), as shown in FIGS. 2 and 5. The data may be recorded in alternate blocks, for example.

[0099] Furthermore, in a normal case where there is no fault, when average rotational latency in data reading need not be reduced to half of the conventional time, a phase difference between the positions where mirrored data are recorded can be also set to an arbitrary angle (excluding 0 degree).

[0100] While the invention has been described in detail, the foregoing description is in all aspects illustrative and not restrictive. It is understood that numerous other modifications and variations can be devised without departing from the scope of the invention.

Referenced by
Citing PatentFiling datePublication dateApplicantTitle
US6728832 *Mar 20, 2001Apr 27, 2004Hitachi, Ltd.Distribution of I/O requests across multiple disk units
US7143234Nov 26, 2002Nov 28, 2006Intel CorporationBios storage array
US7190537 *Dec 23, 2003Mar 13, 2007Samsung Electronics Co., Ltd.Self-raid system using hard disk drive having backup head and method of writing data to and reading data from hard disk drive having backup head
US7228394 *Feb 25, 2003Jun 5, 2007Joseph HerzigComputer data backup storage device
US7254674 *Mar 11, 2004Aug 7, 2007Hitachi, Ltd.Distribution of I/O requests across multiple disk units
US7752388Apr 24, 2007Jul 6, 2010International Business Machines CorporationApparatus and method to store information in multiple holographic data storage media
US7861034Feb 12, 2007Dec 28, 2010Hitachi, Ltd.Load distribution of multiple disks
CN1327354C *Nov 26, 2003Jul 18, 2007英特尔公司BIOS, firmware and method for storage array
WO2004049158A2 *Nov 5, 2003Jun 10, 2004Intel CorpBios storage array
Classifications
U.S. Classification711/114, 711/173, G9B/20.047, 714/E11.104
International ClassificationG11B20/10, G11B20/18, G11B20/12, G06F3/06, G06F11/20
Cooperative ClassificationG06F11/2069, G06F11/2058, G06F11/2084, G11B20/1803
European ClassificationG06F11/20S2C, G11B20/18A, G06F11/20S2U
Legal Events
DateCodeEventDescription
Nov 16, 2010FPExpired due to failure to pay maintenance fee
Effective date: 20100924
Sep 24, 2010LAPSLapse for failure to pay maintenance fees
May 3, 2010REMIMaintenance fee reminder mailed
Feb 24, 2006FPAYFee payment
Year of fee payment: 4
Oct 21, 1999ASAssignment
Owner name: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD., JAPAN
Free format text: ASSIGNMENT OF ASSIGNORS INTEREST;ASSIGNORS:AGEISHI, NARUTOSHI;SUZUKI, MOTOSHI;KATO, YUICHI;REEL/FRAME:010347/0249
Effective date: 19991013
Owner name: MATSUSHITA ELECTRIC INDUSTRIAL CO., LTD. 1006, OAZ