IP Library Granted Patent US 9,817,768
Granted Patent B2
US 9,817,768 · App. 14/773,116 · Granted Nov 14, 2017

Storage system and data storing method

Inventors: Keisuke Ueda (Tokyo, JP); Go Uehara (Tokyo, JP); Kenta Ninose (Tokyo, JP); Hiroshi Hirayama (Tokyo, JP)
Assignee: HITACHI, LTD.
G06F12/10G06F3/06G06F3/0608G06F3/0616G06F3/0631G06F3/0653G06F3/0689G06F3/08G06F12/0246G06F2212/65G06F2212/7202G06F2212/7204
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 9,817,768
App. No.
14/773,116
Granted
Nov 14, 2017
Kind
B2
Abstract

Provided is a storage system including: a storage medium including a plurality of physical storage areas having an upper limit number of rewrites, and a medium controller that controls I/O (input/output) of data to/from the plurality of physical storage areas; and a storage controller connected to the storage medium, wherein when any of the physical storage areas is not allocated to a write destination logical storage area among a plurality of logical storage areas, the medium controller allocates a vacant physical storage area among the plurality of physical storage areas to the write destination logical storage area and writes write target data to the allocated vacant physical storage area, and the plurality of logical storage areas includes an available logical area group determined based on a relationship between an available capacity of a logical storage capacity and a rewrite frequency of the plurality of physical storage areas.

Claims (50)

1. A storage system comprising:

a storage medium including a plurality of physical storage areas each having an upper limit number of rewrites, and a medium controller that controls I/O (input/output) of data to/from the plurality of physical storage areas; and

a storage controller connected to the storage medium, wherein

when data is erased from each physical storage area in order to rewrite data stored therein, the number of rewrites increases and the physical storage area is regarded as a vacant physical storage area,

when any of the physical storage areas is not allocated to a write destination logical storage area among a plurality of logical storage areas or when a vacant area in which write target data can be stored is not present in a physical storage area allocated to the write destination logical storage area, the medium controller allocates a vacant physical storage area among the plurality of physical storage areas to the write destination logical storage area and writes the write target data to the allocated vacant physical storage area,

the plurality of logical storage areas include an available logical area group determined based on a relationship between an available capacity of a logical storage capacity and a rewrite frequency of the plurality of physical storage areas,

the logical storage capacity is a total capacity of the plurality of logical storage areas,

the available logical area group is one or more logical storage areas that can be used as the write destination logical storage area among the plurality of logical storage areas, and

the available capacity is a capacity of an available logical area group which is one or more logical storage areas that can be used as the write destination logical storage area among the plurality of logical storage areas,

wherein the medium controller manages the plurality of logical storage areas and the available logical area group in correlation,

wherein the medium controller determines the available logical area group from the plurality of logical storage areas based on a proportion of the available capacity to the logical storage capacity included in a setting command transmitted from the storage controller to the medium controller,

wherein the storage controller provides, to an external apparatus, a virtual volume which is a virtual logical volume configured according to Thin Provisioning and is formed of a plurality of virtual storage areas, and receives a write request that designates an address of a write destination virtual area in the virtual volume,

wherein a logical storage area allocated to the write destination virtual area within the available logical area group is the write destination logical storage area, and

wherein when allocating the logical storage area to a virtual volume having a high rewrite frequency, the medium controller is configured to decrease the available capacity, wherein decreasing the available capacity extends a lifetime of the physical storage area associated with the logical storage area allocated to the virtual volume.

2. The storage system according to claim 1 , wherein the storage controller provides a logical volume to an external apparatus, and receives a write request that designates an address of a write destination area in the logical volume,

a logical storage area corresponding to the write destination area within the available logical area group is the write destination logical storage area, and

the available capacity when the logical volume has a high rewrite frequency is smaller than the available capacity when the logical volume has a low rewrite frequency.

3. The storage system according to claim 1 , wherein the storage controller provides a logical volume to an external apparatus, and receives a write request that designates an address of a write destination area in the logical volume,

a logical storage area corresponding to the write destination area within the available logical area group is the write destination logical storage area,

the storage controller receives an input of a logical volume capacity desired by a user, and

as the control, the storage controller:

based on the relationship, calculates information on a maximum number of rewrites when the logical volume capacity desired by the user is used as the available capacity; and

outputs the calculated information.

4. The storage system according to claim 1 , further comprising a management computer that manages the storage controller, wherein

the storage controller provides a logical volume to an external apparatus, and receives a write request that designates an address of a write destination area in the logical volume,

a logical storage area corresponding to the write destination area within the available logical area group is the write destination logical storage area, and

the management computer:

receives an input of a logical volume capacity desired by a user;

based on the relationship, calculates information on a maximum number of rewrites when the logical volume capacity desired by the user is used as the available capacity; and

outputs the calculated information.

5. The storage system according to claim 1 , wherein the medium controller manages the plurality of logical storage areas and the available logical area group in correlation.

6. The storage system according to claim 5 , wherein the storage controller transmits an allocation command to the medium controller, and

the medium controller determines the available logical area group from the plurality of logical storage areas based on the allocation command.

7. The storage system according to claim 6 , wherein the allocation command includes information on a rewrite frequency of the virtual volume, and

the medium controller determines the available logical area group according to the information on the rewrite frequency included in the allocation command.

8. A data storing method in a storage apparatus including: a storage medium including a plurality of physical storage areas each having an upper limit number of rewrites, and a medium controller that controls I/O (input/output) of data to/from the plurality of physical storage areas; and a storage controller connected to the storage medium,

the method comprising:

increasing, when data is erased from each physical storage area in order to rewrite data stored therein, the number of rewrites and regarding the physical storage area as a vacant physical storage area; and

allowing, when any of the physical storage areas is not allocated to a write destination logical storage area among a plurality of logical storage areas or when a vacant area in which write target data can be stored is not present in a physical storage area allocated to the write destination logical storage area, the medium controller to allocate a vacant physical storage area among the plurality of physical storage areas to the write destination logical storage area and write the write target data to the allocated vacant physical storage area,

wherein

the plurality of logical storage areas include an available logical area group determined based on a relationship between an available capacity of a logical storage capacity and a rewrite frequency of the plurality of physical storage areas,

the logical storage capacity is a total capacity of the plurality of logical storage areas,

the available logical area group is one or more logical storage areas that can be used as the write destination logical storage area among the plurality of logical storage areas, and

the available capacity is a capacity of an available logical area group which is one or more logical storage areas that can be used as the write destination logical storage area among the plurality of logical storage areas, and

wherein the method further comprises:

managing the plurality of logical storage areas and the available logical area group in correlation; and

determining the available logical area group from the plurality of logical storage areas based on a proportion of the available capacity to the logical storage capacity included in a setting command transmitted from the storage controller to the medium controller,

wherein the storage controller provides, to an external apparatus, a virtual volume which is a virtual logical volume configured according to Thin Provisioning and is formed of a plurality of virtual storage areas, and receives a write request that designates an address of a write destination virtual area in the virtual volume,

wherein a logical storage area allocated to the write destination virtual area within the available logical area group is the write destination logical storage area, and

wherein when allocating the logical storage area to a virtual volume having a high rewrite frequency, the medium controller is configured to decrease the available capacity, wherein decreasing the available capacity extends a lifetime of the physical storage area associated with the logical storage area allocated to the virtual volume.

Assignments (3)
COMPANY SPLIT Recorded Aug 20, 2024
From: HITACHI, LTD.
To: HITACHI VANTARA, LTD.
Reel/Frame 069518/0761 →
CORRECTIVE ASSIGNMENT TO CORRECT THE THIRD ASSIGNOR'S EXECUTION DATE PREVIOUSLY RECORDED AT REEL: 036497 FRAME: 0163. ASSIGNOR(S) HEREBY CONFIRMS THE ASSIGNMENT. Recorded Sep 30, 2015
From: UEDA, KEISUKE; UEHARA, GO; NINOSE, KENTA; HIRAYAMA, HIROSHI
To: HITACHI, LTD.
Reel/Frame 036722/0703 →
ASSIGNMENT OF ASSIGNOR'S INTEREST Recorded Sep 4, 2015
From: UEDA, KEISUKE; UEHARA, GO; NINOSE, KENTA; HIRAYAMA, HIROSHI
To: HITACHI, LTD.
Reel/Frame 036497/0163 →
Continuity (1)
Related Publication 20160019159A1 · Jan 21, 2016