Patent ID: 8683120
Filing Date: 2014-03-25
Classification: G06F

Abstract:
1. A storage system comprising: a plurality of hard disk drives; and a storage controller providing a plurality of virtual volumes to a server and including a processor and a memory; wherein the plurality of hard disk drives are allocated to a plurality of logical volumes, wherein the storage controller maps first addresses of the plurality of hard disk drives to be allocated to first addresses of the plurality of logical volumes and maps second addresses of the plurality of hard disk drives to be allocated to second addresses of the plurality of logical volumes, and the first addresses of the plurality of logical volumes are relatively smaller than the second addresses of the plurality of logical volumes, wherein the storage controller obtains a target address of a virtual volume of the plurality of virtual volumes for data of a write request, the target address being unallocated; calculates a location in the virtual volume based on the target address; and searches a near page which is nearest to a corresponding location in a logical volume; wherein the storage controller allocates the near page in the logical volume to the unallocated target address of the virtual volume; wherein the target address of the virtual volume comprises a virtual volume name identifying the virtual volume and a virtual volume address in the virtual volume; wherein calculating a location in the virtual volume based on the target address comprises calculating a location percentage which is equal to the virtual address divided by a capacity of the virtual volume identified by the virtual volume name; wherein the location percentage is used to find the near page in the logical volume; wherein the storage controller controls to allocate pages of the plurality of logical volumes so as to allocate outer sections of the plurality of hard disk drives to lower addresses of the virtual volumes and allocates pages of the plurality of logical volumes so as to allocate inner sections of the plurality of hard disk drives to higher addresses of the virtual volumes.