IP Library › Granted Patent US 8,131,962
Granted Patent B2
US 8,131,962 · App. 12/942,955 · Granted Mar 6, 2012

Storage system and method of producing recovery volume

Assignee: Hitachi, Ltd.
View Patent ↗
Loading inventors, assignments & file history…
Monitor This Case
Get email alerts when status or documents change.
Order Certified Copies
Most orders are placed with the USPTO same day — all within 24 business hours.
Order via The Patent Place →
Pre-filled with this patent's details
Quick Facts
Patent No.
US 8,131,962
App. No.
12/942,955
Filed
Nov 9, 2010
Granted
Mar 6, 2012
Kind
B2
Examiner
THAI, TUAN V
Art Unit
2185
USPC
711/162
Abstract

A storage system for writing data sent from a computer to storage regions is described. The storage system includes storage regions configured to store data, and a controller coupled with the storage regions. The controller is configured to control writing of the data from the computer. The controller is further configured to set a first storage region for writing data sent from the computer to a second storage region. The controller then acquires a snapshot of the first storage region at a predetermined time, writes a snapshot journal for the snapshot to the second storage region, and manages a snapshot management table. The controller also acquires a recovery point journal when a recovery volume designated by the computer is made, and writes the recovery point journal to the second storage region.

Claims (41)

1. A storage system coupled to a computer comprising:

a controller coupled with a first storage system and a second storage system, wherein the controller is configured to:

set a first storage region of the first storage system to which first data sent from the computer is written by the controller;

set a second storage region of the second storage system to which second data written into the first storage region is written, as journal data, in a manner where the journal data can be identified in chronological order;

set a third storage region of the second storage system to which the second data of the first storage region is written by the controller, if the controller has received a write request from the computer;

acquire a snapshot of the first storage region at a predetermined time;

write a snapshot journal of the snapshot into the second storage region;

manage a management table of the snapshot;

acquire a recovery point journal to be used to create a virtual recovery volume designated by the computer;

write the recovery point journal into the second storage region;

replicate, upon creating the virtual recovery volume, the management table of the snapshot corresponding to the snapshot journal that is chronologically before the recovery point journal corresponding to the designated virtual recovery volume; and

create the virtual recovery volume by updating the management table replicated with a snapshot management table replication unit based on the journal data written into the second storage region from the snapshot journal up to the recovery point journal corresponding to the designated virtual recovery volume.

2. The storage system according to claim 1 , wherein the controller selects and reads from either the first storage region or the second storage region if the controller receives a read request for the virtual recovery volume from the computer.

3. The storage system according to claim 1 , further comprising a recovery volume production section configured to:

update the snapshot management table by changing an address managed in the snapshot management table to an address where the journal data from the snapshot journal to the designated virtual recovery volume written into the second storage region has been written.

4. The storage system according to claim 3 , wherein if there is a write request from the computer for writing data into the virtual recovery volume, the virtual recovery volume production section newly allocates a storage region to the virtual recovery volume and writes the data sent from the computer therein.

5. The storage system according to claim 4 , wherein if there is a write request for writing data into the virtual recovery volume during the production of the virtual recovery volume, the virtual recovery volume production section sequentially writes the journal data, which was written into the second storage region corresponding to an address of the write request, into a storage region corresponding to the address and, after the writing of the journal data that was written into the second storage region corresponding to the address is complete, writes the data sent from the computer into the storage region corresponding to the address.

6. The storage system according to claim 5 , wherein if there is a read request for reading data from the virtual recovery volume during the production of the virtual recovery volume, the virtual recovery volume production section sequentially writes the journal data, which was written into the second storage region corresponding to an address of the write request, into a storage region corresponding to the address and, after the writing of the journal data that was written into the second storage region corresponding to the address is complete, reads out the journal data written into the storage region corresponding to the address to the computer.

7. The storage system according to claim 6 , further comprising a recovery point acquisition section configured to:

create a second recovery point journal prior;

create a first recovery volume based on a second request from the computer;

identify and acquire the first recovery volume and the second recovery point journal, wherein the second recovery point journal is created prior to the second request from the computer; and

wherein the storage system further comprises:

a threshold value setting section for setting a threshold value of a usage capacity of the second storage region to a predetermined threshold value in advance;

a recoverable time management section for managing a recoverable time as an oldest time that the virtual recovery volume can be created; and

a journal deletion section for deleting the journal data that is closest to the recoverable time yet earlier than the second recovery point journal, the snapshot journal and the recovery point journal from the second storage region if the threshold value set with the threshold value setting section is exceeded.

8. A virtual recovery volume production method of a storage system for writing data sent from a computer into a first storage system, comprising:

a first step of setting a first storage region of the first storage system to which the data sent from the computer is written by a controller coupled with the first storage region, a second storage region of a second storage system to which the data written into the first storage region is written as journal data in a manner where the journal data can be identified in chronological order, and a third storage region of the second storage system to which the data of the first storage region is written by the controller, if the controller has received a write request from the computer;

a second step of creating and acquiring a snapshot of the first storage region at a predetermined time, and writing a snapshot journal of the snapshot into the second storage region, and managing a management table of the snapshot;

a third step of creating and acquiring a recovery point journal to be used to create a virtual recovery volume designated by the computer, and writing the recovery point journal into the second storage region;

a fourth step of replicating, upon creating the virtual recovery volume, the management table of the snapshot corresponding to the snapshot journal that is chronologically before the recovery point journal corresponding to the designated virtual recovery volume; and

a fifth step of creating the virtual recovery volume by updating the management table replicated with a snapshot management table replication unit based on the journal data written into the second storage region from the snapshot journal up to the recovery point journal corresponding to the designated virtual recovery volume.

9. The virtual recovery volume production method of a storage system according to claim 8 , wherein, at the fifth step, the snapshot management table is updated by changing an address managed in the snapshot management table to an address in which the journal data, from the snapshot journal to the designated virtual recovery volume and written into the second storage region, is written therein.

10. The virtual recovery volume production method of a storage system according to claim 8 , wherein, at the fifth step, if there is a write request from the computer for writing data into the virtual recovery volume, a storage region is newly allocated to the virtual recovery volume and the data sent from the computer is written therein.

11. The virtual recovery volume production method of a storage system according to claim 8 , wherein, at the fifth step, if there is a write request for writing data into the virtual recovery volume during the production of the virtual recovery volume, the journal data, which was written into the second storage region corresponding to an address of the write request, is sequentially written into a storage region corresponding to the address and, after the writing of the journal data that was written into the second storage region corresponding to the address is complete, the data sent from the computer is written into the storage region corresponding to the address.

12. The virtual recovery volume production method of a storage system according to claim 8 , wherein, at the fifth step, if there is a read request for reading data from the virtual recovery volume during the production of the virtual recovery volume, the journal data, which was written into the second storage region corresponding to an address of the write request, is sequentially written into a storage region corresponding to the address and, after the writing of the journal data that was written into the second storage region corresponding to the address is complete, the journal data written into the storage region corresponding to the address is read out to the computer.

13. The virtual recovery volume production method of a storage system according to claim 8 , wherein, at the third step, a first recovery volume that is created based on a request from the computer and a second recovery point journal that is created prior to the request from the computer are identified and acquired; and

wherein the virtual recovery volume production method of a storage system further comprises:

a threshold value setting step of setting a threshold value of a usage capacity of the second storage region to a predetermined threshold value in advance;

a recoverable time management step of managing a recoverable time as an oldest time that the virtual recovery volume can be created; and

a journal deletion step of deleting the journal data that is closest to the recoverable time yet earlier than the second recovery point journal, the snapshot journal and the recovery point journal from the second storage region if the threshold value set at the threshold value setting step is exceeded.

Priority Claims (1)
JP 2006-138712 · May 18, 2006 · national
Continuity (2)
Continuation 11485041 · Jul 11, 2006
Related Publication 20110055506A1 · Mar 3, 2011