Method and apparatus, and readable storage medium
AssigneeHuawei Technologies Co., Ltd.
InventorsJianhua Zhou, Meng Zhou
Life of this patent
Estimating the term…
Abstract
A redundant array of independent disks (RAID) management method includes, when detecting that a component in a storage medium fails, recovering, based on a RAID policy, data stored in the failed component, saving the recovered data into a pre-defined redundant space of the RAID, and mapping an address of the failed component with the address of the redundant space, converting, according to the mapping, an address of to-be-accessed data comprised in an accessing request into an address within the redundant space, and accessing the to-be-accessed data from the redundant space according to the address within the redundant space.
Claims20
A redundant array of independent disks (RAID) management method, comprising:
- recovering data stored in a failed component in a storage medium based on a RAID policy when detecting the failed component in the storage medium;
- receiving configuration instructions for a maintenance-free rate and a maintenance-free period based on a requirement;
- configuring a pre-defined redundant space of a RAID based on the configuration instructions;
- saving the data into the pre-defined redundant space of the RAID;
- mapping a first address of the failed component with a second address of the pre-defined redundant space;
- converting a third address of to-be-accessed data that is part of an accessing request into a fourth address within the pre-defined redundant space according to the mapping;
- and
- accessing the to-be-accessed data from the pre-defined redundant space according to the fourth address within the pre-defined redundant space.
A redundant array of independent disks (RAID) storage device, comprising:
- a processor;
- and
- a memory coupled to the processor and storing instructions that, when executed by the processor, cause the RAID storage device to be configured to:
- detect a failed component in a storage medium;
- recover data stored in the failed component based on a RAID policy when detecting the failed component;
- receive configuration instructions for a maintenance-free rate and a maintenance-free period based on a requirement;
- configure a pre-defined redundant space of a RAID based on the configuration instructions;
- save the data into the pre-defined redundant space of the RAID;
- map a first address of the failed component with a second address of the pre-defined redundant space;
- convert a third address of to-be-accessed data comprised in an accessing request into a fourth address within the pre-defined redundant space according to the mapping;
- and
- access the to-be-accessed data from the pre-defined redundant space according to the fourth address within the pre-defined redundant space.
A computer program product comprising computer-executable instructions stored on a non-transitory computer-readable medium that, when executed by a processor, cause a redundant array of independent disks (RAID) storage device to:
- detect a failed component in a storage medium;
- recover data stored in the failed component based on a RAID policy when detecting the failed component;
- receive configuration instructions for a maintenance-free rate and a maintenance-free period based on a requirement;
- configure a pre-defined redundant space of a RAID based on the configuration instructions;
- save the data into the pre-defined redundant space of the RAID;
- map a first address of the failed component with a second address of the pre-defined redundant space;
- convert a third address of to-be-accessed data comprised in an accessing request into a fourth address within the pre-defined redundant space according to the mapping;
- and
- access the to-be-accessed data from the pre-defined redundant space according to the fourth address within the pre-defined redundant space.
Dependencies are inferred from the claim text.