This application relates to, and claims priority from, Japanese Patent Application No. 2004-349266, filed on Dec. 2, 2004, the entire disclosure of which is incorporated herein by reference.
The present invention relates in general to a storage system for storing data; and, more particularly, the present invention relates to a disk system consolidating portable storage devices, such as MT (Magnetic Tapes).
Laws or regulations for preserving data treated by enterprises have been established, and long-term preservation of data (archive) has become more important to these enterprises. On the other hand, the quantities of data treated by such enterprises have drastically increased. In addition, the utility value of accumulated data changes depending upon conditions, such as the lapse of time or the frequency of access. Therefore, for example, when archive data not subject to frequent accesses is successively stored in high-performance storages, a problem arises in that a large bit cost is encountered. In order to solve this problem, a technology is disclosed in Japanese Patent No. 2682811, wherein data is stored in a hierarchy computer system employing, for example, a storage apparatus having a high performance and a large bit cost, and an MT library apparatus having a low performance and a small bit cost.
The total maintenance cost of data in a computer system should include the management cost for the computer system, as well as the bit cost for maintenance of the data. Japanese Patent No. 2682811 discloses technology capable of reducing the bit cost for maintenance of the data. However, with such technology, configuration management of the storage apparatus or the MT library apparatus constituting the computer system, maintenance management of MT media, data management for searching for archive data, etc. need to be carried out individually, thereby increasing the management cost.
Hereinafter, various embodiments of the present invention will be described with reference to the drawings.
A first embodiment of the present invention will be described with reference to the drawings.
The number of host computers 300 connected to the storage system 105 may be one or plural (for example, host computer A 301 and host computer B 302). The host computer 300 may include a CPU 310, a memory 320, and a disk interface 330.
The storage system 105 may include a disk system 100, a management server 600, and an MT library 500. As shown in
The disk system 100 may include one or more host interfaces 130 connected to the fiber channel switch 200, one or more disk devices 150, a disk control module 155 for controlling the disk devices, a cache (memory) 125, one or more processors 110, a control memory 120, a link interface 180, which may interface with an MT library 500, and a management interface 190, which may interface with the management server.
One or more disk devices 150 may be provided (for example, a disk device 152, a disk device 154, and a disk device 156). In the disk system 100, a disk volume (extending across one or more physical disk devices) read or written by the host computer 300 is referred to as a logical volume 140. The logical volume 140 may not correspond to the disk device 150 on a one to one basis, but the contents of one logical volume 140 may be defined in a plurality of disk devices 150. One or more logical volumes 140 may be provided (for example, a logical volume 142, a logical volume 144, a logical volume 146, a logical volume 148, . . . ). By making the logical volume 140 have a RAID structure, loss of the contents of the logical volume 140 may be prevented even when any one physical disk device 150 becomes out of order.
The cache 125 may store a part of data in the logical volume 140. The cache 125 may be non-volatile or duplex (i.e., duplicate or redundant memory having the same contents). The control memory 120 may store the management data of the disk system 100. The control memory 120 may be non-volatile or duplex (i.e., duplicate or redundant memory having the same contents). The control memory 120 may include volume management information 410, media management information 430, and MT-drive management information 450.
The processor 110 may transfer data to a logical volume 140 in response to a read request or a write request from the host computer 300.
Alternatively, the processor may transfer data of a logical volume 140 in response to a request from the management server 600.
The management server 600 may include a management processor 610, a management memory 620, a storage system interface 690, a keyboard 682, a mouse 684, and a display 686. The management memory 620 may store a request issuing/preparation module 625.
The MT processor 510 may carry out the following control in response to requests received from the disk system 100 (including MT drives 542 and 544, slots 571, 572, and 573):
(1) Carry a specified tape 10 between the specified MT drive 540 and the specified slot 570 under control of the changer control module 560 using the media carrier unit 550;
(2) Write data obtained from the disk system 100 to the tape 10 fitted into the specified MT drive 540, or send data of the tape 10 to the disk system 100; and
(3) Carry the tape placed in a specified slot 570 to the media injection and ejection port 575, or carry the tape placed at the media injection and ejection port 575 to the specified slot 570, using the media injection and ejection module 590.
The present embodiment discloses two examples of methods of transferring data.
In the status of PAIR 24, when the logical volume S1 of the disk device 150 is intended to be deleted, the status is changed to PSUS 26 via UNDER SPLIT 25. When the logical volume S1 is defined again in the disk device 150 and the data of the tape 10 is restored, the status returns to PAIR 24 via UNDER RESYNC 27.
An INQUIRY COMMAND STATUS 46 indicates whether the disk system 100 can inquire as to the presence of an inquiry command or not. As an example, when data of the logical volume 140 is stored in the disk device 150, READ/WRITE STATUS 44 may be acceptable and the INQUIRY COMMAND STATUS 46 may be inquirable. On the other hand, when data of the logical volume 140 is not stored in the disk device 150, but is stored only in the tape 10, the READ/WRITE STATUS 44 may be non-acceptable and the INQUIRY COMMAND STATUS 46 may be inquirable. This is because, when the disk system 100 accepts the read or write request, it is necessary to complete the process in a predetermined time, but the period of time required for carrying the tape 10 stored in the slot 570 to the MT drive 540 is not sufficient.
As a result, when a request for changing the status of the logical volume, where the READ/WRITE_STATUS 44 of which is non-acceptable, to a status, where the READ/WRITE STATUS 44 is acceptable, from the host computer 300 is accepted, it is necessary to allocate an area of the disk device 150 to the logical volume 140 and to store data in the area.
A PRIMARY LOGICAL VOLUME NUMBER 417 denotes the number of a primary logical volume 140. A LOGICAL VOLUME STATUS 419 denotes a status of a corresponding logical volume 140. Here, the LOGICAL VOLUME STATUS 419 changes in accordance with the status change shown in
In the information shown in
The value of the PRIMARY LOGICAL VOLUME NUMBER 417 in the case of the status change shown in
Now, an example of the process flow according to the first embodiment will be described. The process flow corresponds to the status change shown in
At step 800, the logical volume 140 to be copied to the tape 10 is recognized. The logical volume 140 to be copied may be specified directly by the host system 300 or the management server 600, or it may be determined by the processor 110 using any method. Here, the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are to be copied.
At step 801, the SECONDARY LOGICAL VOLUME NUMBERS 421 of the specified logical volumes 140 are determined, and the values are set. The LOGICAL VOLUME STATUS 419 is changed to UNDER INITIAL COPY 21.
At step 802, the tape 10 to which the SECONDARY LOGICAL VOLUME NUMBERS 421 are allocated is determined. The tape to be allocated is determined by searching the media management information 430 and finding a tape 10 that is not in use. Here, since the sum of the CAPACITIES 415 of the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is smaller than the TAPE CAPACITY 432 of the tape 10 having the TAPE NUMBER of 442, the tape 10 having the TAPE NUMBER of 442 is selected as the tape 10 to which the SECONDARY LOGICAL VOLUME NUMBER field 421 is allocated. Of course, when the sum of the logical volume CAPACITIES 415 to be copied is greater, a plurality of tapes 10 are selected.
At step 803, the sum value of the CAPACITIES 415 of the logical volumes 140 allocated to the selected tape 10 is written to the TAPE CAPACITY UTILIZATIONS field 434 corresponding to the selected tape 10, and the TAPE CAPACITY field 432 is updated. The number of logical volumes 140 to be written to the tape 10 is set to the NUMBER OF STORED LOGICAL VOLUMES field 436 corresponding to the selected tape 10. Finally, a list of the SECONDARY LOGICAL VOLUME NUMBERS 421 corresponding to the logical volumes 140 to be written to the tape 10 is prepared and set to the LOGICAL VOLUME LIST 437 corresponding to the selected tape 10. Here, the sum value of the CAPACITIES 415 of the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is set to the TAPE CAPACITY 432, 2 is set to the NUMBER OF STORED LOGICAL VOLUMES 436, and the list of the SECONDARY LOGICAL VOLUME NUMBERS 421 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is set to the LOGICAL VOLUME LIST 437. Here, the logical volumes are stored in the order of V1 and V2.
At step 804, the TAPE NUMBER 435 of the allocated tape 10 is set to the ALLOCATED TAPE NUMBER 425 of the corresponding logical volumes 140. Here, 442 (442 is the TAPE NUMBER 435) is set to the ALLOCATED TAPE NUMBER 425 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2.
At step 805, one of the tapes 10 recognized at step 802 is selected and the MT drive 540 used for the copy process is determined. By searching the MT-drive management information 450, the MT drive 540 to be used can be determined. Here, the TAPE NUMBER 435 of the selected tape 10 is set to the OCCUPIED TAPE NUMBER 455 of the determined MT drive 540.
At step 806, the MT library 500 is instructed to carry the tape 10 selected at step 805 to the MT drive 540 and a reply is waited for.
Thereafter, at step 807, data of all of the logical volumes 140 allocated to the tape 10 are written to the tape 10. Here, the logical volumes 140 are stored in the tape 10 in the order stored in the LOGICAL VOLUME LIST 437.
At step 808, the MT library 500 is instructed to restore the tape 10 selected at step 805 to the original slot 570 from the MT drive 540, and the completion thereof is waited for.
Thereafter, as step 809, it is checked whether all of the tapes 10 recognized at step 802 are processed completely. When they are not processed completely, a loop beginning at step 805 is performed again.
Thereafter, at step 810, the LOGICAL VOLUME STATUSES 419 corresponding to all of the logical volumes 140 recognized to be copied at step 800 are changed to PAIR 24. Here, the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are changed to PAIR 24.
At step 1000, the logical volumes 140 to be changed in status to PSUS 26 are specified. The logical volumes 140 to be changed in status may be specified directly by the host system 300 or the management server 600, or they may be determined by the processor 110 using any method. Here, the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are specified.
At step 1001, the LOGICAL VOLUME STATUSES 419 of the logical volumes 140 to be changed in status are converted to UNDER SPLIT 25. Here, the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are changed to UNDER SPLIT 25.
At step 1002, the area of the disk device 150 to which the logical volumes 140 to be changed in status are allocated is opened. Here, the area of the disk device 150 to which the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are allocated is opened.
Finally, at step 1003, the LOGICAL VOLUME STATUSES 419 of the logical volumes 140 to be changed in status are converted to PSUS 26. The PRIMARY LOGICAL VOLUME NUMBERS 417 of the corresponding logical volumes 140 are set to null. Here, the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are changed to PSUS 26 and the PRIMARY LOGICAL VOLUME NUMBERS 417 are set to null.
At step 1200, the logical volumes 140 to be changed in status to PAIR 24 are specified. The logical volumes 140 to be changed in status may be specified directly by the host system 300 or the management server 600, or it may be determined by the processor 110 using any method. Here, the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are specified.
At step 1201, the LOGICAL VOLUME STATUSES 419 of the specified logical volumes 140 are changed to UNDER RESYNC 27.
At step 1202, the tape 10 allocated to the SECONDARY LOGICAL VOLUME NUMBERS 421 of the logical volumes 140, that is, the ALLOCATED TAPE NUMBER 425 is searched out from the volume management information 410. Here, 442 which is a content of the ALLOCATED TAPE NUMBER 425 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is the TAPE NUMBER 435 of the desired tape 10.
At step 1203, one is selected from the tapes 10 searched out at step 1202, and the MT drive 540 used for restoring data to the disk device 150 is determined. The MT drive 540 to be used can be determined by searching the MT-drive management information 450. Here, the TAPE NUMBER 435 of the selected tape 10 is set to the OCCUPIED TAPE NUMBER 455 of the determined MT drive 540. The media management information 430 is searched for the slot 570 storing the tape 10.
At step 1204, the MT library 500 is instructed to carry the tape 10 selected at step 1203 to MT drive 540, and a reply is waited for.
Thereafter, at step 1205 (
At step 1206, it is checked whether the registered logical volume 140 is to be changed in status or not. When it is to be changed in status, a processing continuing from step 1207 is performed, and when it is not to be changed in status, a processing continuing from step 1209 is performed.
At step 1207, an area of the disk device 150 to which the logical volume 140 should be allocated is reserved. The PRIMARY LOGICAL VOLUME NUMBER 417 corresponding to the logical volume 140 is set.
At step 1208, data of the tape 10 is written to the logical volume 140 of the disk device 150.
At step 1209, it is checked whether the search of the LOGICAL VOLUME LIST 437 of the corresponding tape 10 is completed. When the search is completed, processing continuing from step 1211 is performed, and when the search is not completed, processing continuing from step 1210 is performed.
At step 1210, a process of transferring the tape 10 to the next logical volume 140 is preformed. Specifically, the MT drive 540 is instructed to transfer the tape up to a predetermined block, and data of the corresponding logical volume 140 may be transferred to the disk system 100 from the MT drive 540 and be discarded. After completion of step 1210, the processing beginning from step 1205 is performed again.
At step 1211, it is instructed to restore the tape 10 having been subjected to the process to the original slot 570 and the completion is waited for. Thereafter, at step 1212, it is checked whether the copy of all the tapes 10 specified at step 1202 is completed. When the copy is not completed, the processing beginning from step 1203 is performed again.
When the copy is completed, at step 1213, the statuses of the LOGICAL VOLUME STATUSES 419 corresponding to all of the logical volumes 140 specified to be changed in status at step 1200 are set to PAIR 24. Here, the statuses of the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are set to PAIR 24.
At step 1400, the logical volumes 140 to be changed in status to SMPL 22 are specified. The logical volumes 140 to be changed in status may be specified directly by the host system 300 or the management server 600, or they may be determined by the processor 110 using any method. Here, it is assumed that the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are specified.
At step 1401, the LOGICAL VOLUME STATUSES 419 of the specified logical volumes 140 are changed to UNDER SPLIT-S 23.
At step 1402, the tape 10 allocated to the SECONDARY LOGICAL VOLUME NUMBERS 421 of the logical volumes 140, that is, the ALLOCATED TAPE NUMBER 425, is searched out from the volume management information 410. Here, 442, which is a content of the ALLOCATED TAPE NUMBER 425 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2, is the TAPE NUMBER 435 of the desired tape 10.
At step 1403, one is selected from the tapes 10 searched out at step 1402, and it is checked whether all of the logical volumes 140 stored in the tape 10 are instructed to open the areas of the tape 10. If so, processing continuing from step 1413 is performed. In this example, since all of the logical volumes 140 (corresponding to V1 and V2) included in the tape 10, of which the TAPE NUMBER 425 is 442, are to be opened, processing continuing from step 1413 is performed.
If not, the tape 10 for storing the logical volume 140 not instructed to open the corresponding area is determined at step 1404. Since it is not possible to partially delete the tape 10, another tape 10 should be allocated and the contents of the logical volume 140 not instructed to open the corresponding area should be copied to the tape, in order to delete a part of the contents. Such a tape is determined by searching the media management information 430 and finding out a tape 10 that is not being used.
At step 1405, two MT drives 540 for transmitting data between the tape 10 selected at step 1403 and the tape 10 selected at step 1404 are determined. The MT drives 540 to be used can be determined by searching the MT drive management information 450. Here, the TAPE NUMBER 435 of the selected tape 10 is set to the OCCUPIED TAPE NUMBER 455 of the determined MT drives 540. The slot 570 storing the tapes 10 is specified by searching the media management information 430.
At step 1406, the MT library 500 is instructed to carry the tape 10 determined at step 1405 to the MT drive 540 and a reply is waited for. Here, the instruction for carrying the tape is given two times for the completion.
Thereafter, at step 1407, on the basis of the information of the logical volume 140 registered at the front end of the LOGICAL VOLUME LIST 436 corresponding to the tape 10 including the logical volume 140 instructed to open the corresponding area, it is checked whether it is instructed to open the corresponding area. If so, the processing continuing from step 1410 is performed.
If not instructed to open the corresponding area, at step 1408, the following information is set to the media management information 430 corresponding to the tape 10 as a copy destination. First, the value of the CAPACITY 415 corresponding to the logical volume 140 is added to the TAPE CAPACITY UTILIZATION 434. Next, the NUMBER OF STORED LOGICAL VOLUMES 436 is increased by 1. The SECONDARY LOGICAL VOLUME NUMBER 421 corresponding to the logical volume 140 is added to the LOGICAL VOLUME LIST 347.
At step 1409, data of the tape 10 corresponding to the logical volume 140 is written to the tape 10 as a copy destination. After completion of the writing, the ALLOCATED TAPE NUMBER 425 corresponding to the logical volume 140 is changed to the TAPE NUMBER 435 corresponding to the tape 10 as the copy destination.
At step 1410, it is checked whether the search of the LOGICAL VOLUME LIST 437 of the tape 10 is completed. If so, processing continuing from step 1412 is performed. If not, it is checked at step 1411 whether the next logical volume 140 of the LOGICAL VOLUME LIST 437 is to be opened. If not, processing beginning from step 1408 is performed, and, if so, processing beginning from step 1410 is performed.
At step 1412, it is instructed to restore the processed tape 10 to the original slot 570 and the completion is waited for. This instruction is performed two times. At this time, before restoring the tape 10 including the logical volume 140 to be opened to the slot 570, all of the data of the tape 10 including the logical volume 140 to be opened may be deleted using any method, and then the carrying of the tape may be performed.
At step 1413, it is checked whether all of the tapes 10 specified at step 1402 have been processed. When the process is not completed, the processing continuing from step 1403 is performed again.
When the process is completed, at step 1414, the values of the media management information 430 corresponding to the tapes 10 specified at step 1402 are changed as follows. The TAPE CAPACITY UTILIZATION 434 is set to 0, the NUMBER OF STORED LOGICAL VOLUMES 436 is set to 0, and the LOGICAL VOLUME LIST 437 is set to null. Through step 1414, the tape not having deleted data at step 1412 is considered as having deleted data.
At step 1415, the LOGICAL VOLUME STATUSES 419 corresponding to all of the logical volumes 140 specified to be changed in status at 1400 are changed to SMPL 22. Here, the statuses of the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are changed to SMPL 22.
Next, an example of the process flow corresponding to the status change of
At step 1600, the logical volumes 140 of which data should be transferred to the tape 10 are specified. The logical volumes 140 to be copied may be specified directly by the host system 300 or the management server 600, or it may be determined by the processor 110 using any method. Here, it is assumed that the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are specified.
At step 1601, the LOGICAL VOLUME STATUSES 419 of the corresponding logical volumes 140 are changed to UNDER COPY 36.
At step 1602, the tape 10 to which the logical volume 140 is transferred is determined. Such a tape is determined by searching the media management information 430 and finding a tape 10 that is not being used. Here, since the sum of the CAPACITIES 415 of the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is smaller than the TAPE CAPACITY 432 of the tape 10 having the TAPE NUMBER of 442, it is assumed that the tape 10 having the TAPE NUMBER 435 of 442 is set to the tape 10 to which the SECONDARY LOGICAL VOLUME NUMBER 421 should be allocated. Of course, when the sum of the CAPACITIES 415 of the logical volumes to be copied is greater, a plurality of tapes 10 are selected.
At step 1603, the sum value of the CAPACITIES 415 of the logical volumes 140 allocated to the selected tape 10 is written to the TAPE CAPACITY UTILIZATION 434 corresponding to the selected tape 10. The number of logical volumes 140 to be written to the tape 10 is set to the NUMBER OF STORED LOGICAL VOLUMES corresponding to the selected tape 10. Finally, a list of the PRIMARY LOGICAL VOLUME NUMBERS 419 corresponding to the logical volumes 140 to be written to the tape 10 is prepared and set to the LOGICAL VOLUMES 327 corresponding to the selected tape 10. Here, the sum value of the CAPACITIES 415 of the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is set to the tape CAPACITY, 2 is set to the NUMBER OF STORED LOGICAL VOLUMES 436, and the list of the PRIMARY LOGICAL VOLUME NUMBERS 417 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 is set to the LOGICAL VOLUME LIST 437. Here, the logical volumes are stored in the order of V1 and V2.
Since the processes of step 1604 to step 1609 correspond to the processes of step 804 to step 809 on a one to one basis, description thereof will be omitted.
At step 1610, the statuses of the LOGICAL VOLUME STATUSES 419 corresponding to all of the logical volumes 140 specified to transfer data at step 1600 are set to UNDER STORE OF TAPE 37. Here, the statuses of the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are set to UNDER STORE OF TAPE 37.
At step 1800, the logical volumes 140 to be changed in status to SMPL 22 are specified. The logical volumes 140 to be changed in status may be specified directly by the host system 300 or the management server 600, or they may be determined by the processor 110 using any method. Here, it is assumed that the logical volumes 140 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are specified.
At step 1801, the LOGICAL VOLUME STATUSES 419 of the specified logical volumes 140 are changed to UNDER RESTORATION 38.
At step 1802, the tapes 10 allocated to the SECONDARY LOGICAL VOLUME NUMBERS 421 of the logical volumes 140, that is, the ALLOCATED TAPE NUMBERS 425, are searched out from the volume management information 410. Here, it is assumed that 442, which is a content of the ALLOCATED TAPE NUMBER 425 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2, is the TAPE NUMBER 435 of the desired tape 10.
At step 1803, one is selected from the tapes 10 searched out at step 1802, and it is checked whether all of the logical volumes 140 stored in the tape 10 are instructed to open the corresponding areas in the tape 10. If so, processing continuing from step 1805 is performed. In this example, since all of the logical volumes 140 (corresponding to V1 and V2) included in the tape 10 of which the tape number 425 is 442 is to be opened, processing continuing from step 1805 is performed.
If not, the tape 10 for storing the logical volume 140 not instructed to open the corresponding area is determined at step 1804. Since it is not possible to partially delete the tape 10, another tape 10 should be allocated and the contents of the logical volume 140 not instructed to open the corresponding area should be copied to the tape 10, in order to delete a part of the contents. Such a tape is determined by searching the media management information 430 and finding out a tape 10 that is not being used.
At step 1805, the MT drive 540 to be used is selected. Specifically, the MT drive 540 to be used for the tape 10 selected at step 1803 is selected first of all. When a tape to be copied is selected as a result of step 1804, another MT drive 540 is selected. The MT drives 540 to be used can be determined by searching the MT-drive management information 450. Here, the TAPE NUMBER 435 of the selected tape 10 is set to the OCCUPIED TAPE NUMBER 455 of the determined MT drives 540. The slot 570 for storing the tapes 10 is specified by searching the media management information 430.
At step 1806, the MT library 500 is instructed to carry the tape 10 determined at step 1405 to the MT drive 540 and a reply is waited for. Here, when one MT drive 540 is selected at step 1805, the instruction for carrying the tape is given one time, and when two MT drives 540 are selected at step 1805, the instruction for carrying the tape is given two times, thereby completing the carrying of the tape.
Thereafter, at step 1807, on the basis of the information of the logical volume 140 registered at the front end of the LOGICAL VOLUME LIST 436 corresponding to the tape 10 including the logical volume 140 instructed to open the corresponding area, it is checked whether it is instructed to open the corresponding area. If so, processing continuing from step 1810 is performed.
If not instructed to open the corresponding area, at step 1808, the following information is set to the media management information 430 corresponding to the tape 10 as a copy destination. First, the value of the CAPACITY 415 corresponding to the logical volume 140 is added to the TAPE CAPACITY UTILIZATION 434. Next, the NUMBER OF STORED LOGICAL VOLUMES 436 is increased by 1. The SECONDARY LOGICAL VOLUME NUMBER 421 corresponding to the logical volume 140 is added to the LOGICAL VOLUME LIST 347.
At step 1809, data of the tape 10 corresponding to the logical volume 140 is written to the tape 10 as the copy destination. After completion of the writing, the ALLOCATED TAPE NUMBER 425 corresponding to the logical volume 140 is changed to the TAPE NUMBER 435 corresponding to the tape 10 as the copy destination. Thereafter, processing continuing from step 1812 is performed.
At step 1810, an area in the disk device 150 to which the logical volume 140 should be allocated is reserved.
At step 1811, the data of the tape 10 is written to the logical volume 140 in the allocated disk device 150.
At step 1812, it is checked whether the search of the LOGICAL VOLUME LIST 437 of the tape 10 is completed. If so, processing continuing from step 1814 is performed. If not, at step 1813, it is checked whether the next logical volume 140 in the LOGICAL VOLUME LIST 437 should be changed in status. If not, processing continuing from step 1808 is performed, and, if so, processing continuing from step 1810 is performed.
At step 1814, it is instructed to restore the processed tape 10 to the original slot 570 and the completion thereof is waited for. The instruction for restoring the tape is given one time when one MT drive 540 is selected at step 1805, and the instruction for restoring the tape is given two times when two MT drives 540 are selected at step 1805, thereby completing the carrying of the tape.
At step 1815, it is checked whether all of the tapes 10 specified at step 1802 have been processed. When all of the tapes have not been processed, the processing continuing from step 1803 is performed again.
When all of the tapes have been processed, at step 1816, the values of the media management information 430 corresponding to the tapes 10 specified at step 1802 are changed as follows. The TAPE CAPACITY UTILIZATION 434 is set to 0, the NUMBER OF STORED LOGICAL VOLUMES 436 is set to 0, and the LOGICAL VOLUME LIST 437 is set to null.
At step 1817, the statuses of the LOGICAL VOLUME STATUSES 419 of the all of the logical volumes 140 specified to be changed in status at step 1800 are changed to SMPL 22. Here, the statuses of the LOGICAL VOLUME STATUSES 419 having the LOGICAL VOLUME IDENTIFIERS 411 of V1 and V2 are changed to the SMPL 22.
According to the aforementioned embodiment, the storage system can transfer data to the tape from the disk device with the lapse of time for preserving data, thereby performing a long-term preservation of the data, while taking the bit cost into account. Therefore, it is possible to provide a storage system which can store data on any one of a disk device and a tape in accordance with the utility value of data varying with time. For example, the storage system can perform long-term preservation of archive data not having frequent accesses using the tape, thereby not using the disk device which has a large bit cost. In addition, the storage system can restore data to the logical volume of the disk device from the logical volume of the tape in accordance with the variation in access frequency. In addition, it is possible to reduce the management cost of the storage system having different layers.
Even when data is transferred in the storage system, the host system can use the data as if the data exists in the disk device, without recognizing the transfer of data or the existence of the tape.
A second embodiment of the present invention will be described with reference to the drawings.
One or more maintenance men may exist. The maintenance man 1970 works with an RFID terminal 1975, so as to check whether a correct device is being treated. As a result, the respective shelves 1910 have an RFID 1990 and identifiers of the shelves 1910 are stored therein. The maintenance man 1970 can read out an RFID 1990 of a shelf 1910 and check whether a correct shelf 1910 is being manipulated, using the RFID terminal 1975. As shown in
In the disk system 100, the information stored in the control memory 120 may be different from that of the first embodiment. Slot management information 2010 and shelf management information 2020 are newly added. Media management information 2000 has a format different from that of the first embodiment.
The management terminal 700 (
The number of host computers 300 connected to the storage system 105 may be one or plural (for example, host computer A 301 and host computer B 302). The host computer 300 may include a CPU 310, a memory 320, and a disk interface 330.
The structure of the second embodiment is different from that of the first embodiment by the aforementioned description.
In the present embodiment, two examples of transfer methods are disclosed.
Now, an example of the contents of the media management information 2000, the slot management information 2010, and the shelf management information 2020 will be described.
The media management information 2000 shown in
The slot management information 2010 shown in
The shelf information 2020 shown in
Now, an example of the process flow of the second embodiment will be described.
As described above, in the second embodiment, a process of moving the tape 10 between the slot 570 and the shelf 1910 is added to the processes of the first embodiment. Therefore, a process of moving the tape 10 to the shelf 1910 from the slot 570, and a process of moving the tape 10 to the slot 570 from the shelf 1910, are added thereto.
On the other hand, the example of process flows shown in
The status changes shown in
At step 2400, information having the same tape number 435 as the identifier of the specified tape 10 is found by searching the media management information 2000. The MT LIBRARY DEVICE NUMBER 431 and the SLOT NUMBER 433 corresponding to the TAPE NUMBER 435 are also recognized.
At step 2401, a shelf 1910 for receiving the tape 10 is determined. The shelf 1910 for receiving the tape is determined by searching the shelf information 2020, and finding a shelf 1910 having room for receiving the tape.
At step 2402, the MT library 500 storing the tape 10 is instructed to carry the tape 10 to the media injection and ejection port 575 from the slot 570 storing the tape and the completion thereof is waited for.
At step 2403, the management server 600 instructs the maintenance man 1970 via the management terminal 700 to carry the tape 10 to the shelf 1910 from the media injection and ejection port 575 of the MT library 500, and the completion thereof is waited for. At this time, the identifier of the MT library 500, the identifier of the media injection and ejection port 575, the identifier of the shelf 1910, and the identifier of the tape 10 are transmitted to the management terminal 700.
At step 2404, on the basis of the tape 10 carried to the shelf 1910, the information is changed. In the media management information 2000 corresponding to the tape, the identifier of the shelf 1910 newly storing the tape 10 is stored in the SHELF NUMBER 2001. On the other hand, the MT LIBRARY DEVICE NUMBER 431 and the SLOT NUMBER 433 are set to null. In the slot management information 2010, the TAPE NUMBER 2215 in the information on the corresponding slot 570 is set to null. In the shelf information 2020, the NUMBER OF STORED TAPES 2225 and the RECEIVED TAPE LIST 2227 in the information on the corresponding shelf 1910 are updated. Specifically, the NUMBER OF RECEIVED TAPES is increased by 1 and the identifier of the corresponding tape 10 is added to the RECEIVED TAPE LIST 2227.
The process flow is completed in this way.
At step 2500, the maintenance man 1970 connects the input unit 783 of the management terminal 700 to the RFID terminal 1975, and the management terminal 700 reads out the identifier of the MT library 500 received from the disk system 100, the identifier of the media injection and ejection port 575, the identifier of the shelf 1910, and the identifier of the tape 10. Erroneous operation can be prevented by directly inputting the identifiers to the RFID terminal 1975.
At step 2501, the maintenance man 1970 reaches the media injection and ejection port 575 of the specified MT library 500 with reference to the identifier of the MT library 500 input to the RFID terminal 1975 and the identifier of the media injection and ejection port 575. At this time, the maintenance man 1970 carries the RFID terminal 1975.
At step 2502, the maintenance man 1970 inputs the information of the RFID 1990 of the reached media injection and ejection port 575 to the RFID terminal 1975, and checks whether the input information corresponds to the identifier of the MT library 500 and the identifier of the media injection and ejection port 575 input at step 2500, thereby confirming whether the correct media injection and ejection port 575 being treated. Since treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed.
At step 2503, the maintenance man 1970 takes out the tape 10 carried to the media injection and ejection port 575 and inputs the information of the RFID 1990 of the tape 10 to the RFID terminal 1975. Then, the maintenance man checks whether the input information corresponds to the identifier of the tape 10 input at step 2500, thereby confirming whether the correct tape 10 is being treated. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed.
At step 2504, the maintenance man 1970 goes to the specified shelf 1910 with the tape 10 and the RFID terminal 1975 with reference to the identifier of the shelf 1910 input to the RFID terminal 1975.
At step 2505, the maintenance man 1970 inputs the information of the RFID 1990 of the reached shelf 1910 to the RFID terminal 1975 and checks whether the input information corresponds to the identifier of the shelf 1910 input at step 2500, thereby confirming whether the correct shelf 1910 is being treated. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed.
At step 2506, the maintenance man 1970 takes out the tape 10 carried by him and inputs the information of the RFID 1990 of the tape 10 to the RFID terminal 1975. The maintenance man checks whether the input information corresponds to the identifier of the tape 10 input at step 2500, thereby confirming whether the correct tape 10 is being treated. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed. In the present process flow, the maintenance man 1970 treats only one tape 10 and confirms that the correct tape 10 is being treated at step 2503, step 2506 can be considered unnecessary. However, when a plurality of tapes 10 are carried simultaneously and the tapes 10 are received in the shelf 1970, the confirmation may be important.
At step 2507, the maintenance man 1970 stores the confirmed tape 10 in the shelf 1910. Thereafter, the maintenance man 1970 goes back to the position of the management terminal 700.
At step 2508, the maintenance man 1970 inputs an indication of the completion of the requested process to the management terminal 700.
The management terminal 700 to which the indication of completion of the process is input reports the completion of the process to the disk system 100 via the management server 600.
At step 2600, the media management information 2000 is searched to find the information having the same tape number 435 as the identifier of the specified tape 10. The shelf number 2001 corresponding to the tape number 435 is recognized.
At step 2601, an MT library 500 and a slot 570 for storing the tape 10 are determined. By searching the slot information 2010 and finding a slot 570 that is not storing a tape 10, the slot 570 for storing the tape is determined.
At step 2602, the management server 600 instructs the maintenance man 1970 via the management terminal 700 to move the tape 10 to the media injection and ejection port 575 of the MT library 500 from the shelf 1910 receiving the tape 10, and waits for the completion thereof. At this time, the identifier of the MT library 500, the identifier of the media injection and ejection port 575, the identifier of the shelf 1910, and the identifier of the tape 10 are transmitted to the management terminal 700.
At step 2603, The MT library 500 storing the tape 10 is instructed to carry the tape 10 to the slot 570 determined at step 2601 from the media injection and ejection port 575, and the completion thereof is waited for.
At step 2604, on the basis of the tape 10 carried to the slot 570, the information is changed. In the media management information 2000 corresponding to the tape, the SHELF NUMBER 2001 is set to null. The identifiers of the MT library 500 and the slot 570 newly storing the tape 10 are set to the MT LIBRARY DEVICE NUMBER 431 and the SLOT NUMBER 433, respectively. In the slot management information 2010, the identifier of the tape 10 is set to the TAPE NUMBER 2215 in the information on the corresponding slot 570. In the shelf information 2020, the NUMBER OF STORED TAPES 2225 and the RECEIVED TAPE LIST 2227 in the information on the corresponding shelf 1910 are updated. Specifically, the NUMBER OF RECEIVED TAPES is decreased by 1 and the identifier of the corresponding tape 10 is deleted from the RECEIVED TAPE LIST 2227.
The process flow is completed in this way.
At step 2700, the maintenance man 1970 connects the input unit 783 of the management terminal 700 to the RFID terminal 1975, and the management terminal 700 reads out the identifier of the MT library 500 received from the disk system 100, the identifier of the media injection and ejection port 575, the identifier of the shelf 1910, and the identifier of the tape 10. Erroneous operation can be prevented by directly inputting the identifiers to the RFID terminal 1975.
At step 2701, the maintenance man 1970 reaches the specified shelf 1910 with reference to the identifier of the shelf 1910 input to the RFID terminal 1975. At this time, the maintenance man 1970 carries the RFID terminal 1975.
At step 2702, the maintenance man 1970 inputs the information of the RFID 1990 of the reached shelf 1910 to the RFID terminal 1975, and checks whether the input information corresponds to the identifier of the shelf 1910 input at step 2700, thereby confirming whether the correct shelf 1910 is being treated. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed.
At step 2703, the maintenance man 1970 manipulates the RFID terminal 1975, finds the tape 10 of which the RFID 1990 includes the identifier input at step 2700, and takes out the tape 10 from the shelf 1910. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed.
At step 2704, the maintenance man 1970 reaches the media injection and ejection port 575 of the specified MT library 500 with reference to the identifier of the MT library 500 input to the RFID terminal 1975 and the identifier of the media injection and ejection port 575, while carrying the tape 10 and the RFID terminal 1975.
At step 2705, the maintenance man 1970 inputs the information of the RFID 1990 of the reached media injection and ejection port 575 to the RFID terminal 1975, and checks whether the input information corresponds to the identifier of the MT library 500 and the identifier of the media injection and ejection port 575 input at step 2700, thereby confirming whether the correct media injection and ejection port 575 is being treated. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed.
At step 2706, the maintenance man 1970 takes out the tape 10 carried to the media injection and ejection port 575 and inputs the information of the RFID 1990 of the tape 10 to the RFID terminal 1975. The maintenance man checks whether the input information corresponds to the identifier of the tape 10 input at step 2701, thereby confirming whether the correct tape 10 is being treated. Since the treatment is performed using the RFID terminal 1975, erroneous treatment can be suppressed. In the present process flow, the maintenance man 1970 treats only one tape 10 and confirms that the correct tape 10 is being treated at step 2403, step 2406 may be considered as unnecessary. However, when a plurality of tapes 10 are carried simultaneously and the tapes 10 are stored in the media injection and ejection port 575, the confirmation may be important.
At step 2707, the maintenance man 1970 stores the confirmed tape 10 in the media injection and ejection port 575. Thereafter, the maintenance man 1970 goes back to the position of the management terminal 700.
At step 2708, the maintenance man 1970 inputs the completion of the requested process to the management terminal 700.
The management terminal 700 to which the completion of the process is input reports the completion of the process to the disk system 100 via the management server 600.
At step 2800, one type is selected from the tapes 10 searched out at step 1202 and it is checked whether the tape 10 is stored in the MT library 500 or in the shelf 1910. This check is performed using the media management information 2000 corresponding to the tape 10. When the tape is stored in the MT library 500, processing continuing from step 2801 is performed, and, if not, processing continuing from step 2802 is performed.
At step 2801, the process flow shown in
At step 2802, the MT drive 540 to be used for restoring data to the disk device 150 is determined. The MT drive 540 to be used can be determined by searching the MT-drive management information 470. Here, the TAPE NUMBER 435 of the selected tape 10 is set to the OCCUPIED TAPE NUMBER 455 of the determined MT drive 540. Then, the media management information 2000 is searched, thereby recognizing the slot 570 storing the tape 10.
At step 1212, it is checked whether the copying of all of the tapes 10 specified at step 1202 is completed. When the copying is not completed, the processing continuing from step 2800 is performed again.
The other process flow of
At step 2900, one type is selected from the tapes 10 searched out at step 1402 and it is checked whether the tape 10 is stored in the MT library 500 or in the shelf 1910. This check is performed using the media management information 2000 corresponding to the tape 10. When the tape is stored in the MT library 500, processing continuing from step 2901 is performed, and, if it is not stored, continuing from step 2902 is performed.
At step 2901, the process flow shown in
At step 2902, it is checked whether all of the logical volumes 140 stored in the tape 10 are instructed to open the areas of the tape 10. If so, processing continuing from step 1413 is performed.
At step 1413, it is checked whether the copying of all of the tapes 10 specified at step 1402 is completed. When the copying is not completed, the processing continuing from step 2900 is performed again.
The other process flow of
At step 3000, one type is selected from the tapes 10 searched out at step 1802 and it is checked whether the tape 10 is stored in the MT library 500 or in the shelf 1910. This check is performed using the media management information 2000 corresponding to the tape 10. When the tape is stored in the MT library 500, processing continuing from step 3001 is performed, and, when it is not stored, processing continuing from step 3002 is performed.
At step 3001, the process flow shown in
At step 3002, it is checked whether all the logical volumes 140 stored in the tape 10 are instructed to open the areas of the tape 10. If so, processing continuing from step 1805 is performed.
At step 1815, it is checked whether the copying of all of the tapes 10 specified at step 1802 is completed. When the copying is not completed, the processing continuing from step 3000 is performed again.
The other process flow of
To conclude, it is an object of the present invention to reduce the management cost by consolidating storage systems based on disk systems and portable storage devices such as an MT.
In order to achieve the aforementioned objects, according to a first aspect of the present invention, there is provided a first storage system in which a disk system and an MT library system are consolidated. The first storage system has a disk interface with respect to a host computer. Here, it should be noted that data stored in an MT was originally stored in the disk system. In a recent disk system having a RAID structure, it should be noted that a disk volume viewed from a user, that is, a host, does not correspond to a physical disk device on a one to one basis, but is a logical disk volume. Hereinafter, the disk volume may be referred to as a logical volume.
The first storage system may be characterized in that the logical volumes are stored in the MT. Information indicating in which MT a logical volume is stored, and in which slot of a library the MT is stored, is also held. Here, the slot means a space in the library storing a volume of the MT.
The first storage system also may be characterized in that areas of the disk system can be effectively used by storing a logical volume in an MT and then storing another logical volume in the area of the disk system having stored the logical volume. The MT storing contents of the logical volume is restored to a slot of the library. At this time, the first storage system memorizes which slot is allocated. However, the host computer recognizes the logical volume as if the logical volume stored in the MT exists in the disk system. As a result, when an access request to the logical volume stored in the MT is given from the host computer, the first storage system reserves a new area in the disk system, checks in which slot of the library the requested MT is stored, and transmits the MT to an MT drive from the slot. Thereafter, the first storage system copies data of the MT to the area and then accepts the access request from the host computer.
According to a second aspect of the present invention, there may be provided a second storage system for totally managing a disk system, an MT library system, an automatic changer, and a warehouse receiving MT. The second storage system has a disk interface with respect to a host computer. In the second storage system, the warehouse receiving the MT, the MT library system, and the automatic changer are placed close to one another. The disk system and the MT library or the automatic changer are connected to each other through a data transmission line, but the distance therebetween may be great. The second storage system is different from the first storage system in that the second storage system can manage an MT which is detached from the MT library or the automatic changer, which is received in the warehouse, and which cannot thus be automatically treated, that is, an MT requiring manual manipulation. Generally, when the MT is stored under a condition where it can be treated using an appliance, such as an MT library, library equipment corresponding to the number of MT volumes is necessary, thereby increasing the management cost.
Therefore, in order to reduce the management cost, users may detach the MT from the library or the automatic changer and may receive the MT separately. The second storage system can manage the MT under such a condition, thereby providing the users with convenient access. As a result, the second storage system has information indicating in which MT the respective logical volumes are stored and information indicating at which position of the warehouse the MT is placed.
An RFID (Radio Frequency Identification) tag for storing an identifier of each MT is attached to each MT. As a result, it is possible to recognize the MT by easily writing an identifier or reading out an identifier using a reader and a writer. Accordingly, when the MT having stored contents of the logical volume is detached from the MT library or the automatic changer and is received in the warehouse by a maintenance man, the second storage system receives and memorizes information indicating at which position of the warehouse the MT is received from the maintenance man.
When an access to the logical volume stored in the MT received in the warehouse is requested by the host computer, information indicating which MT is requested and information indicating at which position the MT is placed are communicated to the maintenance man of the warehouse. The maintenance man goes to the notified position, checks whether the MT is correct using a reader, fits the MT to the library or the automatic changer, and then communicates this fact to the second storage system. The second storage system reserves a new area in the disk system, transmits the MT in the library or the automatic changer to an MT drive, copies data of the MT to the area, and then accepts the access request from the host computer.
According to the embodiments of the present invention, data stored in a portable medium, such as a tape, can be managed integrally as data of a disk volume, thereby reducing the total maintenance cost for data in a computer system, including the bit cost for maintenance of data and the management cost for data.
Further, at least a portion (if not all) of the present invention may be practiced as a software invention, implemented in the form of one or more machine-readable medium having stored thereon at least one sequence of instructions that, when executed, causes a machine to effect operations with respect to the invention. With respect to the term “machine”, such term should be construed broadly as encompassing all types of machines, e.g., a non-exhaustive listing including: computing machines, non-computing machines, communication machines, etc. With regard to the term “one or more machine-readable medium”, the sequence of instructions may be embodied on and provided from a single medium, or alternatively, differing ones or portions of the instructions may be embodied on and provided from differing and/or distributed mediums. A “machine-readable medium” includes any mechanism that provides (i.e., stores and/or transmits) information in a form readable by a machine (e.g., a processor, computer, electronic device). Such a “machine-readable medium” term should be broadly interpreted as encompassing a broad spectrum of mediums, e.g., a non-exhaustive listing including: electronic medium (read-only memories (ROM), random access memories (RAM), flash cards); magnetic medium (floppy disks, hard disks, magnetic tape, etc.); optical medium (CD-ROMs, DVD-ROMs, etc); electrical, optical, acoustical or other form of propagated signals (e.g., carrier waves, infrared signals, digital signals); etc.
Method embodiments may be emulated as apparatus embodiments (e.g., as a physical apparatus constructed in a manner effecting the method); and, apparatus embodiments may be emulated as method embodiments.
Any reference in the specification to “one embodiment”, “an embodiment”, “example of an embodiment”, etc., means that a particular feature, structure, or characteristic described in connection with the embodiment is included in at least one embodiment of the invention. The appearances of such phrases in various places in the specification are not necessarily all referring to the same embodiment. Further, when a particular feature, structure, or characteristic is described in connection with any embodiment or component, it is submitted that it is within the purview of one skilled in the art to effect such feature, structure, or characteristic in connection with other ones of the embodiments and/or components. Furthermore, for ease of understanding, certain method procedures may have been delineated as separate procedures; however, these separately delineated procedures should not be construed as necessarily order dependent in their performance, i.e., some procedures may be able to be performed in an alternative order, simultaneously, etc.
This concludes the description of the embodiments. Although the present invention has been described with reference to a number of illustrative embodiments thereof, it should be understood that numerous other modifications and embodiments can be devised by those skilled in the art that will fall within the spirit and scope of the principles of this invention. More particularly, reasonable variations and modifications are possible in the component parts and/or arrangements of the subject combinations within the scope of the foregoing disclosure, the drawings and the appended claims without departing from the spirit of the invention. In addition to variations and modifications in the component parts and/or arrangements, alternative uses will also be apparent to those skilled in the art.
Number | Date | Country | Kind |
---|---|---|---|
2004-349266 | Dec 2004 | JP | national |