×

Storage apparatus and storage management method for storing entries in management tables

  • US 8,495,331 B2
  • Filed: 12/22/2010
  • Issued: 07/23/2013
  • Est. Priority Date: 12/22/2010
  • Status: Expired due to Fees
First Claim
Patent Images

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 all claims
  • 1 Assignment
Timeline View
Assignment View
    ×
    ×