Back to results
US 8,527,722 B1Granted
Selecting a snapshot method based on cache memory consumption
AssigneeHitachi, Ltd.
InventorWataru Okada
Life of this patent
Estimating the term…
Abstract
In a storage apparatus using AW technology, deterioration in I/O performance accompanying saving of data for creating a snapshot is suppressed as much as possible. When saving a snapshot image after returning a write completion response to a host computer, a storage apparatus according to the present invention performs the saving preferentially for a storage area with a low priority of snapshot image deletion.
Claims11
A storage apparatus storing data accessed by a host computer, the storage apparatus comprising:
- a first storing unit storing the data;
- a second storing unit storing snapshot images of the data stored by the first storing unit;
- a cache memory temporarily storing write data to be written into the first storing unit by the host computer before the write data is stored into the first storing unit;
- a controller writing the write data into the first storing unit;
- and
- a priority judging unit judging deletion priority of the snapshot images stored in the second storing unit for each of storage areas on the first storing unit corresponding to the snapshot images;
- wherein
- if an amount of consumption of the cache memory has not reached a predetermined threshold, the controller saves a first snapshot image of data stored in a write-destination storage area of the write data, into the second storing unit after storing the write data onto the cache memory and returning a completion response to the host computer, and then writes the write data stored by the cache memory into the first storing unit;
- if the amount of consumption of the cache memory has reached the pre-determined threshold, the controller saves the first snapshot image of the data stored in the write-destination storage area of the write data, into the second storing unit, and then returns the completion response to the host computer after writing the write data into the first storing unit;
- and
- in the case of saving the first snapshot image into the second storing unit after returning the completion response to the host computer, the controller performs the saving preferentially for a storage area with a low deletion priority on the first storing unit.
8 more elements
A method for creating a snapshot in a storage apparatus, the storage apparatus comprising:
- a first storing unit storing data accessed by a host computer;
- a second storing unit storing snapshot images of the data stored by the first storing unit;
- a cache memory temporarily storing write data to be written into the first storing unit by the host computer before the write data is stored into the first storing unit;
- a priority judging unit judging deletion priority of the snapshot images stored in the second storing unit for each of storage areas on the first storing unit corresponding to the snapshot images;
- and the method comprising the steps of:
- if an amount of consumption of the cache memory has not reached a predetermined threshold, saving a first snapshot image of data stored in a write-destination storage area of the write data, into the second storing unit after storing the write data onto the cache memory and returning a completion response to the host computer, and then writing the write data stored by the cache memory into the first storing unit;
- if the amount of consumption of the cache memory has reached the pre-determined threshold, saving the first snapshot image of the data stored in the write-destination storage area of the write data, into the second storing unit, and then returning the completion response to the host computer after writing the write data into the first storing unit;
- and
- in the case of saving the first snapshot image into the second storing unit after returning the completion response to the host computer, performing the saving preferentially for a storage area with a low deletion priority on the first storing unit.
6 more elements
Dependencies are inferred from the claim text.