1. Field of the Invention
The present invention relates to an archive system of data and a processing method thereof.
2. Description of the Related Art
As a background technology of the technological field, there is Patent Document 1 (JP-A-2008-46986). Patent Document 1 discloses that, in data restoration processing at data disk failure in a RAID group using data disks having RAID configurations, “when a read request to the RAID group to which the data disk with failure belongs is received from a host computer, data is restored using data stored in another data disk belonging to the RAID group, and the restored data is transmitted to the host computer and written in a spare disk.”
In Patent Document 1, restoration control of the data disk with failure is disclosed. However, the case where the data disk is a recording medium readable and writable on both sides is not considered.
Accordingly, a main object of the invention is to provide an archive system of data that efficiently handles data management and processing in a RAID group using a plurality of recording media readable and writable on both sides.
In order to solve the problem, for example, a configuration disclosed in “What is claimed is” is employed.
A data configuration is formed so that, on the back sides of double-sided disks as the respective recording media of the RAID group, data of the front sides of other disks may be held, and processing of management and control is performed.
According to the invention, there is provided an archive system of data that can easily prepare write data for both sides of a data disk as a recording medium with failure in a RAID group using a plurality of the recording media readable and writable on both sides.
The other problems, configurations, and advantages than those described as above will be made clear by the following explanation of embodiments.
As below, an embodiment will be explained using the drawings.
Embodiment 1 is an embodiment, in an archive system in which an archive library having drives performs reading and writing operation according to a command of an archive server, when data is handled in RAID (Redundant Arrays of Inexpensive Disks) processing using optical discs readable and writable on both sides as recording media in the drives of the archive library.
The archive library is used for backup for the purpose of protection of data recorded in the archive server, a disk array device or the like, or archive for the purpose of long-term saving and safe storage of the data. Further, RAID is a technology of managing recording devices (hard disks or the like) collectively as one device and recording data in the recording devices in a distributed manner (there are seven types from RAID 0 to RAID 6 depending on the method of distribution), and thereby, realizing faster operation and improvement in fault tolerance. In this specification, the group of recording devices, recording media, pieces of data handled in the RAID processing will be collectively referred to as “RAID group”.
An archive server 101 provides service centered on recording and reproduction of data with respect to an archive library 201 connected thereto, and performs recording and reproduction of data with respect to a hard disk 401 and transmission and reception and management of data via a network 301.
A control unit 102 of the archive server 101 records data received from the network 301 via a network control unit 103 in the hard disk 401 via a hard disk I/F (interface) unit 104 at data recording. Alternatively, the control unit controls the archive library 201 via an archive library I/F (interface) unit 105 and records data in a recording medium 211 in the archive library 201.
At data reproduction, the control unit reads out data from the hard disk 401 via the hard disk I/F unit 104, and transmits the readout data to the network 301 via the network control unit 103. Or, the control unit controls the archive library 201 via the archive library I/F unit 105, reproduces data from the recording medium 211 in the archive library 201, receives the reproduced data, and transmits the received data to the network 301 via the network control unit 103. Or, the control unit appropriately processes, records, and manages various information received from the archive library 201 or reproduces the information, determines a control policy based on the reproduced information, and performs actual control.
The archive server 101 controls the archive library through communication with a control unit 202 built in the archive library 201, controls the hard disk 401, and performs recording and reproduction of data and data management such as data transmission and reception via the network 301. The hard disk 401 is controlled by the archive server 101 to accumulate data sent from the network 301. Further, the hard disk 401 may include one or some hard disks 401. Or, a disk array device including some hard disks may be employed.
In a memory unit 106, programs and various information for controlling the control unit 102 of the server 101 are recorded. The archive library I/F unit 105 performs control on data transmission and reception between the control unit 202 of the archive library 201 and the control unit 102 of the archive server 101.
A RAID control unit 107 performs RAID processing of data represented by RAID 5 and RAID 6 on the data from the control unit 102 and data processing of adding data that can be error-corrected such as parity data and dividing and creating data groups. Alternatively, the RAID control unit performs processing of enabling handling of RAID data groups read out from the archive library collectively as one piece of data.
A data configuration unit 108 performs processing of determining where of which recording medium 211 of the archive library 201 to record data created by the control unit 102 and the RAID control unit 107. Alternatively, the data configuration unit performs processing of determining where of which recording medium 211 of the archive library 201 data to be read out exists.
Note that one library device is connected to one archive library I/F unit 105 in the drawing, however, a plurality of library devices may be used as shown in
The configuration example of the archive server of the archive system is as described above.
At recording, the archive library 201 performs processing of inputting the data received from the network 301 and the data accumulated in the hard disk 401 via the archive server 101 and recording the data in the recording medium 211. At reproducing, the archive library reproduces the data from the recording medium 211, and sends the data to the network 301 or accumulates the data in the hard disk 401 via the archive server 101.
The recording medium 211 is an optical disk represented by a DVD-RAM (Digital Versatile Disk Random Access Memory), for example. Further, regarding the recording medium 211, recording and reproduction can be performed on both the front side and the back side. Furthermore, the recording medium 211 may be a recording medium such as a magnetooptical disk or hologram.
A plurality of the recording media 211 are stored within a recording medium storage unit 210. In
At data recording, the recording medium 211 is taken out from the recording medium storage unit 210 by a recording medium transportation unit 203, and loaded in a recording and reproducing unit 205 to 209, and, after data recording is ended, returned to the recording medium storage unit 210 by the recording medium transportation unit 203. On the other hand, at data reproduction, the recording medium 211 is taken out from the recording medium storage unit 210 by the recording medium transportation unit 203, and loaded in the recording and reproducing unit 205 to 209, data is reproduced, and, after data reproduction is ended, returned to the recording medium storage unit 210 by the recording medium transportation unit 203.
The recording medium storage unit 210 contains location information for specifying the location of the recording medium, and the recording medium transportation unit specifies the recording medium based on the location information designated from the control unit.
The recording and reproducing units 205 to 209 are controlled by the control unit 202 of the archive library to perform recording of data in the recording media 211 or reproduction of the data from the recording media 211. In the case where the recording media 211 are optical disks, the recording and reproducing units 205 to 209 are optical disk drives and recording in the optical disks and data reproduction from the optical disks can be performed.
In
The recording medium transportation unit 203 is controlled by the control unit 202 of the archive library 201 to take out the recording media 211 from the recording medium storage unit 210, transports and loads them in the recording and reproducing units 205 to 209. Alternatively, the recording medium transportation unit receives the recording media 211 from the recording and reproducing units 205 to 209, transports and stores them in the recording medium storage unit 210. In this regard, when recording or reproduction of the front side is performed according to the command of the control unit 202 of the library device, the recording medium transportation unit loads the recording medium in the recording and reproducing unit so that the front surface may be recorded or reproduced, and, when recording or reproduction of the back side is performed, loads the recording medium in the recording and reproducing unit so that the back surface may be recorded or reproduced.
The control unit 202 of the archive library 201 controls the recording medium transportation unit 203 according to a request from the archive server 101, selects the desired recording medium from the plurality of recording media 211 stored in the recording medium storage unit 210, and sends it to the recording and reproducing unit 205 to 209. Further, the control unit controls the recording medium transportation unit 203 to receive the recording medium 211 from the recording and reproducing unit 205 to 209, and stores the recording medium in a predetermined location within the recording medium storage unit 210. 204 denotes a memory unit and various programs and information are recorded therein, and, for example, programs and setting information for controlling the control unit 202 of the archive library 201 are recorded in the memory unit 106.
The configuration example of the archive library of the archive system is as described above.
In the archive system shown by the above described embodiment configuration, in the RAID group using recording media readable and writable on both sides, data writing, data readout, and data restoration processing to another new disk at readout failure will be described in detail by showing flowcharts etc.
First, data writing processing will be explained in detail using a flowchart in
Then, the control unit 102 performs RAID processing of the input write data in the RAID control unit 107 (S104). Obviously, the step of the RAID processing and the above described step of preparing the recording media may be performed in the reverse order or at the same time. The RAID processing will be briefly described using
After data is recorded on the front sides of the recording media (S105), the control unit 102 and the data configuration unit 108 determine a data configuration as assignment of data on the back sides with respect to the data on the front sides of the respective recording media (S106), and execute processing of mirroring (S107). Obviously, the step of determining the data configuration (S106) may be performed immediately after the step of RAID processing of data (S104).
The reason that the configuration in which the mirroring data same as the data on the front sides are provided on the back sides is not employed, but the data on the front sides of the other disks forming the RAID group is held on the back sides as the mirroring data will be explained using
As described above, after the data configuration is determined at step 106 (S106) in
As described above, data is formed so that the data on the front sides of the other disks forming the RAID group is held on the back sides as the mirroring data, the data is recorded and information of the data configuration is held in the memory unit, and thereby, the risk of loss of important data may be reduced and the number of disks to be handled may be reduced.
Further, even in the case where the double-sided disk configuration for recording data is employed and the disk information is held as described above, and thereby, an error occurs at data readout and data for both sides must be restored in a new disk, readout processing is not hindered, but processing of data restoration can be easily performed. This will be explained as below.
First, a processing procedure at readout of recorded data will be briefly explained.
Readout of data is started (S201), the control unit 102 of the archive server 101 communicates with the control unit 202 of the archive library 201 and prepares the recording and reproducing units 205 to 209 for reading in corresponding data (S202). Then, according to the information stored in the memory unit 106 as shown in
The readout-processed data as described above is output to the request source (S206), and the readout processing is ended (S207).
At step 205 (S205) in
The control unit 102 of the archive server 101 starts data restoration processing if the unit determines that restoration processing of data in the recording medium of the archive library is necessary (S301).
The data on the front side to be restored is acquired by computation (S302), and the data on the back side to be restored is acquired from data of another disk of the RAID group (S303). Obviously, the steps of data acquisition on the front side and the back side may be performed in the reverse order or at the same time.
The control unit 102 of the archive server determines whether or not the recording and reproducing units to perform processing of recording the data prepared as above in the recording media are available (S304), if no unit is available, the data for writing is held (S310) and the data restoration processing is ended. In this case, when the recording and reproducing unit becomes available afterward, data restoration is performed by performing processing of writing the held data for writing in a disk as a new recording medium. If the recording and reproducing unit such as the recording and reproducing unit 209 is available in the above described embodiment, the recording medium 211 is loaded in the recording and reproducing unit 209 using the recording medium transportation unit 203 and prepared (S305), the front side data is recorded on the front side of the recording medium (S306). Subsequently, the recording medium 211 is reloaded using the recording medium transportation unit 203 so that recording may be performed on the back side, and the back side data is recorded on the back side of the recording medium (S307). Finally, the data information on the disk of the recording medium 211 on which recording has been finished is stored in the memory unit, the data information is updated, and the data restoration processing is ended (S309).
Note that, if there is no newly available recording and reproducing unit, by using the recording and reproducing unit in which the disk with the unreadable data is loaded, at step 304 (S304), determination that there is an available recording and reproducing unit may be made and writing and creation of a spare disk for data restoration may be performed. The data of the unreadable disk can be computed, read out, and output from the other disk of the RAID group, and, by the processing in this manner, the unreadable disk may be taken out and a new disk for data restoration may be loaded in the recording and reproducing unit instead and used for writing.
As described above, by controlling the processing of data restoration, even during data readout of the loaded RAID group, data restoration processing of the unreadable data disk to a spare disk may be performed in the disk load condition as it is.
Thus far, in the description of the double-sided disks as the recording media at data recording, data reproduction, data restoration, or the like, the front sides and back sides have been used for convenience, however, naturally, it is obvious that the reference of the front sides and the back sides may be reversed or there is no distinction between front and back and the sides may be regarded as one side and the other side.
As described above, in the archive system, by controlling the operation of the archive server and the archive library and processing the data configuration at recording to the double-sided disks as the recording media and processing of the information of the recorded data, the archive system and the processing method that may easily manage recording data and perform data restoration processing of the double-sided disk data of the recording media may be provided.
Note that the invention is not limited to the embodiment, but includes various modified examples. For example, the above described embodiment has been explained in detail for clear description of the invention, but the invention is not necessarily limited to the embodiment having all of the explained configurations. Further, a part of a configuration of an embodiment may be replaced by a configuration of another embodiment, and a configuration of an embodiment may be added to a configuration of another embodiment. Furthermore, regarding parts of the configurations of the embodiments, addition, deletion, replacement of other configurations may be made.
In addition, part or all of the respective configurations, functions, processing units, processing means, etc. may be realized using hardware by designing them as an integrated circuit, for example. Further, the respective configurations, functions, etc. may be realized using software by interpreting and executing programs for realizing the respective functions using a processor. Information of programs, tables, files, etc. for realizing the respective functions may be placed in a recording device such as a memory, hard disk, or SSD (Solid State Drive) or a recording medium such as an IC card, SD card, or DVD.
Furthermore, control lines and information lines considered to be necessary for explanation have been shown, and all of the control lines and information lines are not necessarily shown for products. In practice, it may be considered that almost all configurations are connected to one another.
Number | Date | Country | Kind |
---|---|---|---|
2012-042750 | Feb 2012 | JP | national |