Computer system and control method therefor
AssigneeHitachi, Ltd.
InventorsMasayasu ASANO, Koichi Murayama
Life of this patent
Estimating the term…
Abstract
A physical storage area that is allocated to an unused area of a virtual volume is removed. A management unit sends a request to a server computer to make every piece of data stored in a first logical volume migrate to a second logical volume. The server reads all the data out of the first logical volume and writes the data in the second logical volume. A storage system that includes the first logical volume and the second logical volume allocates a physical storage area to an area of the second logical volume where the data is to be written, and writes the data in the allocated physical storage area. The storage system then deletes the first logical volume.
Claims16
A computer system, comprising:
- a first storage system;
- a first server computer which is coupled to the first storage system;
- and
- a management unit which manages the first storage system and the first server computer,
- wherein the first storage system comprises storage mediums, which have a plurality of physical storage areas, and a controller, which defines a plurality of logical volumes using the storage mediums to control data write to the storage mediums and data read out of the storage mediums,
- wherein the first storage system makes at least one of the plurality of logical volumes recognizable to the first server computer,
- wherein each of the plurality of logical volumes has a storage area space including a plurality of address ranges,
- wherein, upon reception of a request to write data in one of the plurality of address ranges, the first storage system allocates at least one of the plurality of physical storage areas, that is not allocated to any of the plurality of address ranges, to the one of the plurality of address ranges where the data is requested to be written, and stores the data requested to be written in the allocated physical storage area,
- wherein the plurality of logical volumes include a first logical volume and a second logical volume,
- wherein the plurality of address ranges in the second logical volume are not allocated the plurality of physical storage areas,
- wherein the first server computer comprises a first interface, which communicates with the first storage system, a first processor, which is coupled to the first interface, and a first memory, which is coupled to the first processor,
- wherein the first server computer holds information identifying data stored in the first logical volume,
- wherein the management unit sends a request to the first server computer to make every piece of data stored in the first logical volume migrate to the second logical volume,
- wherein, upon reception of the request to make the data migrate, the first server computer sends to the first storage system a request to read every piece of data stored in the plurality of address ranges of the first logical volume and a request to write the every piece of data in the plurality of address ranges of the second logical volume,
- wherein, after the every piece of data has been written in the plurality of address ranges of the second logical volume, the management unit sends a request to the first storage system to delete the first logical volume, and
- wherein, upon reception of the request to delete the first logical volume, the first storage system deletes the first logical volume.
A method of controlling a computer system comprising a first storage system, a first server computer, which is coupled to the first storage system, and a management unit which manages the first storage system and the first server computer,
- the first storage system comprising storage mediums, which includes a plurality of physical storage areas, and a controller, which defines a plurality of logical volumes using the storage mediums to control data write to the storage medium and data read out of the storage mediums,
- the first storage system making at least one of the plurality of logical volumes recognizable to the first server computer,
- each of the plurality of logical volumes having a storage area space including a plurality of address ranges,
- upon reception of a request to write data in one of the plurality of address ranges, the first storage system allocating at least one of the plurality of physical storage areas that is not allocated to any of the plurality of address ranges, to the one of the plurality of address ranges where the data is requested to be written, and storing in the allocated physical storage area the data requested to be written,
- the plurality of logical volumes including a first logical volume and a second logical volume,
- the plurality of address ranges in the second logical volume being not allocated the plurality of physical storage areas,
- the first server computer comprising a first interface, which communicates with the storage system, a first processor, which is coupled to the first interface, and a first memory, which is coupled to the first processor,
- the first server computer holding information for identifying data stored in the first logical volume,
- the method comprising:
- sending, by the management unit, a request to the first server computer to make every piece of data stored in the first logical volume migrate to the second logical volume;
- and
- deleting, by the first storage system, after the data has been written in the plurality of address ranges of the second logical volume, the first logical volume.
Dependencies are inferred from the claim text.