A method for controlling a storage system including a host computer, and a first and a second storage control apparatuses each receiving a data input/output request from the host computer and executing a data input/output process for a storage device in response to the request, comprises connecting a...http://www.google.com/patents/US20030221077?utm_source=gb-gplus-sharePatent US20030221077 - Method for controlling storage system, and storage control apparatus

A method for controlling a storage system including a host computer, and a first and a second storage control apparatuses each receiving a data input/output request from the host computer and executing a data input/output process for a storage device in response to the request, comprises connecting a first communication path between the host computer and the first apparatus; connecting a second communication path between the first apparatus and the second apparatus; receiving by the first apparatus a first data input/output request from the host computer through the first path; when the first apparatus has judged that the first request is not for the first apparatus, transmitting by the first apparatus a second data input/output request corresponding to the first request, to the second apparatus through the second path; and by the second apparatus, receiving the second request and executing a data input/output process corresponding to the second request received.

Images(20)

Claims(48)

What is claimed is:

1. A method for controlling a storage system including a host computer, and a first and a second storage control apparatuses each having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to said data input/output request received, comprising:

connecting a first communication path between said host computer and said first storage control apparatus to each other;

connecting a second communication path between said first storage control apparatus and said second storage control apparatus to each other;

receiving by said first storage control apparatus a first data input/output request transmitted from said host computer through said first communication path;

when said first storage control apparatus has judged that said first data input/output request is not to be handled by said first storage control apparatus, transmitting by said first storage control apparatus a second data input/output request corresponding to said first data input/output request, to said second storage control apparatus through said second communication path; and

by said second storage control apparatus, receiving said second data input/output request and executing a data input/output process corresponding to said second data input/output request received.

2. A method for controlling a storage system according to claim 1, wherein said second data input/output request conforms to the same data format as that of the data input/output request that said second storage control apparatus directly receives from said host computer.

3. A method for controlling a storage system according to claim 1, wherein said second data input/output request is transmitted and received in conformity with the same protocol as that used when said second storage control apparatus makes direct transmission to and direct reception from said host computer.

4. A method for controlling a storage system according to claim 1, further comprising:

storing in said first storage control apparatus information concerning a storage device for which said second storage control apparatus executes data input/output processes; and

based on the information concerning a storage device that said first storage control apparatus stores, determining by said first storage control apparatus whether or not to transmit said second data input/output request corresponding to said first data input/output request to said second storage control apparatus.

5. A method for controlling a storage system according to claim 4, wherein

said information concerning a storage device includes at least any one of management information of storage areas for one or more logic volume(s) organized on a storage area provided by said storage device, information concerning performance of said logic volume, information concerning storage capacities of said logic volume, and information concerning the remaining capacities of said logic volume.

6. A method for controlling a storage system according to claim 1, further comprising:

storing in said first storage control apparatus access limit information concerning a storage device for which said second storage control apparatus executes data input/output processes; and

when said first storage control apparatus has received said first data input/output request, determining by said first storage control apparatus whether or not to transmit said second data input/output request corresponding to said first data input/output request to said second storage control apparatus, by contrasting the contents of said first data input/output request with said access limit information.

7. A method for controlling a storage system according to claim 6, further comprising:

transmitting by said second storage control apparatus said access limit information to said first storage control apparatus; and

receiving and storing said access limit information by said first storage control apparatus.

8. A method for controlling a storage system according to claim 6 or 7, wherein

organizing by said second storage control apparatus one or more logic volume(s) on a storage area provided by said storage device for which said second storage apparatus executes data input/output processes;

storing in said first storage control apparatus a correlation X between IDs given to each of said host computers and IDs of said logic volume(s) to which each of said host computers can make access; and

determining by said first storage control apparatus whether or not to transmit said second data input/output request to said second storage control apparatus, by contrasting said correlation X with a correlation between an ID of a host computer which is a requester, described in said first data input/output request and said logic volume which is the target of said data input/output process of said request described in said first data input/output request.

9. A method for controlling a storage system according to claim 1, wherein

said first storage control apparatus comprises:

a communication interface for connecting said first storage control apparatus to said first and said second communication paths;

a CPU for executing a data input/output process for said storage device in response to said first data input/output request; and

a cache memory for storing data input to/output from said storage device during said data input/output process.

10. A method for controlling a storage system according to claim 1, wherein

said second storage control apparatus comprises:

a communication interface for connecting said second storage control apparatus to said second communication path;

a CPU for executing a data input/output process for said storage device in response to said second data input/output request; and

a cache memory for storing data input to/output from said storage device during said data input/output process.

11. A method for controlling a storage system according to claim 1, said second communication path including a plurality of routes, comprising:

receiving by said first storage control apparatus information concerning said second communication path from a relay apparatus existing on said second communication path; and

based on said information concerning said second communication path, determining by said first storage control apparatus a route along which said second data input/output request is transmitted to said second storage control apparatus.

12. A method for controlling a storage system according to claim 11, wherein

the determination of the route is carried out based on at least any one of the conditions of performance, reliability and stability of the plurality of paths grasped based on the information concerning said second communication path.

13. A method for controlling a storage system according to claim 11, wherein

said relay apparatus is at least any one of a Fiber Channel switch, a Fiber Channel director, a Fiber Channel hub, an iSCSI router and an iSCSI switch.

14. A method for controlling a storage system according to claim 11, wherein

said information concerning said second communication path is at least one of network topology information and in-network node information conforming to the Fiber Channel standard, the SCSI standard or the iSCSI standard.

15. A method for controlling a storage system according to claim 1, said first and said second storage control apparatuses each organizing one or more logic volume(s) on a storage area provided by said storage device for which said first and said second storage control apparatuses execute respective data input/output processes, said second storage control apparatus having a second logic volume which is the target of data input/output processes executed by said second storage control apparatus, said second logic volume storing data of said first logic volume which is the target of data input/output processes executed by said first storage control apparatus, comprising:

receiving a data input/output request from said host computer and updating the contents of said first logic volume in response to said data input/output request received by said first storage control apparatus;

transmitting by said first storage control apparatus to said second storage control apparatus a data input/output request instructing said second logic volume on execution of a data update process corresponding to the updating;

receiving said data input/output request and updating the contents of said second logic volume in response to said data input/output request received, by said second storage control apparatus; and

storing in said first storage control apparatus information for grasping data not yet reflected on a logic volume of said second logic volumes among the data in said first logic volume.

16. A method for controlling a storage system according to claim 15, wherein said information for grasping data not yet reflected is information describing whether or not the data in said first logic volume is reflected on said second logic volume for each of zones defined on a storage area on said first logic volume.

17. A method for controlling a storage system according to claim 15 or 16, further comprising:

transmitting by said first storage control apparatus to said second storage control apparatus a data write-in request directed to said second logic volume concerning data not yet reflected on said second logic volume, that has been grasped from the information for grasping the data not yet reflected; and

receiving said data input/output request and executing for said second logic volume a write-in process corresponding to said data write-in request by said second storage control apparatus.

18. A method for controlling a storage system according to claim 1, said first and said second storage control apparatuses each organizing one or more logic volume(s) on a storage area provided by a storage device for which said first and said second storage control apparatuses execute respective data input/output processes, further comprising:

when writing new data to a first logic volume for which said first storage control apparatus executes data input/output processes, transmitting by said first storage control apparatus to said second storage control apparatus a data write-in request of old data stored in the area to write the new data prior to the writing;

by said second storage control apparatus, receiving said data write-in request and writing the old data to said second logic volume which is the target of data input/output processes executed by said second storage control apparatus;

transmitting by said second storage control apparatus to said first storage control apparatus the storage position of the old data in said second logic volume; and

storing in said first storage control apparatus the storage position of the new data in said first logic volume and the storage position of the transmitted old data in said second logic volume, correlating the two storage positions with each other.

19. A method for controlling a storage system according to claim 1, said first and said second storage control apparatuses each organizing one or more logic volume (s) on a storage area provided by a storage device for which said first and said second storage control apparatuses execute respective data input/output processes, further comprising:

when said first storage control apparatus has received from said host computer a data write-in request of new data to said first logic volume for which said first storage control apparatus executes data input/output processes, transmitting by said first storage control apparatus said data write-in request of the new data to said second storage control apparatus without writing the new data to said first logic volume;

by said second storage control apparatus, receiving said data input/output request and writing the new data to said second logic volume for which said second storage control apparatus executes data input/output processes;

transmitting by said second storage control apparatus to said first storage control apparatus the storage position of the new data in said second logic volume; and

storing in said first storage control apparatus the storage position in said first logic volume which is the write-in destination of the new data and the storage position in said second logic volume of the new data transmitted, correlating the two storage positions with each other.

20. A method for controlling a storage system according to claim 19, further comprising:

transmitting by said first storage control apparatus a read-out request concerning the new data to said second storage control apparatus;

receiving the read-out request and transmitting to said first storage control apparatus the new data stored in said second logic volume, by said second storage control apparatus; and

storing in said first storage control apparatus the new data at a storage position of the new data in said first logic volume specified by the correlation.

21. A method for controlling a storage system according to claim 19, said first storage control apparatus having a cache memory used for data write-in to said storage device corresponding to said first logic volume, further comprising:

when said first storage control apparatus has received said data write-in request of the new data from said host computer, storing in said first storage control apparatus the new data in said cache memory; and

storing in said first storage control apparatus the new data stored in said cache memory at a storage position in said first logic volume specified by the correlation.

22. A method for controlling a storage system according to claim 19, said first storage control apparatus having a cache memory used for data write-in to said storage device corresponding to said first logic volume, further comprising:

when said first storage control apparatus has received the data write-in request of the new data from said host computer, storing by said first storage control apparatus the new data in said cache memory;

checking by said first storage control apparatus whether or not the new data is stored in said cache memory;

if it is stored, instead of transmitting the read-out request, storing by said first storage control apparatus the new data stored in said cache memory at a storage position in said first logic volume specified by the correlation; and

if it is not stored, by said first storage control apparatus, transmitting the read-out request concerning the new data to said second storage control apparatus and storing the new data transmitted as a response to the read-out request at a storage position in said first logic volume specified by the correlation.

23. A method for controlling a storage system according to claim 21 or 22, further comprising:

determining by said first storage control apparatus whether or not to store the new data in said cache memory depending on the status of use of said cache memory.

24. A method for controlling a storage system according to claim 1, said first and said second storage control apparatuses each organizing a logic volume on a storage area provided by said storage device for which said first and said second storage control apparatuses execute respective data input/output processes, further comprising:

executing by said first storage control apparatus a program which uses said first logic volume for which said first storage control apparatus executes data input/output processes and said second logic volume for which said second storage control apparatus executes data input/output process;

allowing by said first storage control apparatus the program to recognize said first logic volume as a target of a first use and said second logic volume as a target of a second use;

allowing by said first storage control apparatus the program to recognize said first logic volume as the target of the second use and said second logic volume as the target of the first use at a timing when the contents of said first logic volume are identical to the contents of said second logic volume.

25. A method for controlling a storage system according to claim 24, further comprising:

providing by the program a function for storing also in the other logic volume a copy of data stored in one of the first logic volume and the second logic volume; and

allowing by the first storage control apparatus the program to recognize the logic volume recognized as the copy source as copy destination and the logic volume recognized as the copy destination as copy source.

26. A method for controlling a storage system according to claim 24, further comprising:

providing by the program a function for storing new data in the first logic volume and, simultaneously, storing in the second logic volume old data stored in the read-out target area; and

allowing by the first storage control apparatus the program to recognize the logic volume recognized as the storage destination of the new data as a storage destination of the old data and the logic volume recognized as the storage destination of the old data as the storage destination of the new data.

27. A method for controlling a storage system according to claim 1, the first and the second storage control apparatuses each organizing logic volumes on a storage area provided by the storage device for which the first and the second storage control apparatuses execute respective data input/output processes, further comprising:

when the first storage control apparatus has received from said host computer a data write-in request for the second logic volume, creating by the first storage control apparatus a check code concerning write-in data of the write-in request;

transmitting by the first storage control apparatus to the second storage control apparatus a data write-in request for the second volume concerning the check code created; and

when the first storage control apparatus has transmitted to the second storage control apparatus a data read-out request concerning the data in the second logic volume and has received from the second storage control apparatus data in response to the data read-out request transmitted, by the first storage control apparatus, receiving the check code concerning the data together with the response data and executing a process for confirming the validity of the data using the check code.

28. A method for controlling a storage system including a host computer, and a first and a second storage control apparatuses each having a function for receiving a data input/output request transmitted from the host computer and executing a data input/output process for a storage device in response to the data input/output request received, comprising:

connecting a first communication path between said host computer and said first storage control apparatus to each other;

connecting a second communication path between said first storage control apparatus and said second storage control apparatus to each other;

receiving by said first storage control apparatus a first data input/output request transmitted from said host computer through said first communication path;

by said first storage control apparatus, analyzing a first command contained in the first data input/output request and creating a second command that the second storage control apparatus can execute corresponding to the first command;

by said first storage control apparatus, creating a second data input/output request containing the second command and transmitting the second data input/output request to the second storage control apparatus; and

by said second storage control apparatus, receiving the second data input/output request and executing for the storage device a data input/output process corresponding to the second input/output request.

29. A method for controlling a storage system according to claim 28, further comprising:

storing in said first storage control apparatus information concerning an access limit to the storage device for which the second storage control apparatus executes data input/output processes, determined by analyzing the first command contained in the first data input/output request; and

when the first storage control apparatus has received the first data input/output request directed to the storage device for which the second storage control apparatus executes data input/output processes, executing by said first storage control apparatus a process concerning the access limit to the first data input/output request in response to the access limit information.

30. A method for controlling a storage system according to claim 28, further comprising:

by said first storage control apparatus, analyzing the first command contained in the first data input/output request and creating the second command which is a data read-out command that the second storage control apparatus can execute;

transmitting by said first storage control apparatus to the second storage control apparatus the second data input/output request in which the second command is set;

by said second storage control apparatus, receiving the second data input/output request, executing the second command described in the second data input/output request, and transmitting the read out data to the first storage control apparatus; and

by said first storage control apparatus, receiving the data and transmitting the data to a third storage control apparatus connected communicatively to the first storage control apparatus.

31. A method for controlling a storage system including a host computer, and a first and a second storage control apparatuses each having a function for receiving a data input/output request transmitted from the host computer and executing a data input/output process for a storage device in response to the data input/output request received, comprising:

connecting a first communication path between said host computer and said first storage control apparatus to each other;

connecting a second communication path between said first storage control apparatus and said second storage control apparatus to each other;

receiving by said first storage control apparatus a first data input/output request transmitted from the host computer through the first communication path;

judging by said first storage control apparatus whether a first command contained in the first data input/output request is a command that the second storage control apparatus can execute or not by analyzing the first command;

if the first storage control apparatus judges that the command is a command that the second storage control apparatus cannot execute, by said first storage control apparatus, creating a second command, that the second storage control apparatus can execute, corresponding to the command, creating a second data input/output request containing the created second command and transmitting the second data input/output request to the second storage control apparatus; and

by said second storage control apparatus, receiving the second data input/output request and executing for the storage device a data input/output process corresponding to the second data input/output request.

32. A transfer storage control apparatus in a storage system, said storage system including a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for receiving a first data input/output request transmitted from said host computer through said first communication path; and

means for transmitting to said ordinary storage control apparatus through said second communication path a second data input/output request corresponding to the first data input/output request when it is judged that the first data input/output request is not to be handled by said transfer storage control apparatus.

33. A transfer storage control apparatus according to claim 32, further comprising:

means for storing information concerning a storage device for which said ordinary storage control apparatus executes data input/output processes; and

means for determining whether or not to transmit the second data input/output request corresponding to the first data input/output request, to said ordinary storage control apparatus based on the information concerning said storage device.

34. A storage control apparatus according to claim 32 or 33, comprising:

means for storing access limit information concerning said storage device for which said ordinary storage control apparatus executes data input/output processes; and

means for determining whether or not to transmit the second data input/output request to said ordinary storage control apparatus based on the access limit information of the first data input/output request.

35. A transfer storage control apparatus in a storage system, said storage system including a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for organizing a first logic volume which is organized on a storage area provided by said storage device for which said transfer storage control apparatus executes data input/output processes;

means for transmitting to said ordinary storage control apparatus a data write-in request of old data stored in a write-in area for new data prior to writing of the new data when the new data is written in said first logic volume; and

means for receiving a storage position of the old data in a second logic volume which is organized on the storage area provided by said storage device for which said ordinary storage control apparatus executes data input/output processes, transmitted from said ordinary storage control apparatus, and for storing the storage position of the new data in said first logic volume and the storage position of the received old data in said second logic volume, correlating the two storage positions with each other.

36. A transfer storage control apparatus in a storage system, said storage system including a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for organizing a first logic volume which is organized on a storage area provided by said storage device for which said transfer storage control apparatus executes data input/output processes;

means for transmitting a data write-in request of new data to said ordinary storage control apparatus without writing the new data to said first logic volume when said transfer storage control apparatus has received from said host computer the data write-in request of the new data directed to said first logic volume for which said transfer storage control apparatus executes data input/output processes; and

means for receiving a storage position of the new data in a second logic volume which is organized on a storage area provided by a storage device for which said ordinary storage control apparatus executes data input/output processes, transmitted from said ordinary storage control apparatus, and for storing the storage position which is the write-in destination of the new data in said first logic volume and the storage position of the received new data in said second logic volume, correlating the two storage positions with each other.

37. A transfer storage control apparatus according to claim 36, further comprising:

means for transmitting a read-out request concerning the new data to said ordinary storage control apparatus; and

means for receiving the new data stored in said second logic volume transmitted from said ordinary storage control apparatus that has received the read-out request and for storing the new data at a storage position of the new data in said first logic volume specified from the correlation.

38. A transfer storage control apparatus according to claim 36, further comprising:

a cache memory which is utilized upon writing of data to said storage device corresponding-to said first logic volume;

means for storing the new data in said cache memory when a data write-in request of the new data is received from said host computer; and

means for storing the new data stored in said cache memory at a storage position in said first logic volume specified by the correlation.

39. A transfer storage control apparatus according to claim 36, further comprising:

a cache memory which is utilized upon writing of data to said storage device corresponding to said first logic volume;

means for storing the new data in said cache memory when a data write-in request of the new data is received from said host computer; and

means for checking whether the new data is stored in said cache memory or not and, if it is stored, storing the new data stored in said cache memory at a storage position in said first logic volume specified by the correlation without transmitting the read-out request, and, if it is not stored, transmitting a read-out request concerning the new data to said ordinary storage control apparatus and storing the new data transmitted as a response to the transmitted read-out request at a storage position in said first logic volume specified by the correlation.

40. A transfer storage control apparatus according to claim 38 or 39, further comprising:

means for determining whether or not to store the new data in said cache memory depending on the status of use of said cache memory.

41. A transfer storage control apparatus in a storage system, said storage system including a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for organizing a first logic volume which is organized on a storage area provided by said storage device for which said transfer storage control apparatus executes data input/output processes;

means for executing a program which utilizes said first logic volume and a second logic volume which is organized on a storage area provided by said storage device for which said ordinary storage control apparatus executes data input/output processes; and

means for allowing the program to recognize said first logic volume as the target of a second use and said second logic volume as the target of a first use at a timing when the contents of said first logic volume are identical to the contents of said second logic volume in cases where said first logic volume is recognized by the program as a target of the first use and said second logic volume is recognized by the program as the target of the second use.

42. A transfer storage control apparatus according to claim 41, the program provides a function for storing a copy of data stored in one of said first logic volume and said second logic volume in the other logic volume, further comprising:

means for allowing the program to recognize said logic volume recognized as the copy source as copy destination and said logic volume recognized as the copy destination as copy source.

43. A transfer storage control apparatus according to claim 41, the program providing a function for storing new data in said first logic volume and, simultaneously, storing in said second logic volume old data stored in the write-in target area, further comprising:

means for allowing the program to recognize said logic volume recognized as the storage destination of the new data as a storage destination of the old data and said logic volume recognized as the storage destination of the old data as the storage destination of the new data.

44. A transfer storage control apparatus in a storage system, said storage system including a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for organizing a first logic volume which is organized on a storage area provided by said storage device for which said transfer storage control apparatus executes data input/output processes;

means for creating a check code concerning a received write-in data when a data write-in request directed to a second logic volume has been received from said host computer;

means for transmitting to said ordinary storage control apparatus a data write-in request, concerning the created check code, directed to said second logic volume which is organized on a storage area provided by said storage device for which said ordinary storage control apparatus executes data input/output processes; and

means for transmitting to said ordinary storage control apparatus a data read-out request concerning data in said second logic volume, for receiving a check code concerning the data together with the response data when the data in response to the data read-out request transmitted has been received from said ordinary storage control apparatus, and for executing a process for confirming the validity of the data using the check code.

45. A transfer storage control apparatus in a storage system, said storage system including a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for receiving a first data input/output request transmitted from said host computer through said first communication path;

means for analyzing a first command contained in the first data input/output request and creating a second command that said ordinary storage control apparatus can execute, corresponding to the first command; and

means for creating a second data input/output request containing the second command and transmitting the second data input/output command to said ordinary storage control apparatus.

46. A transfer storage control apparatus according to claim 45, further comprising:

means for storing information concerning an access limit to said storage device for which said ordinary storage control apparatus executes data input/output processes, determined by analyzing the first command contained in the first data input/output request; and

means for executing a process concerning the access limit for the first data input/output request in response to the access limit information when the first data input/output request directed to said storage device for which said ordinary storage control apparatus executes data input/output processes has been received.

47. A transfer storage control apparatus according to claim 45, further comprising:

means for providing communicative connection with a third storage control apparatus;

means for analyzing the first command contained in the first data input/output request and creating a second command which is a data read-out command that said ordinary storage control apparatus can execute;

means for transmitting to said ordinary storage control apparatus a second data input/output request in which the second command is set; and

means for receiving the data transmitted by said ordinary storage control apparatus in response to the second data input/output request and transmitting the data to said third storage control apparatus.

48. A storage control apparatus comprising:

a host computer connected to said transfer storage control apparatus through a first communication path, an ordinary storage control apparatus connected to said transfer storage control apparatus through a second communication path, said transfer and ordinary storage control apparatuses having a function for receiving a data input/output request transmitted from said host computer and executing a data input/output process for a storage device in response to the data input/output request received respectively, said transfer storage control apparatus comprising:

means for receiving a first data input/output request transmitted from said host computer through said first communication path;

means for judging whether or not a first command is a command that said ordinary storage control apparatus can execute by analyzing the first command contained in the first data input/output request;

means for creating a second command, that said ordinary storage control apparatus can execute, corresponding to the command when it is judged that the command is a command that said ordinary storage control apparatus cannot execute; and

means for creating a second data input/output request containing the second command and transmitting the second data input/output request to said ordinary storage control apparatus.

Description

CROSS-REFERENCE TO RELATED APPLICATIONS

[0001]

The present application claims priorities upon Japanese Patent Application No. 2002-127058 filed on Apr. 26, 2002 and Japanese Patent Application No. 2002-333540 filed on Nov. 18, 2002, which are herein incorporated by reference.

BACKGROUND OF THE INVENTION

[0002]

1. Field of the Invention

[0003]

The present invention relates to a method for controlling a storage system and to a storage control apparatus.

[0004]

2. Description of the Related Art

[0005]

In recent years, the environment surrounding information systems is rapidly changing such as the progress of information technology (IT) and measures for the shift to broadband. Along with this, the rapid increase of the amount of data handled is a serious problem in various occasions.

[0006]

To deal with such an increase of the amount of data, storage systems operated in data centers are being subjected to larger capacities and higher performances of the storage control apparatuses such as disk array units. Therefore, for example, in data centers, introductions of and replacements with storage control apparatuses having higher performances and larger capacities are frequently carried out in order to respond to the rapid shift to larger capacities of storage control apparatuses.

[0007]

There are methods for introducing a storage control apparatus, such as the ones in which the operation using the old storage control apparatuses has been completely shifted to the operation using only the newly introduced storage control apparatuses, and the ones in which the operation is carried out where the old storage control apparatuses coexist with the newly introduced storage control apparatuses.

[0008]

As one of the former methods, there is a technology described in Japanese Patent Application Laid-open (Kokai) Publication No. Hei10-508967. In this method, all the data can be operated by the new storage control apparatuses having a higher performance and a larger capacity, however, effective use of the old storage control apparatuses cannot be facilitated.

[0009]

On the other hand, in one of the latter methods, the effective use of the old storage control apparatuses can be facilitated. However, the number of the storage control apparatuses directly connected to networks becomes necessarily increased because both of the new and the old storage control apparatuses coexist, and network structure information must be re-constructed because the new storage control apparatuses have been introduced to the existing-networks. Therefore, an increase in-management load imposed by the shift and the operation is inevitable.

SUMMARY OF THE INVENTION

[0010]

One object of the invention is to facilitate effective use of old storage control apparatuses when, for example, introducing new storage control apparatuses to an existing storage system.

[0011]

Another object of the invention is to facilitate the use of old storage control apparatuses without increasing the management load of the storage system after introducing new storage control apparatuses. Yet another object of the invention is, in that situation, to make specification changes and modifications to the old storage control apparatuses unnecessary or minimal.

[0012]

Further object of the invention is to enable the use of storage control apparatuses designed for being used directly connected to a host computer without any modification or with minimal necessary specification changes not only when introducing new storage control apparatuses to an existing storage system but also when operating a storage control apparatus which is connected to another storage control apparatus.

[0013]

In order to achieve the above and other objects, an aspect of the invention provides a method for controlling a storage system including a host computer, and a first and a second storage control apparatuses each having a function for receiving a data input/output request transmitted from the host computer and executing a data input/output process for a storage device in response to the data input/output request received, comprising:

[0014]

connecting a first communication path between the host computer and the first storage control apparatus to each other;

[0015]

connecting a second communication path between the first storage control apparatus and the second storage control apparatus to each other;

[0016]

receiving by the first storage control apparatus a first data input/output request transmitted from the host computer through the first communication path;

[0017]

when the first storage control apparatus has judged that the first data input/output request is not to be handled by the first storage control apparatus, transmitting by the first storage control apparatus a second data input/output request corresponding to the first data input/output request, to the second storage control apparatus through the second communication path; and

[0018]

by the second storage control apparatus, receiving the second data input/output request and executing a data input/output process corresponding to the second data input/output request received.

[0019]

Features and objects of the present invention other than the above will become clear by reading the description of the present specification with reference to the accompanying drawings.

BRIEF DESCRIPTION OF THE DRAWINGS

[0020]

For a more complete understanding of the present invention and the advantages thereof, reference is now made to the following description taken in conjunction with the accompanying drawings wherein:

[0021]

[0021]FIG. 1 shows the structure of a storage system according to one embodiment of the invention;

[0022]

[0022]FIG. 2 shows a structure information management table according to one embodiment of the invention;

[0023]

[0023]FIG. 3 shows a data format of a data input/output request transmitted from a host computer to a first storage control apparatus, according to one embodiment of the invention;

[0024]

[0024]FIG. 4 illustrates processes of the storage system according to one embodiment of the invention when the data input/output request transmitted from the host computer is a data write-in request;

[0025]

[0025]FIG. 5A and FIG. 5B respectively illustrates a concept of access limit process according to one embodiment of the invention;

[0026]

[0026]FIG. 6 illustrates processes of a storage system concerning its data copy function, according to one embodiment of the invention;

[0027]

[0027]FIG. 7 illustrates a snapshot function according to one embodiment of the invention;

[0028]

[0028]FIG. 8 illustrates a snapshot function according to one embodiment of the invention;

[0029]

[0029]FIG. 9 illustrates a mechanism for reflecting new data on a first logic volume, according to one embodiment of the invention;

[0030]

[0030]FIG. 10 illustrates a mechanism for reflecting the new data on the first logic volume, according to one embodiment of the invention;

[0031]

[0031]FIG. 11 illustrates a mechanism for reflecting the new data on the first logic volume, according to one embodiment of the invention;

[0032]

[0032]FIG. 12 shows a table for managing flags being related to cache addresses designating storage positions of the new data on a cache memory, according to one embodiment of the invention;

[0033]

[0033]FIG. 13 shows a table for managing the remaining amount of the cache memory, according to one embodiment of the invention;

[0034]

[0034]FIG. 14 illustrates a situation where the first logic volume is set as a copy source and a second logic volume is set as a copy destination, according to one embodiment of the invention;

[0035]

[0035]FIG. 15 illustrates a situation where the first logic volume is set as the copy destination and the second logic volume is set as the copy source, according to one embodiment of the invention;

[0036]

[0036]FIG. 16 illustrates a situation where the first logic volume is used for storing old data and the second logic volume is used for storing new data, according to one embodiment of the invention;

[0037]

[0037]FIG. 17 illustrates a situation where the first logic volume is used for storing the new data and the second logic volume is used for storing the old data, according to one embodiment of the invention;

[0038]

[0038]FIG. 18 illustrates a process concerning check codes, according to one embodiment of the invention;

[0039]

[0039]FIG. 19 shows a hardware structure of the first storage control apparatus and the second storage control apparatus, according to one embodiment of the invention;

[0040]

[0040]FIG. 20 shows the main functional blocks included in the first storage control apparatus and the second storage control apparatus, according to one embodiment of the invention;

[0041]

[0041]FIG. 21 illustrates a situation where an LUN of the second storage control apparatus is managed being mapped on the first storage control apparatus side, according to one embodiment of the invention;

[0042]

[0042]FIG. 22 illustrates an operation of the storage system when a data input/output request in which a special reservation command directed to a storage device of the second storage control apparatus is described is transmitted from the host computer to the first storage control apparatus, according to one embodiment of the invention;

[0043]

[0043]FIG. 23 shows an LU map information table, according to one embodiment of the invention;

[0044]

[0044]FIG. 24 shows a reservation information table according to one embodiment of the invention;

[0045]

[0045]FIG. 25 illustrates an operation of the storage system according to one embodiment of the invention when an E-copy command instructing to copy data in the second logic volume of the second storage control apparatus to a back-up device connected to a third storage control apparatus is transmitted from a host computer to the first storage control apparatus; and

[0046]

[0046]FIG. 26 shows a flowchart illustrating processes executed by the first storage control apparatus, according to one embodiment of the invention.

DESCRIPTION OF THE PREFERRED EMBODIMENTS

[0047]

At least the following facts will be revealed by the description herein and the illustration of the accompanying drawings.

[0048]

<Overview of Disclosure>

[0049]

In the above invention, each of the first and the second storage control apparatuses is, for example, a storage apparatus provided to a user as one product such as a disk array apparatus. More specifically, the first storage control apparatus has a communication interface for connecting it to the first and the second communication means, a CPU for executing a data input/output process for a disk drive in response to the first data input/output request and a cache memory for storing data input to/output from the disk drive during the data input/output process.

[0050]

The second storage control apparatus has a communication interface for connecting it to the second communication means, a CPU for executing a data input/output process for the storage device in response to the second data input/output request and a cache memory for storing data input to/output from the disk drive during the data input/output process.

[0051]

Each of the first and the second storage control apparatuses operates as one single disk array apparatus when they are introduced to a network such as, for example, SAN, and can respectively receive as one single apparatus the data input/output request transmitted from the host computer and can execute a data input/output process in response to the data input/output request, to a storage device such as an integrated or externally-connected disk drive.

[0052]

In the above structure, the first storage control apparatus and the second storage control apparatus are connected in series when seen from the host computer and, in this situation, the second storage control apparatus can be operated as an apparatus for extending the functions of, for example, the first storage control apparatus. This will be described more specifically. The first storage control apparatus receives from the host computer also a data input/output request directed to the second storage control apparatus as the first data input/output request in addition to a data input/output request directed to itself through the first communication path (corresponding to a first network described later) constituted of, for example, SAN. At this stage, if the received data input/output request is directed to the second storage control apparatus, the first storage control apparatus transmits the data input/output request to the second storage control apparatus through a second communication path (corresponding to a second network described later). That is, the first storage control apparatus functions as a relay apparatus between the host computer and the second storage control apparatus.

[0053]

The second data input/output request relayed by the first storage control apparatus to the second storage control apparatus can be arranged such that it is transmitted in a format or protocol as in the first data input/output request received by the first storage control apparatus from the host computer, or such that it is transmitted in a format or protocol that has been changed in the first storage control apparatus into that of the second storage control apparatus. When it is arranged that communications between the first storage control apparatus and the second storage control apparatus are carried out using SCSI command conforming to ANSI (American National Standards Institute) or a standardized or normalized format or protocol, no special specification is required as a part of the structure of the second storage control apparatus as far as the second storage control apparatus has a standard communication interface. Therefore, in a storage center such as, for example, an IDC (Internet Data Center), even when a change in operation has been carried out in which the first storage control apparatus has been introduced as a new-model disk array apparatus and the old disk array apparatus that has been used is used being connected in series to the first storage control apparatus, no special specification change or modification is required for the second storage control apparatus. When the second storage control apparatus is an optional block device (an apparatus for random accesses represented by a disk apparatus), the invention can be applied. That is, when the second storage control apparatus is a large-scale storage control apparatus having high-level control functions equivalent to those of the first storage control apparatus, i.e., an optical disk apparatus with a block access interface, the invention can be applied.

[0054]

It can be arranged that the first storage control apparatus stores information concerning a storage device for which the second storage control apparatus executes data input/output processes and the first storage control apparatus determines based on the stored information concerning the storage device whether it will transmit to the second storage control apparatus the second data input/output request corresponding to the first data input/output request.

[0055]

As the example of the information concerning the storage device, there is information described in structure information management table described later. As practical examples, there is management information of storage area of one or more logic volume(s) organized on a storage area provided by a storage device, information concerning the performance of the logic volume, information concerning storage capacities and information concerning remaining amounts.

[0056]

For example, when the first data input/output request is a data write-in request, the determination of whether to transmit the second data input/output request to the second storage control apparatus or not is carried out based on whether the data size of the data to be written in the logic volume of the second storage control apparatus in response to the data write-in request is within the range of the storage capacity of the logic volume. Furthermore, for example, when it has been determined that the data input/output request cannot be normally processed in the second storage control apparatus because, for example, the size of the data to be written in exceeds the capacity of the logic volume, the first storage control apparatus does not relay the second data input/output request to the second storage control apparatus.

[0057]

In this manner, since it is arranged that the first storage control apparatus executes the process that should be originally executed by the second storage control apparatus, taking the role of the second storage control apparatus, even in a structure in which the second storage control apparatus is connected in series to the first storage control apparatus as described above, no special mechanism is required to be provided to the second storage control apparatus. According to the above function, the logic volume in the second storage control apparatus is provided to the host computer as if the logic volume were a logic volume of the first storage control apparatus.

[0058]

It can be arranged that the first storage control apparatus stores access limit information concerning a storage device for which the second storage control apparatus executes data input/output processes, and the first storage control apparatus, when it has received the first data input/output request, determines by referring the contents of the received request to the access limit information whether to transmit to the second storage control apparatus the second data input/output request corresponding to the first data input/output request or not. There can be cases where the access limit information stored by the first storage control apparatus is, for example, registered from a management computer connected to the first storage control apparatus, or created and stored by the first storage control apparatus based on the received access limit information or the information as the basis of the access limit information that has been transmitted from the second storage control apparatus to the first storage control apparatus.

[0059]

More specifically, for example, it is arranged that, when the second storage control apparatus organizes one or more logic volume(s) on a storage area provided by the storage device for which the second storage control apparatus itself executes data input/output processes, the first storage control apparatus stores the correlation X between IDs given to each host computer and an ID of the logic volume to which the host computer can make access and the first storage control apparatus determines whether to transmit the second data input/output request to the second storage control apparatus by referring the correlation between the ID of the host computer that is the source of the request described in the first data input/output request and the logic volume to which a data input/output process of the request described in the first data input/output request is directed, to the correlation X.

[0060]

For example, in a storage system operated in an IDC, a storage control apparatus such as a disk array apparatus is not so rarely operated such that it carries out services to a plurality of host computers. In this case, each host computer often limits the storage control apparatuses that can access to that host computer. The access limit is generally carried out by, for example, managing the combinations such as port numbers or switch numbers of WWN or Fiber Channel switches such as zoning or LU masking when a host computer and storage control apparatuses are connected by SAN. In short, in this method, it is arranged that the first storage control apparatus executes the processes concerning the access limit taking the role of the second storage control apparatus when such access limit is required to be carried out between the host computer and a logic volume of the second storage control apparatus.

[0061]

It can be arranged that a plurality of routes are included in the second communication path, the first storage control apparatus receives information concerning the second communication path from a relay apparatus existing on the second communication path and the first storage control apparatus determines, based on the information, a route for transmitting the second data input/output request. The information concerning the second communication path is, for example, network topology information, information of nodes in the network etc. conforming to the Fiber Channel standard, the SCSI standard or the iSCSI standard. The relay apparatus is, for example, a Fiber Channel switch, a Fiber Channel director, a Fiber Channel hub, an iSCSI router, an iSCSI switch etc.

[0062]

The determination of the route is carried out based on at least any one of the conditions such as performance, reliability and stability of the plurality of paths grasped based on the information concerning the second communication path.

[0063]

It can also be arranged that each of the first and the second storage control apparatuses respectively organizes one or more logic volume(s) on a storage area provided by the storage device for which the first and the second storage control apparatuses execute respective data input/output processes, the second storage control apparatus has a second logic volume being the target of data input/output processes of the second storage control apparatus and storing data of the first logic volume being the target of data input/output processes of the first storage control apparatus, the first storage control apparatus receives a data input/output request from the host computer and updates the contents of the first logic volume in response to the received request, the first storage control apparatus transmits to the second storage control apparatus a data input/output request instructing to the second logic volume an execution of a data update process corresponding to the updating, the second storage control apparatus receives the data input/output request and updates the contents of the second logic volume in response to the received request, and the first storage control apparatus stores information for grasping data not yet reflected on a logic volume of the second logic volumes among the data in the first logic volume. The information for grasping data not yet reflected is, for example, information describing whether the data in the first logic volume is reflected on the second logic volume in units of area organized in zones on a storage area in the first logic volume.

[0064]

The information grasped in this manner is used, for example, in a case where updating to the second logic volume has been impossible due to a network failure etc., however, the failure has been recovered thereafter and data not yet reflected on the second logic volume is reflected. More specifically, for example, first, the first storage control apparatus transmits to the second storage control apparatus a data write-in request directed to the second logic volume concerning the data not yet reflected on the second volume, that has been grasped from the information for grasping the data not yet reflected, and the second storage control apparatus receives the data input/output request and executes to the second logic volume a write-in process corresponding to the data write-in request. In this manner, by arranging that the first storage control apparatus grasps the data not yet reflected on the second logic volume, it is not necessary to provide a special mechanism to the second storage control apparatus.

[0065]

It can be arranged that each of the first and the second storage control apparatuses organizes one or more logic volume(s) on a storage area provided by a storage device for which the first and the second storage control apparatuses execute respective data input/output processes, the first storage control apparatus, when it writes new data in a first logic volume for which the first storage control apparatus executes data input/output processes, has transmitted to the second storage control apparatus a data write-in request of the old data stored in the area for write-in of the new data before the write-in process is executed, the second storage control apparatus receives the data write-in request and writes the old data in the second logic volume being the target of data input/output processes of the second storage control apparatus, the second storage control apparatus transmits to the first storage control apparatus the storage position of the old data in the second logic volume, and the first storage control apparatus stores the storage position of the new data in the first logic volume and the storage position of the old data in the second logic volume transmitted as above, relating both of them to each other.

[0066]

A specific example for this method is, for example, a snapshot function described later. This function enables the data stored at a past time in the logic volume of the first storage control apparatus to be referred to. In this method, the data at a past time, i.e., the old data is stored in the logic volume of the second storage control apparatus.

[0067]

Furthermore, the first storage control apparatus stores information designating the storage position of the old data in the logic volume of the second storage control apparatus by relating the information to the storage position where the old data was stored in the logic volume of the first storage control apparatus. By utilizing this, the first storage control apparatus can provide to the host computer the old data corresponding to the read-out request when, for example, a read-out request for an old data stored in a certain storage position in the first logic volume has been issued from the host computer.

[0068]

It can be arranged that, when the first storage control apparatus has received from the host computer a data write-in request of new data for writing the new data to the first logic volume being the target of data input/output processes of the first storage control apparatus, the first storage control apparatus transmits to the second storage control apparatus the data write-in request of the new data without writing the new data to the first logic volume, the second storage control apparatus receives the data input/output request and writes the new data to a second logic volume being the target of data input/output processes of the second storage control apparatus, the second storage control apparatus transmits to the first storage control apparatus the storage position of the new data in the second logic volume, the first storage control apparatus stores the storage position of the old data in the first logic volume and the storage position in the second logic volume of the new data to be transmitted, relating both of them to each other. This method also relates to the snapshot function. However, in this method, being different from the former snapshot function, it is arranged that the old data is stored in the first storage control apparatus and the newest data in the logic volume of the first storage control apparatus is stored on the second storage control apparatus side.

[0069]

As described above, according to the invention, the second storage control apparatus can be effectively utilized when the system is operated such that it has a copy of data, and when services such as the snapshot are provided. Especially when a first storage control apparatus is introduced as a substituting apparatus for the second storage control apparatus, the old-type second storage control apparatus can be effectively utilized continuously after introducing the first storage control apparatus. Therefore, effects such as reduction of the operation load of the storage system and reduction of the operation costs can be obtained.

[0070]

<Overview of the System>

[0071]

[0071]FIG. 1 shows the structure of a storage system described as one embodiment of the invention. This storage system is operated in, for example, an IDC. In the figure, a first storage control apparatus 10 and the second storage control apparatus 20 are disk array apparatuses that operate storage devices such as, for example, disk drives, in RAID (Redundant Array of Inexpensive Disks) scheme, execute data input/output processes to the storage devices using a data input/output control unit 19 in response to data input/output requests such as data write-in requests and data read-out requests transmitted from a host computer 30, and function as data storage for the host computer 30. The first and the second storage control apparatuses 10, 20 may be sometimes also referred to as the “transfer storage control apparatus” and the “ordinary storage control apparatus,” respectively in the specification. It is simply to more clearly distinguish the first and the second storage control apparatuses without intended to give any specific interpretation.

[0072]

The host computer 30 is connected to the first storage control apparatus 10 through a first network 50 and the second storage control apparatus 20 is connected to the first storage control apparatus 10 through a second network 51. The first and the second networks are, for example, SANs (Storage Area Network) consisting of network devices conforming to the Fiber Channel. However, the networks are not limited to this but can be LANs (Local Area Network), general telephone lines, dedicated lines and networks of main frame system such as a protocol conforming to ESCON (Enterprise Systems CONnection) or FICON (Fiber CONnection).

[0073]

The first storage control apparatus 10 receives a data input/output request transmitted from the host computer 30 through the first network 50. The second storage control apparatus 20 receives the data input/output request from the first storage control apparatus 10 through the second network 51. The second storage control apparatus 20 can be an apparatus having an equivalent performance as or a higher performance than that of the first storage control apparatus 10, or can be an apparatus having a performance lower than that of the first storage control apparatus 10.

[0074]

As a case where the operation form shown in FIG. 1 is employed, there is, for example, a case where the operation of a storage system has been changed such that the first storage control apparatus 10 is newly introduced as a succeeding apparatus of the second storage control apparatus 20 to a storage system operated in a form in which the second storage control apparatus 20 is connected to the host computer 30, and the second storage control apparatus 20 functions as an apparatus for extending or supporting the functions of the first storage control apparatus 10.

[0075]

The basic apparatus structure of the first storage control apparatus 10 will be described. The first storage control apparatus 10 is mounted with a storage apparatus 60 with one or more disk drive(s), as a storage device for providing a data storage area. The storage apparatus 60 can be structured such that it is connected to outside of the housing through, for example, a communication line conforming to the SCSI standard. As described above, the disk drive(s) are operated in RAID scheme, for example.

[0076]

The first storage control apparatus 10 organizes one or more logic volume(s) 11 (hereinafter referred to as “logic volume”) on a storage area provided by one or more disk drive(s). Each logic volume 11 is respectively given a specific identifier (hereinafter referred to as “LUN (logical unit number)”). A LUN for designating a data storage area is described in a data input/output request transmitted by the host computer 30 to the first storage control apparatus 10. The first storage control apparatus 10 has a function for providing a storage area to the host computer 30 by a LUN designation.

[0077]

A microprocessor 12 (hereinafter referred to as “MP”) executes the various processes of the first storage control apparatus 10 such as, for example, data input/output processes to the disk drive(s). MP 12 consists of one or more CPU(s). A microprocessor specialized in certain functions can be provided as MP 12. A cache memory 13 is mainly used for storing temporarily data input to/output from the disk drive(s) such as write-in data to the disk drive(s) and read-out data from the disk drive(s).

[0078]

A control memory 14 is, for example, utilized as a working area for MP 12 or is used for storing various control data and tables. For example, a structure information management table 41 described later, a bit map 42, an access limit information table 43, an update management table 44 etc. are usually stored in this control memory 14.

[0079]

An external interface 15 is a Fiber Channel interface. The external interface 15 connects the first storage control apparatus 10 to the first network 50 or the second network 51. The external interface 15 is provided with a plurality of ports 16 connected to ports of a Fiber Channel switch constituting a SAN. As is known in the field of the Fiber Channel, a WWN (world wide name) being an identifier for identifying an apparatus on a SAN is given to each port 16 of the external interface 15. The storage apparatus 60 is connected to the first storage control apparatus 10 through a device port 19 of a device interface 18.

[0080]

The first storage control apparatus 10 has been described as above and the second storage control apparatus 20 also has a same structure as the first storage control apparatus 10 concerning the basic structure except the performance and the size of each component contained.

[0081]

On the other hand, the host computer 30 is, for example, a personal computer, a work station or a general-purpose computer and is provided with a HBA (Host Bus Adapter) (not shown) being a Fiber Channel interface that is an interface for connecting to the first network 50. A WWN is also given to an HBA.

[0082]

<Structure Information Management Table>

[0083]

The second storage control apparatus 20 provides to the first storage control apparatus 10 its own logic volume as a logic volume of the first storage control apparatus 10. To realize this function, the first storage control apparatus 10 stores the structure information management table 41 shown in FIG. 2.

[0084]

In this structure information management table 41, information concerning a logic volume handled by the first storage control apparatus 10 is described. In the structure information management table 41, information concerning not only the logic volume for which the first storage control apparatus 10 executes data input/output processes (hereinafter referred to as “first logic volume”) but also the logic volume for which the second storage control apparatus 20 executes data input/output processes (hereinafter referred to as “second logic volume”) is described (In FIG. 2, only the information concerning the second logic volume 21 is shown).

[0085]

In FIG. 2, the port IDs of external interfaces connected to the logic volumes are described in a column 210 for port ID. The WWNs corresponding to the port IDs are described in a column 211 for WWN. The LUNs for each logic volume are described in a column 212 for LUN. The capacities of storage are as provided by the first and the second logic volume 11 and 21 are described in a column 213 for capacity.

[0086]

Identifiers of the second logic volume related to their ports and LUNs are described in a column 214 for mapping LUN. That is, when a description exists in the column for mapping LUN, that means the logic volume is the second logic volume 21, therefore, other logic volumes are the first logic volumes 11.

[0087]

The contents of the structure information management table 41 is, for example, registered by an operator from a management computer (not shown) etc. connected to the first storage control apparatus 10 and the first storage control apparatus 10 has an information collection function (discovery function) described later. With this function, the first storage control apparatus 10 detects an apparatus connected to the second network 51 through the second network 51, transmits to the detected apparatus a transmission request of the information concerning the logic volumes of the detected apparatus, receives information transmitted as per the request and registers the information in the structure information management table 41.

[0088]

The apparatus being the destination of the information for the apparatus exists on the second network 51 can be otherwise predetermined fixedly. Various settings for the conditions are possible such that only the products from a certain manufacturer are targeted by checking the model number of the apparatuses, that only the logic volumes having capacities-more than a certain capacity are targeted and that only the logic volumes connected to a predetermined port are targeted.

[0089]

The first storage control apparatus 10 provides to the host computer 30 the second logic volume 21 of the second storage control apparatus 20 as if it were the first logic volume 11 of the first storage control apparatus 10, using the structure information management table 41 described above and in a mechanism described later. That is, the host computer 30 can execute to the first storage control apparatus 10 a data input/output request directed to the logic volume 21 of the second storage control apparatus 20.

[0090]

Since the first storage control apparatus 10 stores the structure information management table 41 as described above, the first storage control apparatus 10 can transmit a response by a proper response message to the host computer 30 not only when a data input/output request has been transmitted from the host computer 30 but also even when, for example, commands such as “Inquiry” or “Read Capacity” has been transmitted from the host computer 30 directed to the second logic volume 21.

[0091]

<Data Input/Output Process>

[0092]

Next, the operation of the storage system in a case where a data input/output request is issued from the host computer 30 to the first storage control apparatus 10 through the first network 50 directed to the first logic volume 11 or the second logic volume 21 will be described.

[0093]

[0093]FIG. 3 shows an example of the data format of a data input/output request transmitted from the host computer 30 to the first storage control apparatus 10. In this figure, the column 310 for host ID shows an identifier of the host computer 30 having transmitted the data input/output request and, for example, the WWN of the HBA of the host computer 30 is described in it. The column 311 for port ID shows the port ID of a port connected to the logic volumes 11 and 21 that are the targets of process of the data input/output request. The column 312 for LUN shows the ID of a logic volume being the target of the process of the data input/output request. A column 313 for address and a column 314 for data length are set when, for example, the data input/output request is a data read-out request and, in this case, the head address containing the data of read-out source of the logic volumes 11 and 21 being the read-out sources is set in the column 313 for address and the data length of the data being the target of the read-out process is set in the column 314 for data length.

[0094]

A process of the storage system for the case where the data input/output request transmitted from the host computer 30 is a data write-in request will be described with FIG. 4. First, the first storage control apparatus 10 receives a data write-in request from the host computer 30 through the first network 50 (S412) and stores in the cache memory 13 write-in target data received with the data write-in request (S413).

[0095]

Next, the first storage control apparatus 10 refers to the structure information management table 41 to judge whether the data write-in request can be executed or not. The case where it can not be executed is, for example, that the logic volume being the target of the process of data input/output request does not exist or that, even when the logic volume exists, the size of the data being the target of the write-in process exceeds the size of the storage area of the logic volume.

[0096]

The first storage control apparatus 10 checks referring to the structure information management table 41 whether the logic volume being the target of the process really exists, or whether the logic volume being the write-in destination has an enough capacity for being written the data to be written in by the data write-in request and judges whether a data input/output request corresponding to the data input/output request can be executed (S414). At this stage, if the first storage control apparatus 10 judges the data input/output request cannot be executed as a result of this judgment, it transmits to the host computer 30 a message in which that judgment is described and completes the process corresponding to the data input/output request (S415 in FIG. 4).

[0097]

Furthermore, the first storage control apparatus 10 stores in the control memory 14 the access limit information table 43 in which the combinations of the port ID or WWN of the host computer 30 of the request source of the data input/output request, the first logic volume 11 or the second logic volume 21 to be the request target of the data input/output request and access type (read-out/write-in) are registered. There are cases where the contents of this access limit information table 43 is registered by an operator from a management computer (not shown) etc. connected to the first storage control apparatus 10, where the first storage control apparatus 10 receives the access limit information or information being the basis of that information, transmitted from the second storage control apparatus 20 and the first storage control apparatus 10 creates and stores the contents based on that information. The latter operation can be carried out, for example, when the second storage control apparatus 20 itself has a mechanism concerning an access limit function for the logic volume 21 of the second storage control apparatus 20.

[0098]

The first storage control apparatus 10 executes an access limit process that is a process for checking whether the combination of the ID of the port having received the data input/output request or WWN of the host computer 30 being the source described in the data input/output request, and the port ID of the first logic volume 11 or the second logic volume 21 designated in the data input/output request as the write-in destination matches the authorized access conditions (S416).

[0099]

The concept of an access limit process is shown in FIG. 5A. The first storage control apparatus 10 checks whether the data input/output request from the host computer 30 matches the access limit in the access limit information table 43 and, if they do not match to each other, does not execute any process corresponding to the data input/output request, transmits a message in which the result is described and completes the process corresponding to the data input/output request (S415).

[0100]

The above processes concerning the access limit are executed not only when the logic volume being the target of the process of the data input/output request is the first logic volume 11 but also when the logic volume being the target is the second logic volume 21. That is, the first storage control apparatus 10 substitutes in carrying out a research of the access limit to the second logic volume 21.

[0101]

On the other hand, as shown in FIG. 5B, when seen from the host computer, there is no distinction whether the logic volume being the target of a data input/output request belongs to the first storage control apparatus 10 or to the second storage control apparatus 20. The host computer 30 simply grasps whether a logic volume existing on the network is accessible or not accessible.

[0102]

As a result of the above processes, when the logic volume being the target of the process of the data input/output request has been judged to be possible to be written in (that is, the logic volume exists, its capacity is large enough and its access limit has no problem), the first storage control apparatus 10 transmits a data write-in request to the second storage control apparatus 20 (S417). The second storage control apparatus 20 receives this data write-in request and writes the write-in data in the second logic volume 21.

[0103]

The data write-in request in this case conforms to the same protocol (for example, the data format is same) as that of the data write-in request directly received from the host computer 30 by the second storage control apparatus 20. Therefore, when the operation of the second storage control apparatus 20 is changed, because the first storage control apparatus 10 is newly introduced, such that the second storage control apparatus 20 functions as an apparatus for providing logic volumes to the first storage control apparatus 10, there is no need to carry out any change or modification especially for the apparatus structure and specification of the second storage control apparatus 20. Therefore, an effective use of the second storage control apparatus 20 becomes possible with the minimal effort and at a low cost.

[0104]

The access limit function of the first storage control apparatus 10 described above can be applied in various environments such as the case where the second storage control apparatus 20 does not have any access limit function and the first storage control apparatus 10 dedicatedly support the access limit function of the second storage control apparatus 20 in addition to the case where the second storage control apparatus 20 originally has a function concerning the access limit.

[0105]

The first storage control apparatus 10, when having transmitted a data input/output request to the second storage control apparatus 20, transmits to the host computer 30 a message to communicate the completion of the write-in process without waiting for the completion notice of the process of the data input/output request from the second storage control apparatus 20 (S415). Therefore, the host computer 30 can confirm quickly the response to the data input/output request and can start the following process quickly without a long waiting time.

[0106]

A write-in process has been described as above. However, in the case of a read-out process from a logic volume, the process is also executed in a same mechanism except that data is transferred in the opposite direction in contrast to the above case for a write-in process. For data input/output requests except the ones for write-in and read-out processes, the first storage control apparatus 10 returns responses as usual to the host computer 30.

[0107]

As described above, in the storage system, the host computer 30 accesses the second logic volume as if it were a logic volume in the first storage control apparatus 10. Furthermore, even when the logic volume being the target of a data input/output request is originally for the second storage control apparatus 20, the management load and the management cost for security can be minimized since the judgment of whether a data input/output request can be normally processed and management of access right setting etc. can be carried out concentrated and intensively in the first storage control apparatus 10. Furthermore, by executing the processes to be executed by the second storage control apparatus 20 using the first storage control apparatus 10, the process load on the second storage control apparatus 20 side can be reduced.

[0108]

<Data Copy Function>

[0109]

Next, a data copy function executed in this storage system will be described. The function described in this section is utilized for realizing functions such as, for example, data replication or data mirroring and is a function that works such that the second-storage control apparatus 20 also has a logic volume having the same contents as that of a logic volume of the first storage control apparatus 10.

[0110]

The first logic volume 11 being the copy source and the second logic volume 21 being the copy destination can be provided in a relation of 1:N in addition to in a relation of 1:1. The case where they are provided in the relation of 1:1 will be described as an example for simplification of description. However, even in the case where they are provided in the relation of 1:N, the basic process can be executed similarly simply because a plurality of relations of 1:1 exist.

[0111]

In order to realize the data copy function, for example, a mechanism for managing the difference of the contents between the first logic volume 11 and the second logic volume 21 is necessary as a preparation for the case where a communication failure occurs on the second network 51. As this mechanism, the one in which a bit map where a bit is related to each block or block group organized in zones in the storage area of a logic volume of the first storage control apparatus 10 is prepared and every bit for which a difference is generated between those logic volumes is made “on” is known.

[0112]

[0112]FIG. 6 illustrates processes of the storage system concerning the data copy function. When the first storage control apparatus 10 has received from the host computer 30 a data write-in request to the logic volume being the copy source (S611), it stores the received request in its own cache memory 13 (S612). The first storage control apparatus 10 transmits a write-in process completion report to the host computer 30 at the moment when the write-in data has been stored in the cache memory 13 (613).

[0113]

When the first storage control apparatus 10 has transmitted the write-in process completion report to the host computer 30, it makes on the bits corresponding to the update address of the logic volume being the write-in destination of this write-in process in the bit map 42 (S614).

[0114]

Next, the first storage control apparatus 10 starts the process for matching the contents of the logic volumes 11 and 21 being the copy source and the copy destination with each other at a proper timing such as the time when an instruction has been issued from a management computer (not shown).

[0115]

First, the first storage control apparatus 10 refers to the bit map 42 and transmits to the second storage control apparatus 20 a write-in request of the data stored in a storage area of the logic volume 11 of the copy source corresponding to blocks or block groups that have discord in contents, i.e., that the bit is on (S615).

[0116]

When the second storage control apparatus 20 has received the data write-in request and the write-in data, it writes the received write-in data to the targeted storage area of the second logic volume 21 being the copy destination and transmits to the first storage control apparatus 10 a write-in completion report (S616).

[0117]

At the moment when the first storage control apparatus 10 receives the data write-in completion report from the second storage control apparatus 20, the first storage control apparatus 10 sets off the bit of the bit map 42 corresponding to the storage area of the data written in the copy destination (S617). That is, the contents of the bit map 42 is managed at real time such that only the bits corresponding to the storage area where the contents of the first logic volume 11 and the second logic volume 21 are different. In this manner, the contents of the logic volumes being the copy source and the copy destination are synchronized with each other.

[0118]

It is not necessary that the storage capacities of the logic volumes being the copy source and the copy destination are always same. In the case where the logic volumes being the copy source and the copy destination are different as described above, for example, addresses are converted and stored in another volume, or the data size is reduced using a compression process and is stored.

[0119]

In the above description, the first logic volume 11 is the copy source and the second logic volume 21 is the copy destination. However, in contrast to this, it may be structured that the copy source is the second logic volume 21 and the copy destination is the first logic volume 11.

[0120]

<Re-Synchronization Process>

[0121]

Next, a re-synchronization process executed for the case where the contents of the first logic volume 11 and the second logic volume 21 are different due to a failure of the second storage control apparatus 20 or the second network 51, etc. And, thereafter, the failure is recovered and it is possible to synchronize the contents of the logic volumes 11 and 21.

[0122]

The first storage control apparatus 10 detects a failure of the second network 51 by, for example, a time-out of communication between the first and the second storage control apparatuses 10 and 20. The difference of the contents can be caused not only by the failure of the second network 51 but also by operations of a user such as back-up process and application tests.

[0123]

First, the processes for the case where the first storage control apparatus 10 detects a failure of the second network 51 will be described. When the first storage control apparatus 10 has detected a failure, it switches the operation from the normal operation condition described above to a separated condition (S621) and stops a transmission process to the second storage control apparatus 20 of a data write-in request about update finite difference data. As to a write-in process to the first logic volume 11, the processes from (S611) to (S614) are executed (S622). Therefore, the bits on the bit map corresponding to the blocks or block groups updated during the separated condition are set to on and the difference between the first logic volume 11 and the second logic volume 21 is managed.

[0124]

Next, when the failure has been recovered and the second logic volume 21 becomes available, first, the first storage control apparatus 10 transmits to the second storage control apparatus 20 a data write-in request directed to the second logic volume 21 about the data stored in a storage area of the first logic volume 11 corresponding to the blocks or block groups of which the bit in the bit map 42 is on.

[0125]

When the second storage control apparatus 20 has received the data write-in request, it writes the write-in data received with the request to a storage area corresponding to a targeted logic volume. In this write-in process, for example, when the system is operated such that the data stored in a storage area of a certain address in the logic volume 11 being the copy source is stored in a storage area designated by the same address in the logic volume 21 being the copy destination, the data is stored in a storage area of the second logic volume 21 designated by the same address as the address in the first logic volume 11 where the data has been stored (S623).

[0126]

In the above processes, it is arranged that the first storage control apparatus 10 transmits to the second storage control apparatus 20 only the data stored in the updated storage area. Therefore, the amount of the data transmitted to the second network 51 can be almost minimized. When the re-synchronization process of the contents of those logic volumes has been completed in this manner, the first storage control apparatus 10 re-starts the transmission of the data write-in request of the updated finite difference data.

[0127]

The above processes are on the premise that the update of the logic volume 21 being the copy destination is not executed as far as the logic volume 11 being the copy source has not been updated. However, an update of the logic volume 11 being the copy destination may have been executed before an update of the logic volume 21 being the copy source is executed depending on a form of use of the storage system. In this case, the contents of those logic volumes cannot be re-synchronized using the bit map 42 and the re-synchronization process is executed, for example, in a manner in which all the data in the logic volume 11 of the first storage control apparatus 10 is transferred to the logic volume 21 of the second storage control apparatus 20.

[0128]

It can be arranged that the update situation of the second logic volume 21 is managed by managing a bit map concerning the second logic volume 21. In this case, the bit map is stored, for example, in the control memory 14 of the first storage control apparatus 10, in a control memory (not shown) of the second storage control apparatus 20 or in the logic volume 21. Furthermore, in this case, re-synchronization can be executed by, for example, transferring the data stored in blocks or block groups that have been updated from the first logic volume 11 and writing it to the second logic volume 21.

[0129]

<Snapshot>

[0130]

(1) Snapshot function 1

[0131]

Next, snapshot function will be described. This function enables the data stored in a logic volume at a past time designated by a user to be obtained. Whether the snapshot function is operated or not can be set for each logic volume.

[0132]

The case where the first storage control apparatus 10 operates the snapshot function for the first logic volume 11 will be described. The snapshot function described here is a function that stores in the second logic volume 21 old data stored in a storage area of the first logic volume 10 being the target of a write-in process and enables old data to be utilized afterward, for example, from the host computer 30 when a write-in process has been executed to the first logic volume with new data.

[0133]

[0133]FIG. 7 illustrates the snapshot function in the storage system. In this process, a logic volume 21 for storing the old data for the snapshot function has been secured in the second storage control apparatus 20. In this case, the structure can be arranged that one logic volume 21 is shared for the snapshot for a plurality of the first logic volume 11 of the first storage control apparatus 10.

[0134]

The first storage control apparatus 10 stores in the control memory 14 the update management table 44 in which the correlation is registered between addresses designating the storage area where writing has been effected among the storage areas of the first logic volume 11 and addresses of the second logic volume 21 which is a refuge for the old data stored in that storage area.

[0135]

The mechanism for realizing the snapshot function will be described. First, when the first storage control apparatus 10 has received a data write-in request directed to the first logic volume 11 transmitted from the host computer 30 (S711), the first storage control apparatus 10 stores in the cache memory 13 the write-in data (new data) received with the data write-in request (S712).

[0136]

Next, the first storage control apparatus 10 reads out the data already stored in the storage area of the first logic volume 11 being the destination of the data write-in process (old data) being the target of this data write-in process and stores the old data in the cache memory 13 (S713). Thereafter, the first storage control apparatus 10 writes the write-in data received from the host computer 30 (new data) in the storage area (S714).

[0137]

The first storage control apparatus 10 transmits a write-in completion report to the host computer 30 at the moment when it has stored the write-in data in the cache memory 13. Therefore, the real write-in process of the write-in data in the first logic volume 11 may be executed after the write-in completion report has been transmitted.

[0138]

Next, the first storage control apparatus 10 transmits the old data stored in the cache memory 13 to the second storage control apparatus 20. When the second storage control apparatus 20 has received the old data, the second storage control apparatus 20 stores the data in the second logic volume 21. At this stage, the second storage control apparatus 20 transmits the storage position of the second logic volume 21 where the old data is stored with an address indicating the original storage position in the logic volume 11 of the first storage control apparatus 10 where the old data has been stored (this address is received from the first storage control apparatus 10 with, for example, the write-in data). On the other hand, the first storage control apparatus 10 receives the transmitted storage position and stores it in the update management table 44 of the control memory 14 (S715). As described above, the old data (hereinafter referred to as “snapshot”) is stored in the second logic volume 21 of the second storage control apparatus 20.

[0139]

When, for example, the first storage control apparatus 10 has received from the host computer 30 a data read-out request for the first logic volume 11 being the target of creating a snapshot, the first storage control apparatus 10 executes a read-out process by an ordinary process from the first logic volume 11 of the first storage control apparatus 10 and transmits the read out data to the host computer 30.

[0140]

On one hand, when, for example, the first storage control apparatus 10 has received from the host computer 30 a data read-out request for the old data of the logic volume 11 and an area corresponding to the storage area designated by the read-out request is stored in the update management table 44, the first storage control apparatus 10 transmits to the second storage control apparatus 20 a read-out request of the targeted data from the second logic volume 21. The second storage control apparatus 20, in response to this, transmits the targeted old data to the first storage control apparatus 10. Then, the first storage control apparatus 10 receives the transmitted old data and transmits it to the host computer 30.

[0141]

On the other hand, when the storage area designated by the read-out request is not stored in the update management table 44, the first storage control apparatus 10 reads out the targeted data from the first logic volume 11 of the first storage control apparatus 10 and transmits it to the host computer 30.

[0142]

(2) Snapshot function 2

[0143]

Next, another method for realizing the snapshot function will be described referring to FIG. 8.

[0144]

In this method, when a data write-in request for the first logic volume 11 of the first storage control apparatus 10 has been transmitted from the host computer 30, the first storage control apparatus 10 writes write-in data (new data) to the second logic volume 21 of the second storage control apparatus 20 without executing any update of the first logic volume 11 itself. That is, different from the above-described method, in an ordinary write-in process, new data to be originally written in the first logic volume 11 is not written to the first logic volume 11 and the old data is kept stored as it is in the first logic volume 11 and the new data is stored in the second logic volume 21.

[0145]

In this method, a data write-in request for the first logic volume 11 of the first storage control apparatus 10 has been transmitted from the host computer 30 and, when the first storage control apparatus 10 has received the data write-in request (S811), it stores in the cache memory 13 the write-in data (new data) transmitted with the data write-in request (S812).

[0146]

Next, the first storage control apparatus 10 transmits to the second storage control apparatus 20 the new data stored in the cache memory 13 and a data write-in request for the new data. Then, the second storage control apparatus 20 having received this stores the new data in the second logic volume 21.

[0147]

For the above case, as the addresses designating the storage area in the second logic volume 21 of the new data, there is, for example, an address where no new data has been stored yet is designated. This address is transmitted from the second storage control apparatus 20 to the first storage control apparatus 10 and the first storage control apparatus 10 stores the address in the update management table 44 relating it to an address designated as a write-in destination of the data write-in request. (S813). This relating is carried out by, for example, exchanging between the first storage control apparatus 10 and the second storage control apparatus 20 the information necessary for the relating.

[0148]

In a case where a snapshot is created as described above, when a data read-out request is issued from the host computer 30, the first storage control apparatus 10 first checks the update management table 44. Then, if the address of the read-out destination designated by the read-out request is not contained in the update management table 44, the first storage control apparatus 10 reads out the targeted data from the first logic volume 11 and transmits the data to the host computer 30.

[0149]

On the other hand, if the address of the read-out destination is contained in the update management table 44, the first storage control apparatus 10 transmits to the second storage control apparatus 20 a read-our request for the data at the address of the second logic volume of the second storage control apparatus 20 stored in the update management table 44 being related to the address.

[0150]

When the second storage control apparatus 20 has received the read-out request, the second storage control apparatus 20 reads out the data from the second logic volume 21 and transmits the data to the first storage control apparatus 10. When the first storage control apparatus 10 has received the data, it transmits the data to the host computer 30 (S814).

[0151]

When, for example, the first storage control apparatus 10 has received from the host computer 30 a data read-out request for the old data of a certain first logic volume 11, and the storage area designated by the read-out request is stored in the update management table 44, the first storage control apparatus 10 reads out the data from the logic volume 11 of the first storage control apparatus 10 and transmits the data to the host computer 30.

[0152]

In the above description, it is arranged that the update management table 44 is stored in the control memory 14 of the first storage control apparatus 10, however, it can also be arranged that the update management table 44 is stored in a control memory (not shown) of the second storage control apparatus 20, the second logic volume 21 or another logic volume 21 in the second storage control apparatus 20. When it is arranged as described above, the snapshot function can be realized without providing any special mechanism to the second storage control apparatus 20.

[0153]

(3) Reflecting of New Data

[0154]

When the snapshot function 2 described above operates, the new data is not reflected on the first logic volume 11. However, there are times when old data becomes not necessary to be stored in the first logic volume 11 and new data stored in the second logic volume 21 is required to be reflected on the first logic volume 11 such as when, for example, the old data of the first logic volume 11 has finished its role due to the completion of user's work. Furthermore there are times when new data is required on the first logic volume 11 at a timing regularly or not regularly since the storage area of the second logic volume 21 is decreased by new data stored one after another in the second logic volume 21. Then, a mechanism for reflecting new data on the first logic volume 11 for these cases will be described.

[0155]

The description will be given referring to FIG. 9. First, a read-out request of new data is transmitted from the first storage control apparatus 10 to the second storage control apparatus 20 (S911). In this read-out request, information concerning the storage position of the new data in the second logic volume 21 is contained.

[0156]

When the second storage control apparatus 20 has received the read-out request, the second storage control apparatus 20 reads out from the second logic volume 21 the new data stored in the storage position identified from the information and transmits the new data to the first storage control apparatus 10.

[0157]

When the first storage control apparatus 10 has received the new data, the first storage control apparatus 10 stores the new data in the cache memory 13 (S912) and writes the new data in the storage position of the first logic volume 11 specified by the update management table 44 (i.e., the storage position in the first logic volume 11, where the new data should originally be stored, designated in the data write-in request transmitted from the host computer 30) (S913).

[0158]

The new data is reflected on the first logic volume 11 by the above mechanism. As to new data, it can also be arranged that all the new data stored in the second logic volume 21 are reflected on the first logic volume 11 simultaneously at a certain timing, or that only the specific new data selected based on the conditions such as whether the time at which the new data was stored in the second logic volume 21 is before a predetermined time is reflected or not.

[0159]

New data can be reflected on the first logic volume by the above mechanism for the cases where the old data in the first logic volume finishes its role due to the completion of user's work, or where storage area of the second logic volume is required to be released.

[0160]

In the above mechanism, though the first storage control apparatus 10 stores once the new data in the cache memory 13 of the first storage control apparatus 10 itself at the timing when the first storage control apparatus 10 has received a data write-in request from the host computer 30 (for example, (S813) in FIG. 8), the new data is read out from the second storage control apparatus 20 and is transmitted to the first storage control apparatus 10 when the new data is reflected on the first logic volume 11. However, this increases the traffic on the second network 51 in vain.

[0161]

Then, as shown in FIG. 10, it can be arranged that, for example, when the first storage control apparatus 10 has received the data write-in request, it keeps the new data temporarily stored in the cache memory 13 stored as it is and, when it tries to get the new data reflected on the first logic volume 11, as shown in FIG. 11, it writes the new data stored in the cache memory 13 to the first logic volume 11 without reading out the new data from the second logic volume 21 (S1111).

[0162]

In this case, whether the new data is kept stored in the cache memory 13 or not is managed by, for example, as shown in the table 1200 in FIG. 12, ON or OFF of a flag being related to the cache address designating a storage position of the new data on the cache memory.

[0163]

In this mechanism, the storage area of the cache memory 13 tends to decrease due to the new data kept stored. Therefore, it can also be arranged that, when the first storage control apparatus 10 has received a data write-in request from the host computer 30, whether the new data is kept stored in the cache memory 13 or not is determined depending on the use status such as the remaining amount of the storage area of the cache memory 13. As shown in the table 1300 in FIG. 13, the remaining amount of the cache memory 13 is grasped by managing the remaining amount of the cache memory 13. When the new data is reflected on the first logic volume 11, if, for example, the new data is stored in the cache memory 13, this new data is utilized, and if it is not, the new data is obtained from the second logic volume 21.

[0164]

It can be arranged that, when the new data is reflected on the first logic volume 11, whether the new data is stored in the cache memory 13 is checked and, if it is stored, the read-out request is not transmitted and the new data stored in the cache memory 13 is stored at a storage position in the first logic volume 11 corresponding to the new data and, if it is not stored, a read-out request for the new data is transmitted to the second storage control apparatus 20 and the new data transmitted back in response to the read-out request is stored in the storage position of the first logic volume 11 corresponding to the new data. According to this method, a system in which the new data is not necessarily stored in the cache memory can be flexibly coped with since the processes are switched between the cases where the new data is stored in the cache memory and where it is not. It can also be arranged that the first storage control apparatus 10 determines whether the new data is kept stored in the cache memory 13 or not depending on the use status of the cache memory 13.

[0165]

According to the above mechanism, the influence on the second network 51 caused by the reflecting of the new data on the first logic volume 11 is suppressed. Furthermore, high-speed processes can be realized since no communication is generated between the first and the second storage control apparatus 10 and 20 because the new data can be reflected on the first logic volume 11 only with the processes of the first storage control apparatus 10 itself.

[0166]

<Exchange of Roles of Logic Volumes>

[0167]

For example, in the above-described data copy function, an exchange of roles of the copy source and the copy destination between the first logic volume 11 and the second logic volume 21 may be desired. Similarly in the above-described snapshot function, an exchange of roles between the first logic volume 11 and the second logic volume 21 may be desired.

[0168]

In these cases, it is considered that an exchange of the data stored in the first logic volume 11 and the data stored in the second logic volume 21 is carried out by, for example, transmitting those data respectively to the opposite logic volume between the first storage control apparatus 10 and the second storage control apparatus 20 through the second network 51 and their roles are exchanged thereafter. However, in this case, the communication on the second network 51 is influenced by the above transmission.

[0169]

Then, the first storage control apparatus 10 of this embodiment has a mechanism for exchanging those roles at a timing when the contents of the first logic volume 11 and the contents of the second logic volume 21 becomes same such as, for example, when the contents of the logic volumes being the copy source and the copy destination are synchronized in the above-described data copy function, or when the new data is reflected on the logic volume that stored the old data in the above-described snapshot function.

[0170]

That is, for example, as shown in the table 1400 in FIG. 14, in the data copy function, when the first logic volume 11 is set as the copy source and the second logic volume 21 is set as the copy destination, it is arranged that the first logic volume 11 is recognized as the copy destination and the second logic volume 21 is recognized as the copy source by the program realizing the data copy function as shown in the table 1500 in FIG. 15 at a timing when the contents of the logic volume 11 and 21 are same and their roles are exchanged with each other. Furthermore, in the snapshot function, for example, as shown in the table 1600 in FIG. 16, when the first logic volume 11 is used for storing the old data and the second logic volume 21 is used for storing the new data, it is arranged that the first logic volume 11 is recognized as the one for storing the new data and the second logic volume 21 is recognized as the one for storing the old data by the program realizing the snapshot function at a timing when the contents of the logic volumes 11 and 21 are same as shown in the table 1700 in FIG. 17. The above tables shown in FIG. 14 to FIG. 17 are stored in, for example, the control memory 14.

[0171]

According to the above mechanism, the roles of the first logic volume 11 and the second logic volume 21 recognized by the program realizing the data copy function and snapshot function etc. can be exchanged without carrying out any data transmission through the second network 51. In a case where the data copy function and the snapshot function are applied in a connection structure shown in FIG. 1 as a result of introducing a first storage control apparatus 10 having a higher performance to an environment where a second storage control apparatus 20 is operated, exchanging the roles of the logic volumes 11 and 21 may be desired afterward for the reason such as that a higher performance should be applied to the copy source. However, even in this case, according to the above mechanism, the roles of the logic volumes 11 and 21 recognized by the program realizing the data copy function and the snapshot function can be exchanged without pressuring the second network 51.

[0172]

<Check Code>

[0173]

The first storage control apparatus 10 attaches a check code to data to be stored in the first logic volume 11 for the purpose of securing the data reliability, etc. The check code is an error correction code (ECC) such as, for example, a check sum, a parity bit, a Hamming code, cyclic redundancy check code (CRC code). The first storage control apparatus 10 creates a check code for, for example, at every predetermined length of data and attaches it to the data.

[0174]

The first storage control apparatus 10 has a mechanism for checking the consistency and the validity of data by, for example, checking whether any error such as a bit garbling exists in the data or not using the check code when the first storage control apparatus 10, for example, reads data from or writes data in the first logic volume 11. The first storage control apparatus 10 also has a mechanism for correcting errors and notifying the management computer that it has detected an error. The first storage control apparatus 10 further has a mechanism for carrying out such processes concerning the check code also to the data stored in the second logic volume 21 of the second storage control apparatus 20. This mechanism will be described referring to FIG. 18.

[0175]

When a data write-in request received from the host computer (S1811) is to be handled by the second storage control apparatus 20, the first storage control apparatus 10 creates a check code about a write-in data transmitted from the host computer 30 attached to the data write-in request (S1812) and transmits to the second storage control apparatus 20 a data write-in request about the write-in data, to which the created check code is attached (S1813).

[0176]

The second storage control apparatus 20 receives the data write-in request and stores in the second logic volume 21 the write-in data to which the check code is attached (S1814). At this stage, it can also be arranged that, as shown in FIG. 18, the write-in data and its check code are stored respectively in different logic volumes of the second storage control apparatus 20, or that each of them are stored respectively in consecutive storage areas in the same logic volume. It can also be arranged that they are stored respectively in storage areas being not consecutive in the same logic volume.

[0177]

In this case, it is arranged that information indicating which data the check code is about (for example, an identifier and an address of the logic volume where the corresponding data is stored) is attached to each check code. When they are stored in different logic volumes, it is arranged that, for example, data input/output requests corresponding to each of them are transmitted from the first storage control apparatus 10 to the second storage control apparatus 20.

[0178]

According to the above mechanism, even when the second storage control apparatus 20 does not have the mechanism concerning check codes that the first storage control apparatus 10 has, the mechanism concerning check codes can be applied to the data to be stored in the second logic volume 21.

[0179]

<Extension of Scope to Apply Commands>

[0180]

The first storage control apparatus 10 has a mechanism for interpreting and executing commands which the second storage control apparatus 20 does not support (hereinafter referred to as “specific commands”). The first storage control apparatus 10 further has a mechanism for applying the specific commands also to the data stored in the second logic volume 21 of the second storage control apparatus 20. This mechanism is effective when, for example, the second storage control apparatus 20 does not support the specific commands.

[0181]

When the first storage control apparatus 10 has received from a host computer a data input/output request targeting a storage device of the second storage control apparatus 20, the first storage control apparatus 10 checks whether the command described in the data input/output request is a specific command or not. Then, if the command is a specific command, the first storage control apparatus 10 creates a command, which the second storage control apparatus 20 can interpret and execute, for allowing the second storage control apparatus 20 to execute a process for responding the command and transmits to the second storage control apparatus 20 a data input/output request in which the created command is described. That is, the first storage control apparatus 10 functions in a sense as a command converting apparatus that converts the specific commands that the second storage control apparatus 20 cannot interpret and execute into commands that the second storage control apparatus 20 can interpret and execute.

[0182]

Since the first storage control apparatus 10 functions as a command converting apparatus for the second storage control apparatus 20 in this manner, even when the second storage control apparatus 20 does not have any intelligent functions, the host computer can utilize the storage resources of the second storage control apparatus 20 as if the second storage control apparatus 20 has such functions (or as if the first storage control apparatus 10 is integrated with the second storage control apparatus 20).

[0183]

Furthermore, the scope to apply commands that only the first storage control apparatus 10 can interpret and execute can be extended to the second storage control apparatus 20. Therefore, when, for example, the first storage control apparatus 10 is introduced to an environment where the second storage control apparatus 20 is installed, while the extension of storage resource is being progressed by a storage device of the second storage control apparatus 20 being an existing asset, the commands which only the first storage control apparatus 10 can interpret and execute can be applied when the storage resource of the second storage control apparatus 20 is utilized and, for example, in a data center etc., the second storage control apparatus 20 being an existing asset can be effectively utilized.

[0184]

A structure for realizing the above mechanisms will be described in detail.

[0185]

[0185]FIG. 19 shows the hardware structure of the first storage control apparatus 10 and the second storage control apparatus 20 used in the following description and FIG. 20 shows the main functional blocks that the first storage control apparatus 10 and the second storage control apparatus 20 have and that are realized by the hardware shown in FIG. 19 and the software being run on that hardware. However, a storage apparatus 60 is omitted in FIG. 20.

[0186]

(1) Specific Reservation Command

[0187]

A case where the specific commands are specific reservation commands defined in SCSI standard will be described as an example. In addition to the conventional reservation command function conforming to the SCSI standard, for each LU, setting such as write-in enable/unable, read-out enable/unable etc. for each WWN (World Wide Name) (for example, a WWN given to the host computer 30) attached to a data input/output request can be carried out to the specific reservation commands.

[0188]

[0188]FIG. 21 illustrates a situation where an LUN of the second storage control apparatus 20 is managed by being mapped on the first storage control apparatus 10. In this figure, the storage apparatus 60 is omitted. As to the detailed mapping method, since it is same as the one described above with FIG. 2 and its description is omitted.

[0189]

[0189]FIG. 22 illustrates an operation when a data input/output request in which a specific reservation command targeting a storage device of the second storage control apparatus 20 is described is transmitted from a host computer 31 to the first storage control apparatus 10. In this figure, the storage apparatus 60 is omitted.

[0190]

A specific reservation command is transmitted from the first host computer 31 to the first storage control apparatus 10 and the first storage control apparatus 10 receives the command (S2211). The specific reservation command received by the first storage control apparatus 10 is referred to the LU map information table 2300 shown in FIG. 23 by a command analysis/execution unit 1011 of the first storage control apparatus 10. Therefore, the command analysis/execution unit 1011 recognizes that an LU being set in the command targets the storage device of the second storage control apparatus 20 (S2212), sets (i.e., reservation) the reservation flag of the LU in the reservation information table 2400 shown in FIG. 24 and simultaneously registers the WWN of the host computer 31 that has transmitted the data input/output request in the reservation information table 2400 relating the WWN to its LU (S2213).

[0191]

Next, a data input/output request in which a data write-in command (“Write” command) is described is transmitted from the first host computer 31 to the first storage control apparatus 10 and the first storage control apparatus 10 receives it (S2214). Then, the command analysis/execution unit 1011 checks whether the WWN described in the received data input/output request is same as the WWN registered in the reservation information table 2400 as to the LU being the target of the data input/output request (S2215). In this case, the WWNs match and the command analysis/execution unit 1011 progresses the process for the data write-in command.

[0192]

Next, the command analysis/execution unit 1011 instructs the data-caching unit 1013 to store in the cache memory 13 (not shown in FIG. 22) the data of write-in target received attached to the data write-in command (S2216) and the data-caching unit 1013 stores in the cache memory 13 the data of write-in target and notifies to a remote I/O control unit 1012 that it has stored the data (S2217).

[0193]

Next, the command analysis/execution unit 1011 controls the remote I/O control unit 1012 (S2218) and the remote I/O control unit 1012 transmits to the second storage control apparatus 20 the data write-in command about the write-in data stored in the cache memory 13 (S2219). At this stage, the data write-in command is a command conforming to the SCSI standard that the second storage control apparatus 20 also can analyze and execute.

[0194]

The data write-in command received by the second storage control apparatus 20 is analyzed in the command analysis/execution unit 2011 of the second storage control apparatus 20 and the data caching unit 2013 stores in the cache memory (not shown) the data of write-in target received with the data write-in command (S2220). Then, the disk input/output control unit 19 stores in the storage device (not shown) the data of write-in target stored in the cache memory of the second storage control apparatus 20.

[0195]

On the other hand, when a data input/output request in which a command targeting an LU during reservation is described has been transmitted from a computer other than the first host computer 31, for example, a second host computer 32 to the first storage control apparatus 10 (S2231), the command analysis/execution unit 1011 of the first storage control apparatus 10 checks whether the WWN described in the received data input/output request is same as the WWN registered in the reservation information table 2400 for the LU being the target of the data input/output request (S2232). At this stage, in this case, since the WWNs are not same, the command analysis/execution unit 2011 transmits to the second host computer 32 a message telling that the LU is in reservation (S2233).

[0196]

According to the above mechanism, the scope to apply the specific reservation commands that only the first storage control apparatus 10 can interpret/execute can be extended to the second storage control apparatus 20. Therefore, when, for example, the second storage control apparatus 20 having no function for interpreting/executing the specific commands is installed and the first storage control apparatus 10 having such functions is introduced, while extension of the storage resource is being progressed by the storage device of the second storage control apparatus 20 being an existing asset, the function for the specific reservation commands can be applied when the storage resource of the second storage control apparatus 20 is utilized. Therefore, the existing assets can be effectively utilized in, for example, data centers.

[0197]

(2) E-Copy Command

[0198]

Next, the case where the specific commands are extended copy commands (E-copy commands) defined in SCSI will be described. The commands are used when, for example, the device itself that has issued the command does not copy the data but the copying is carried out between other devices.

[0199]

[0199]FIG. 25 illustrates an operation of the storage system when an E-copy command is transmitted from the first host computer 31 to the first storage control apparatus 10 an E-copy command instructing to copy the data in the second logic volume 21 of the second storage control apparatus 20 to a back-up device 90 connected to a third storage control apparatus 80.

[0200]

First, an E-copy command is transmitted from the first host computer 31 to the first storage control apparatus 10 and the first storage control apparatus 10 receives this command. (S2511).

[0201]

The E-copy command received by the first storage control apparatus 10 is referred to the LU map information table 2300 shown in FIG. 23 by the command analysis/execution unit 1011 of the first storage control apparatus 10. As a result of this, the command analysis/execution unit 1011 recognizes that the logic volume being the copy target designated in the command is targeting the second logic volume 21 of the second storage control apparatus 20 (S2512). The command analysis/execution unit 1011 also stores in a command control buffer 1015 on the control memory 14 a source address being the address of the copy source device (the second logic volume) set in the command and a destination address being the address of copy destination device (the back-up device 90) (S2513).

[0202]

Next, the command analysis/execution unit 1011 instructs the remote I/O execution unit 1012 to transmit a data read-out command to the second storage control apparatus 20 organizing the second logic volume 21 designated by the source address (S2514). Then, the remote I/O execution unit 1012 having received this instruction transmits to the second storage control apparatus 20 a data read command being a command conforming to SCSI standard that can be analyzed/executed in the second storage control apparatus 20 (S2515).

[0203]

When the second storage control apparatus 20 has received the data read command, the command analysis/execution unit 2011 of the second storage control apparatus 20 analyzes this command, reads out the targeted data by instructing the disk input/output control unit 19 to do so (S2516) and transmits the data to the first storage control apparatus 10 (S2517). This read-out process is executed utilizing the data in the cache memory of the second storage control apparatus 20 if the data exists there. If the data does not exist there, the disk input/output control unit 19 reads out the data from the second logic volume 21 and stores it in the cache memory and the read-out is executed utilizing the data in the cache memory.

[0204]

Next, when the remote I/O execution unit 1012 of the first storage control apparatus 10 has received data transmitted from the second storage control apparatus 20, the remote I/O execution unit 1012 notifies the data caching unit 1013 accordingly (S2518). The data caching unit 1013 having received this notice stores the data in the cache memory 13 and notifies the command analysis/execution unit 1011 that it has stored the data (S2519).

[0205]

Next, the command analysis/execution unit 1011 having received this notice notifies the remote I/O execution unit 1012 that it will transmit the data and a data write-in command about the data to the third storage control apparatus 80 connected to the back-up device 90 designated by a destination address (S2520). The remote I/O execution unit 1012 having received this notice transmits to the third storage control apparatus 80 the data and a data write-in command (S2521). Then, when the third storage control apparatus 80 has received the data and the data write-in command, it controls the back-up device 90 and starts writing the data in a storage medium (S2522). As the back-up device 90, there are, for example, a disk drive, a DAT tape drive, DVD-RAM, MO, CD-R, cassette tape etc.

[0206]

According to the above mechanism, the scope to apply the E-copy commands that only the first storage control apparatus 10 can interpret/execute can be extended to the second storage control apparatus 20. Therefore, when, for example, the second storage control apparatus 20 having no function for interpreting the E-copy commands is installed and the first storage control apparatus 10 having that function is introduced, while extension of the storage resource is being progressed by the storage device of the second storage control apparatus 20, the function for the E-copy commands can be applied when the storage resource of the second storage control apparatus 20 is utilized. Therefore, the old storage control apparatus can be effectively utilized.

[0207]

<Details of Information Collection Function>

[0208]

Next, the details of the above-described information collection function will be described. This function is executed taking the opportunities such as, for example, when the first storage control apparatus 10 is introduced newly to the storage system, when the structure of another apparatus has been changed and when start-up direction has been issued by a user.

[0209]

[0209]FIG. 26 shows a flow chart illustrating processes executed by the first storage control apparatus 10 when this function is executed. In this process, the first storage control apparatus 10, first, transmits to all the ports accessible on the second network 51, for example, a port ID and an “Inquiry” command conforming to the SCSI standard designating an LUN of a device connected to each port and, as a result of this, obtains the structure of another apparatus as a candidate for the second storage control apparatus 20 (S2611 and S2612). The first storage control apparatus 10 judges whether the apparatus can be utilized as the second storage control apparatus 20 or not based on the information obtained by the command such as the name and the type of the apparatus. For the judgment, the first storage control apparatus 10 keeps storing in the control memory 14 etc. the relation between names and types of apparatuses and determinations whether they can be used as the second storage control apparatus 20 or not.

[0210]

In the above judgment, when the first storage control apparatus 10 has found an apparatus that can be used as the second storage control apparatus 20, it transmits to the apparatus a “Read Capacity” command conforming to the SCSI standard following the “Inquiry” command (S2613). Therefore, information provided by the apparatus such as storage capacity can be obtained. The first storage control apparatus 10 stores in the structure information management table 41 the information obtained in this manner (S2614).

[0211]

<Route Dynamic Selection Function>

[0212]

In this storage system, the first storage control apparatus 10 has a function for dynamically select the data transmission route between the first storage control apparatus 10 and the second storage control apparatus 20. This function will be described in detail in this section.

[0213]

First, the mechanism for collecting information concerning the second network 51, that the first storage control apparatus 10 needs for this dynamic selection function will be described. First, the first storage control apparatus 10 obtains the information concerning the network from relay apparatuses such as, for example, Fiber Channel switches on the second network 51 and stores the information in the control memory 14. The information concerning the network is network topology information and node information in the network conforming to the Fiber Channel standard, the SCSI standard or the iSCSI standard. This information is stored in devices such as switches constituting the network.

[0214]

When, for example, a plurality of network routes for reaching the second storage control apparatus 20, the first storage control apparatus 10, based on the information collected as above, selects one of the routes or selects different routes to a plurality of ports for the purpose of load distribution, and instructs the network to set the route(s). At this stage, the first storage control apparatus 10 selects dynamically the optimal network route(s) considering the congestion on the network and access status to the second storage control apparatus 20. When it has been confirmed by checking the access status of the network that the selected route(s) is/are interrupted by obstacle(s), a dynamic route control is executed in which the route(s) is/are automatically switched.

[0215]

Furthermore, the first storage control apparatus 10 changes the zoning setting for the purpose of improving security etc., dynamically selects the route(s) such that the interference with other apparatuses existing on the second network 51 is suppressed and selects automatically only the route(s) being permitted to access in association with the above-described access limit function.

[0216]

<Other Embodiments>

[0217]

A storage system and a method for controlling the storage system according to the invention has been described based on embodiments. However, the above-described embodiments of the invention only facilitates the understanding of the invention and is not intended to limit the invention. The invention can be changed and improved without departing from the scope and the spirit of the invention and includes its equivalents.

[0218]

In the above description, the first network 50 and the second network 51 can be connected to each other or each of them can be independent.

[0219]

It can be structured such that a plurality of second storage control apparatus 20 exist for one first storage control apparatus 10.

[0220]

In the above description, the first storage control apparatus 10 and the second storage control apparatus 20 are described as disk array apparatuses, however, they are not limited to disk array apparatuses and can be, for example, semiconductor disk apparatuses using semiconductor memories as storage devices.

[0221]

The storage system can be structured such that the first and the second storage control apparatus 10 and 20 are connected through a communication line conforming to the SCSI standard.

[0222]

According to the invention, it is possible to effectively utilize the old storage control apparatuses when, for example, a storage control apparatus has been newly introduced to an existing storage system.

[0223]

While illustrative and presently preferred embodiments of the present invention have been described in detail herein, it is to be understood that the inventive concepts may be otherwise variously embodied and employed and that the appended claims are intended to be construed to include such variations except insofar as limited by the prior art.

Storage control system and method having first and second channel control sections which convert file level data to block level data, judge whether block level data is to be stored in external storage and identifies save destination address of file level data based on metadata