Method, apparatus, and controller for managing storage array
AssigneeHuawei Technologies Co., Ltd.
InventorTao Gong
Life of this patent
Estimating the term…
Abstract
A method and a controller for managing a storage array is presented. The storage array is divided into a first subset of storage devices and a second subset of storage devices according to degrees of wear of storage devices, such that a degree of wear of each of storage device in the first subset is greater than or equal to a degree of wear of any storage device in the second subset, and then, to-be-written data are written into the physical storage devices in the first subset. Therefore, service lives of storage devices in the second subset may be extended relatively by shortening service lives of storage devices in the first subset.
Claims24
A method implemented by a controller for managing a storage array formed by N physical storage devices, wherein N>=2, the method comprising:
- acquiring degrees of wear of the N physical storage devices, each physical storage device having a degree of wear;
- determining that the degree of wear of each of at least M physical storage devices is greater than or equal to a preset wear threshold, wherein 1≤M≤N;
- dividing the N physical storage devices of the storage array into a first subset and a second subset;
- and
- writing to-be-written data corresponding to a plurality of write operations into the first subset so as to increase services borne by the first subset and widen an interval between a failed time of the first subset and a failed time of the second subset.
A controller of a storage array having N physical storage devices, wherein N>=2, comprising:
- a memory configured to store computer-executable instructions;
- a communications interface;
- a processor;
- and
- a system bus coupled to the processor, the memory, and the communications interface, wherein the processor is configured to communicate with the storage array through the communication interface, and to execute the computer-executable instructions to perform operations of:
- acquiring degrees of wear of the N physical storage devices of the storage array, each physical storage device having a degree of wear;
- determining that the degree of wear of each of at least M physical storage devices is greater than or equal to a preset wear threshold, wherein 1≤M≤N;
- dividing the N physical storage devices of the storage array into a first subset and a second subset;
- and
- writing to-be-written data corresponding to a plurality of write operations into the first subset so as to increase services borne by the first subset and widen an interval between a failed time of the first subset and a failed time of the second subset.
A method implemented by a controller for managing a storage array, the method comprising:
- determining a degree of wear of each of a plurality of physical storage devices of the storage array is greater than a threshold;
- and
- writing to-be-written data into a subset of the plurality of physical storage devices to increase services borne by the subset and widen an interval between a failed time of the subset and a failed time of physical storage devices outside the subset.
A controller of a storage array, comprising:
- a memory configured to store computer-executable instructions;
- a communications interface;
- a processor;
- and
- a system bus coupled to the processor, the memory, and the communications interface, wherein the processor is configured to communicate with the storage array through the communication interface, and to execute the computer-executable instructions to perform operations of:
- determining a degree of wear of each of a plurality of physical storage devices of the storage array is greater than a threshold;
- and
- writing to-be-written data into a subset of the plurality of physical storage devices to increase services borne by the subset and widen an interval between a failed time of the subset and a failed time of physical storage devices outside the subset.
A method implemented by a controller for managing a storage array formed by N physical storage devices, wherein N>=2, the method comprising:
- receiving a plurality of write operations carrying to-be-written data;
- and
- writing the to-be-written data into at least one physical storage device in a first subset to increase service borne of the first subset and widen an interval between a failed time of the first subset and a failed time of a second subset, wherein the N physical storage devices of the storage array is divided into the first subset and the second subset when degree of wear of each of at least M physical storage devices is greater than or equal to a preset wear threshold, wherein 1≤M≤N.
A controller for managing a storage array formed by N physical storage devices, wherein N>=2, comprising:
- a memory configured to store computer-executable instructions;
- a communications interface;
- a processor;
- and
- a system bus coupled to the processor, the memory, and the communications interface, wherein the processor is configured to communicate with the storage array through the communication interface, and to execute the computer-executable instructions to perform operations of:
- receiving a plurality of write operations carrying to-be-written data;
- and
- writing the to-be-written data into at least one physical storage device in a first subset to increase service borne of the first subset and widen an interval between a failed time of the first subset and a failed time of a second subset, wherein the N physical storage devices of the storage array are divided into the first subset and the second subset when a degree of wear of each of at least M physical storage devices is greater than or equal to a preset wear threshold, wherein 1≤M≤N.
Dependencies are inferred from the claim text.