# US 2014/0208023 A1 · Storage system and control method for storage system

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

- Number: US 2014/0208023 A1
- Document ID: US20140208023A1
- Status: Published application
- Kind: A1
- Application number: 13/814,991
- Filed: 2013-01-24
- Published: 2014-07-24
- Earliest claimed: 2013-01-24
- Assignees: Hitachi, Ltd.
- Applicants: Hitachi, Ltd.
- Inventors: Daisuke Orikasa; Yutaka Takata
- Web page: https://patentgrep.com/patent/US20140208023A1

## CPC

- G06F 3/0665: {at area level, e.g. provisioning of virtual or logical volumes}
- G06F 3/0607: {by facilitating the process of upgrading existing storage systems, e.g. for improving compatibility between host and storage device}
- G06F 3/0619: {in relation to data integrity, e.g. data losses, bit errors}
- G06F 3/065: {Replication mechanisms}
- G06F 3/0689: {Disk arrays, e.g. RAID, JBOD}
- G06F: ELECTRIC DIGITAL DATA PROCESSING (computer systems based on specific computational models G06N)

## Abstract

An exemplary storage system of the invention processes requests to access a primary volume and a plurality of secondary volumes forming pairs with the primary volume. In each of the plurality of secondary volumes, address areas are defined which are respectively associated with address areas of the primary volume. Each of the plurality of secondary volumes stores differential data with respect to data in the primary volume. A controller monitors write accesses to the primary volume and the plurality of secondary volumes, and retains a monitoring result. The controller controls, based on, in the monitoring result, presence/absence of past write accesses to a plurality of areas in the primary volume and areas respectively corresponding to the plurality of areas in the plurality of secondary volumes, accesses to the primary volume.

## Claims

### Claim 1

A storage system, comprising:
an interface for transmitting/receiving data to/from a plurality of hosts; and
a controller for processing requests to access a primary volume and a plurality of secondary volumes forming pairs with the primary volume via the interface, wherein:
in each of the plurality of secondary volumes, address areas are defined which are respectively associated with address areas of the primary volume;
each of the plurality of secondary volumes stores differential data with respect to data in the primary volume;
the controller monitors write accesses to the primary volume and the plurality of secondary volumes, and retains a monitoring result; and
the controller controls, based on, in the monitoring result, presence/absence of past write accesses to a plurality of areas in the primary volume and areas respectively corresponding to the plurality of areas in the plurality of secondary volumes, accesses to the primary volume.

### Claim 2 (depends on 1)

The storage system according to claim 1, wherein the controller determines, when, in a first write access to the primary volume, the monitoring result represents that there is no past write access to a first area including an access destination area of the first write access, and areas corresponding to the first area in the plurality of secondary volumes, that data in the first area is unnecessary to be saved, and updates the data in the access destination area.

### Claim 3 (depends on 2)

The storage system according to claim 2, wherein:
the primary volume has a first mode and a second mode;
the controller saves, in a write access to the primary volume in the first mode, regardless of the monitoring result, when data in a write subject area is yet to be saved to the plurality of secondary volumes, the data to at least one of the plurality of secondary volumes, and then updates the data in the write subject area;
the controller avoids saving, in the write access to the primary volume in the first mode, regardless of the monitoring result, when the data in the write subject area has been saved to the plurality of secondary volumes, the data to the at least one of the plurality of secondary volumes, and updates the data in the write subject area; and
the controller controls the first write access to the primary volume in the second mode.

### Claim 4 (depends on 3)

The storage system according to claim 3, wherein the controller generates a spare volume associated with the primary volume in the second mode, copies, in a write access to the primary volume in the second mode, data in an area including a write subject area, to the spare volume, and then updates the data in the write subject area in the primary volume.

### Claim 5 (depends on 4)

The storage system according to claim 4, wherein:
the controller copies, in a read access and a write access to a secondary volume in the plurality of secondary volumes in the second mode, when data in an area including an access destination area is required to be acquired from the primary volume, the data required to be acquired from the primary volume to the spare volume; and
the controller acquires, in the read access and the write access to a secondary volume in the plurality of secondary volumes in the second mode, when data in an area including an access destination area exists in the spare volume, the data in the area including the access destination area from the spare volume.

### Claim 6 (depends on 3)

The storage system according to claim 3, wherein:
the controller monitors write accesses to the plurality of secondary volumes in the first mode and the second mode; and
in the first mode, the controller monitors write accesses to the primary volume, and, in the second mode, the controller avoids monitoring write accesses to the primary volume.

### Claim 7 (depends on 3)

The storage system according to claim 3, wherein:
the controller changes, in accordance with an instruction received from an outside, a mode of the primary volume; and
when the controller receives, during a period of time in which data is being copied to the spare volume, an instruction to change the mode of the primary volume from the second mode to the first mode, the controller waits for an end of the copy of the data, and then changes the mode of the primary volume.

### Claim 8 (depends on 2)

The storage system according to claim 2, wherein the controller saves, in the first write access to the primary volume, when the monitoring result represents that there is a past write access to the first area including the access destination area of the first write access, and the areas corresponding to the first area in the plurality of secondary volumes, and data in the first area is yet to be saved, the data in the first area from the primary volume to at least one of the plurality of secondary volumes.

### Claim 9 (depends on 1)

The storage system according to claim 1, wherein:
the primary volume has a first mode and a second mode;
the controller transfers, when a read subject secondary volume of a read access received in the first mode retains data in a read subject area, the retained data via the interface;
the controller acquires, when the read subject secondary volume fails to retain the data in the read subject area, one of the data in the read subject area in the primary volume and the data in the read subject area already saved to another secondary volume out of the plurality of secondary volumes, and transfers the acquired data to the interface;
the controller updates, when a write subject secondary volume of a write access received in the first mode retains data in a write subject area, the data in the write subject area in the write subject secondary volume;
the controller acquires, when the write subject secondary volume fails to retain the data in the write subject area, one of data in an area including the write subject area in the primary volume and data in the area including the write subject area already saved to another secondary volume out of the plurality of secondary volumes, and stores data acquired by updating the acquired data in the write subject secondary volume;
the controller saves, in a write access to the primary volume in the first mode, regardless of the monitoring result, when data in a write subject area is yet to be saved to the plurality of secondary volumes, the data to at least one of the plurality of secondary volumes, and then updates the data in the write subject area;
the controller avoids saving, in the write access to the primary volume in the first mode, regardless of the monitoring result, when the data in the write subject area has been saved to the plurality of secondary volumes, the data to the at least one of the plurality of secondary volumes, and updates the data in the write subject area; and
the controller determines, in control of a first write access to the primary volume in the second mode, based on presence/absence of a past write access to a first area including an access destination area of the first write access and areas corresponding to the first area in the plurality of secondary volumes, necessity to save data in the first area.

### Claim 10

A control method for a storage system for processing a request to access a primary volume and a plurality of secondary volumes forming pairs to the primary volume,
the plurality of secondary volumes each having address areas defined therein, which are respectively associated with address areas of the primary volume,
the plurality of secondary volumes each storing differential data with respect to data in the primary volume,
the control method comprising:
monitoring write accesses to the primary volume and the plurality of secondary volumes, and retaining a monitoring result; and
controlling, based on, in the monitoring result, presence/absence of past write accesses to a plurality of areas in the primary volume and areas respectively corresponding to the plurality of areas in the plurality of secondary volumes, accesses to the primary volume.

### Claim 11 (depends on 10)

The control method for a storage system according to claim 10, further comprising, in a first write access to the primary volume, based on, in the monitoring result, presence/absence of a past write access to a first area including an access destination area of the first write access and areas corresponding to the first area in the plurality of secondary volumes, determining necessity to save data in the first area.

### Claim 12 (depends on 11)

The control method for a storage system according to claim 11, further comprising:
when, in a first write access to the primary volume, the monitoring result represents that there is no past write access to a first area including an access destination area of the first write access, and areas corresponding to the first area in the plurality of secondary volumes, determining that the data in the first area is unnecessary to be saved, and updating the data in the access destination area; and
in the first write access to the primary volume, when the monitoring result represents that there is a past write access to the first area including the access destination area of the first write access, and the areas corresponding to the first area in the plurality of secondary volumes, and data in the first area is yet to be saved, saving the data in the first area from the primary volume to at least one of the plurality of secondary volumes, and then updating the data in the access destination area.

### Claim 13 (depends on 10)

The control method for a storage system according to claim 10, wherein:
the primary volume has a first mode and a second mode; and
the control method further comprises:
saving, in a write access to the primary volume in the first mode, regardless of the monitoring result, when data in a write subject area is yet to be saved to the plurality of secondary volumes, the data to at least one of the plurality of secondary volumes, and then updating the data in the write subject area;
avoiding saving, in the write access to the primary volume in the first mode, regardless of the monitoring result, when the data in the write subject area has been saved to the plurality of secondary volumes, the data to the at least one of the plurality of secondary volumes, and updating the data in the write subject area; and
controlling an access to the primary volume in the second mode based on the presence/absence of the past write access.
