Storage apparatus and storage management method for storing entries in management tables
First Claim
1. A storage apparatus coupled to a plurality of host computers, comprising:
- a processor;
a plurality of storage resources configured to provide a storage pool;
a plurality of virtual volumes configured for block-based access by the plurality of host computers;
one or more file systems created on one or more of the plurality of virtual volumes configured to be accessed by at least one user over one or more of the plurality of host computers; and
a non-transitory memory configured to store;
a first table for recording a plurality of entries, each comprising an ID for one of the virtual volumes, an ID for one of the plurality of host computers which accessed the plurality of virtual volumes, and information on used capacity of a virtual volume used by the one of the plurality of host computers;
a second table for recording a plurality of entries for the host computers each of which comprises an ID for one of the plurality of host computers, information on total used capacity of the virtual volumes aggregated by the ID for the one of the plurality of host computers, and a threshold of capacity set for the one of the plurality of host computers,wherein in response to creation of each of the one or more file systems, the processor is configured to specify one of the entries in the first table which includes an ID for the virtual volume where the file system is created, delete the entry, add one or more of entries corresponding to at least one user accessing the file system, and record an ID for one of the plurality of host computer which accesses the file system by the at least one users for the file system thereover,wherein, the processor is configured to;
in response to a write request to a storage area of the one of the virtual volumes, allocate one or more of the storage resources from the storage pool to the storage area when the one or more storage resources has not been allocated to the storage area;
in response to a block-based write request to one of the virtual volumes from a first host computer of the host computers, specify the total used capacity and the threshold for the first host computer based on the first and second tables, determine whether the write data can be written or not based on amount of the write data, the total capacity and the threshold for the first computer, and update the used capacity and the total used capacity for the first host computer of the first and second tables by amount of write data of the block-based write request; and
in response to a file-based write request to one of the file systems, specify a second host computer of the host computers set for a file system to be accessed, specify the total used capacity and the threshold for the second host computer based on the first and second tables, determine whether the write data can be written or not based on the amount of the write data, the total capacity and the threshold for the second computer, and update the used capacity and the total used capacity for the second host computer of the first and the second tables by amount of write data of the file-based write request.
1 Assignment
0 Petitions
Accused Products
Abstract
A storage apparatus is connected via a network to a plurality of host computers requesting data writing. The storage apparatus includes: a volume creation unit for creating virtual volumes to be accessed by the host computers; an allocation unit for allocating a storage area of the storage apparatus to a data storage area of the virtual volumes in response to a data write request from the host computers; and a capacity management unit for managing the capacity of data written from the host computers; wherein the capacity management unit adds the data written from the host computers with regard to each host computer and judges whether a total value of the added data exceeds a specified threshold or not.
-
Citations
6 Claims
-
1. A storage apparatus coupled to a plurality of host computers, comprising:
-
a processor; a plurality of storage resources configured to provide a storage pool; a plurality of virtual volumes configured for block-based access by the plurality of host computers; one or more file systems created on one or more of the plurality of virtual volumes configured to be accessed by at least one user over one or more of the plurality of host computers; and a non-transitory memory configured to store; a first table for recording a plurality of entries, each comprising an ID for one of the virtual volumes, an ID for one of the plurality of host computers which accessed the plurality of virtual volumes, and information on used capacity of a virtual volume used by the one of the plurality of host computers; a second table for recording a plurality of entries for the host computers each of which comprises an ID for one of the plurality of host computers, information on total used capacity of the virtual volumes aggregated by the ID for the one of the plurality of host computers, and a threshold of capacity set for the one of the plurality of host computers, wherein in response to creation of each of the one or more file systems, the processor is configured to specify one of the entries in the first table which includes an ID for the virtual volume where the file system is created, delete the entry, add one or more of entries corresponding to at least one user accessing the file system, and record an ID for one of the plurality of host computer which accesses the file system by the at least one users for the file system thereover, wherein, the processor is configured to; in response to a write request to a storage area of the one of the virtual volumes, allocate one or more of the storage resources from the storage pool to the storage area when the one or more storage resources has not been allocated to the storage area; in response to a block-based write request to one of the virtual volumes from a first host computer of the host computers, specify the total used capacity and the threshold for the first host computer based on the first and second tables, determine whether the write data can be written or not based on amount of the write data, the total capacity and the threshold for the first computer, and update the used capacity and the total used capacity for the first host computer of the first and second tables by amount of write data of the block-based write request; and in response to a file-based write request to one of the file systems, specify a second host computer of the host computers set for a file system to be accessed, specify the total used capacity and the threshold for the second host computer based on the first and second tables, determine whether the write data can be written or not based on the amount of the write data, the total capacity and the threshold for the second computer, and update the used capacity and the total used capacity for the second host computer of the first and the second tables by amount of write data of the file-based write request. - View Dependent Claims (2, 3)
-
-
4. A storage management method, comprising:
-
storing, in non-transitory memory, a first table for recording a plurality of entries, each comprising; an ID for one of a plurality of virtual volumes configured to be accessed by a plurality of host computers; an ID for one of the plurality of host computers which accessed the plurality of virtual volumes; and information on used capacity of a virtual volume used by the one of the plurality of host computers; storing, in the non-transitory memory, a second table for recording a plurality of entries for the host computers each of which comprises an ID for one of the plurality of host computers, information on total used capacity of the virtual volumes aggregated by the ID for the one of the plurality of host computers, and a threshold of capacity set for the one of the plurality of host computers, in response to creation of each of the one or more file systems, specifying one of the entries in the first table which includes an ID for the virtual volume where the file system is created, deleting the entry, adding one or more of entries corresponding to at least one user which accesses the file system by the at least one users for the file system thereover, in response to a write request to a storage area of the one of the virtual volumes, allocating, by a processor, one or more storage resources from a storage pool to the storage area when the one or more storage resources has not been allocated to the storage area; in response to a block-based write request to one of the virtual volumes from a first host computer of the host computers, specifying the total used capacity and the threshold for the first host computer based on the first and second tables, determining whether the write data can be written or not based on amount of the write data, the total capacity and the threshold for the first computer, and updating, by the processor, the used capacity and the total used capacity for the first host computer of the first and second tables by amount of write data of the block-based write request; and in response to a file-based write request to one of the file systems, specifying a second host computer of the host computers set for the file system to be accessed, specifying the total used capacity and the threshold for the second host computer based on the first and second tables, determining whether the write data can be written or not based on the amount of the write data, the total capacity and the threshold for the second computer, and updating, by the processor, the used capacity and the total used capacity for the second host computer of the first and the second tables by amount of write data of the file-based write request. - View Dependent Claims (5, 6)
-
Specification