# US 2004/0019740 A1 · Destaging method for storage apparatus system, and disk control apparatus, storage apparatus system and program

> Agents: this data is available as JSON from the patentgrep API and MCP server — see https://patentgrep.com/llms.txt

- Number: US 2004/0019740 A1
- Document ID: US20040019740A1
- Status: Published application
- Kind: A1
- Application number: 10/456,256
- Filed: 2003-06-06
- Published: 2004-01-29
- Earliest claimed: 2002-07-25
- Assignees: Hitachi, Ltd.
- Inventors: Shinichi Nakayama; Yutaka Takata; Naotaka Kobayashi
- Web page: https://patentgrep.com/patent/US20040019740A1

## CPC

- G06F 12/0866: for peripheral storage systems, e.g. disk cache
- G06F 12/0804: with main memory updating (G06F12/0806 takes precedence)
- G06F 12/0897: with two or more cache hierarchy levels (with multilevel cache hierarchies G06F12/0811)
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

A destaging method is provided for destaging a storage apparatus system comprising a disk control apparatus that functions as a data storage unit and is provided with disk apparatuses and a first cache memory, and an information processing apparatus that is connected to the disk control apparatus and provided with a second cache memory. The method includes a first step, in which upon an interruption of the functions of the disk control apparatus as the storage unit for the information processing apparatus, the information processing apparatus transfers to the first cache memory data scheduled to be written onto the disk apparatuses and that is currently stored in the second cache memory, and a second step, in which the disk control apparatus manages data to be stored in the disk apparatuses by dividing the data into a plurality of management groups and, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the disk apparatuses are ready in the first cache memory, beginning writing onto the disk apparatuses the data that belong to the one of the management groups remaining in the first cache memory are scheduled to be written.

## Claims

### Claim 1

A destaging method for destaging a storage apparatus system including a disk control apparatus having disk storage devices and a first cache memory that temporarily stores input/output data to and from the disk storage devices, and at least one information processing apparatus connected to the disk control apparatus and having a second cache memory that temporarily stores data read from the disk control apparatus, the method comprising:
a first step of, when an interruption of a data storage function of the disk control apparatus for the information processing apparatus occurs, transferring to the first cache memory data that is currently stored in the second cache memory and that is scheduled to be written onto the disk storage devices;
a step of managing data to be stored in the disk storage devices by dividing the data into a plurality of management groups; and
a second step of, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the disk storage devices are ready in the first cache memory, starting to write onto the disk storage devices the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written.

### Claim 2 (depends on 1)

A destaging method according to claim 1, wherein the one of the management groups is correlated to at least one of logical volumes corresponding to a plurality of logical storage regions organized in storage regions provided by the disk storage devices.

### Claim 3 (depends on 2)

A destaging method according to claim 2, wherein the at least one information processing apparatus includes a plurality of information processing apparatuses that use a specified logical volume, and further comprising the step of issuing a notice from all of the plurality of information processing apparatuses that use the specified logical volume that the transfer in the first step has been completed.

### Claim 4 (depends on 3)

A destaging method according to claim 3, wherein the second step is started when the notice is issued.

### Claim 5

A destaging method for destaging a storage system having a storage unit with a first cache memory and at least one information processing unit with a second cache memory, the method comprising:
a step of managing data to be stored in the storage unit by dividing the data into a plurality of management groups;
a first step of transferring to the first cache memory data that is stored in the second cache memory and scheduled to be written onto the storage unit, when an interruption of a data storage function of the storage unit for the information processing unit occurs; and
a second step of, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the storage unit are ready in the first cache memory, starting to write onto the storage unit the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written.

### Claim 6 (depends on 5)

A destaging method according to claim 5, further comprising the step of correlating the one of the management groups to at least one of logical volumes corresponding to a plurality of logical storage regions organized in storage regions of the storage unit.

### Claim 7 (depends on 6)

A destaging method according to claim 6, wherein the at least one information processing apparatus includes a plurality of information processing apparatuses that use a specified logical volume, and further comprising the step of issuing a notice from all of the plurality of information processing apparatuses that use the specified logical volume that the transfer in the first step has been completed.

### Claim 8 (depends on 7)

A destaging method according to claim 7, wherein the second step is started when the notice is issued.

### Claim 9

A disk control apparatus that functions as a data storage unit, comprising:
a disk apparatus and a first cache memory that temporarily stores data to and from the disk apparatus;
a first component that connects the disk apparatus to at least one information processing apparatus having a second cache memory that temporarily store data read from the disk apparatus;
a second component that receives from the information processing apparatus, upon an interruption of a function of the disk apparatus as the storage unit for the information processing apparatus, data that is stored in the second cache memory and scheduled to be written onto the disk apparatus, and that stores the data in the first cache memory; and
a third component that manages data to be stored on the disk apparatus by dividing the data into a plurality of management groups and, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the disk apparatus are ready in the first cache memory, begins writing onto the disk apparatus the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written.

### Claim 10 (depends on 9)

A storage apparatus according to claim 9, wherein the one of the management groups is correlated to at least one of logical volumes corresponding to a plurality of logical storage regions organized in storage regions of the disk apparatus.

### Claim 11 (depends on 9)

A storage apparatus according to claim 9, wherein the at least one information processing apparatus includes a plurality of information processing apparatuses that use a specified logical volume, and a notice is issued from all of the plurality of information processing apparatuses that use the specified logical volume when the transfer in the first step has been completed.

### Claim 12 (depends on 11)

A storage apparatus according to claim 11, wherein the third component begins writing onto the disk apparatus the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written, when the notice is issued.

### Claim 13

A storage apparatus having a storage unit with a first cache memory, comprising:
a first component that connects the storage unit to at least one information processing unit with a second cache memory;
a second component that transfers to the first cache memory data that is currently stored in the second cache memory and scheduled to be written onto the storage unit, when an interruption of a data storage function of the storage unit for the information processing unit occurs; and
a third component that manages data to be stored in the storage unit by dividing the data into a plurality of management groups and, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the storage unit are ready in the first cache memory, starts to write onto the storage unit the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written in the storage unit.

### Claim 14 (depends on 13)

A storage apparatus according to claim 13, wherein the one of the management groups is correlated to at least one of logical volumes corresponding to a plurality of logical storage regions organized in storage regions of the storage unit.

### Claim 15 (depends on 13)

A storage apparatus according to claim 13, wherein the at least one information processing unit includes a plurality of information processing apparatuses that use a specified logical volume, and a notice is issued from all of the plurality of information processing apparatuses that use the specified logical volume when the transfer in the first step has been completed.

### Claim 16 (depends on 15)

A storage apparatus according to claim 15, wherein the third component begins writing onto the storage unit the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written in the storage unit, when the notice is issued.

### Claim 17

A storage apparatus system comprising:
a disk control apparatus that functions as a data storage unit and has a disk apparatus and a first cache memory that temporarily store data to and from the disk apparatus;
at least one information processing apparatus that is connected to the disk control apparatus and has a second cache memory that temporarily stores data read from the disk control apparatus;
a first component that connects the information processing apparatus to at least one external information processing apparatus having a third cache memory that temporarily stores data read from the information processing apparatus;
a second component that receives from the external information processing apparatus data that is scheduled to be written onto the disk apparatus and currently stored in the third cache memory and stores the data in the second cache memory, upon an interruption of a function of the disk control apparatus as the storage unit for the external information processing apparatus;
a third component that begins to transfer to the first cache memory the data scheduled to be written onto the disk apparatuses and is currently remaining in the second cache memory; and
a fourth component that manages data to be stored on the disk apparatus by dividing data into a plurality of management groups and, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the disk apparatus are ready in the first cache memory, begins writing onto the disk apparatus the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written.

### Claim 18 (depends on 17)

A storage apparatus system according to claim 17, wherein the disk control apparatus and the at least one information processing apparatus are contained in one housing.

### Claim 19

A program that enables an information processing apparatus, which is connected to a disk control apparatus that functions as a data storage unit and manages data by dividing data into a plurality of management groups, the disk control apparatus having a disk apparatus and a first cache memory that temporarily stores data to and from the disk apparatus, and which has a second cache memory that temporarily stores data read from the disk control apparatus, to execute:
a first step of, upon an interruption of a function of the disk control apparatus as the storage unit for the information processing apparatus, transferring to the first cache memory data scheduled to be written onto the disk apparatus and that is currently stored in the second cache memory; and
a second step of issuing a notice indicating that the transfer of data scheduled to be written is completed.

### Claim 20

A program that enables a disk control apparatus, which functions as a data storage unit and comprises disk apparatuses and a first cache memory to store temporarily data to and from the disk apparatuses, to execute:
a first step of, upon an interruption of a function of the disk control apparatus as the storage unit for the information processing apparatus, receiving, from at least one information processing apparatus that is connected to the disk control apparatus and has a second cache memory to store temporarily data read from the disk control apparatus, data that is scheduled to be written onto the disk apparatuses and currently stored in the second cache memory, and storing the data in the first cache memory; and
a second step of managing data to be stored on the disk apparatuses by dividing the data into a plurality of management groups and, when all data that belong to one of the management groups remained in the second cache memory and scheduled to be written onto the disk apparatuses are in the first cache memory, beginning writing onto the disk apparatuses the data that belong to the one of the management groups, remaining in the first cache memory and scheduled to be written.

### Claim 21

A destaging method for a storage apparatus system comprising a disk control apparatus that functions as a data storage unit and has disk apparatuses and a first cache memory to store temporarily data to and from the disk apparatuses, and at least one information processing apparatus that is connected to the disk control apparatus and has a second cache memory that temporarily stores data read from the disk control apparatus; the method comprises:
a first step of, upon an interruption of a function of the disk control apparatus as the disk storage unit for the information processing apparatus, transferring to the first cache memory data that is not reflected on the disk apparatuses and that is currently stored in the second cache memory; and
a second step of dividing the data to be stored on the disk apparatuses into a plurality of groups and, when all data that are not reflected on the disk apparatuses and that belong to one of the groups remained in the second cache memory have been transferred to the first cache memory, beginning writing onto the disk apparatuses the data that belong to the one of the groups remaining in the first cache memory and not reflected on the disk apparatuses.
