Data recovery method, system, and apparatus in storage system
AssigneeHuawei Technologies Co., Ltd.
InventorGuiyou Pu
Life of this patent
Estimating the term…
Abstract
Embodiments of the present disclosure provide a data recovery method in a storage system. A solid state disk is divided into a plurality of fault domains, and each fault domain is used to provide a physical address for a specific range of logical addresses of an SSD, so that when a fault domain of the solid state disk is faulty, it is unnecessary to reconstruct data in the entire SSD.
Claims14
A data recovery method in a storage system, wherein the storage system comprises a controller, a first solid state disk (SSD), and a second SSD;
- the first SSD and the second SSD each comprise a plurality of fault domains;
- the storage system comprises a chunk group that is formed based on an erasure code (EC) algorithm, and the chunk group comprises a first chunk in the first SSD and a second chunk in the second SSD;
- an address of the first chunk is mapped to a physical address provided by a first fault domain of the first SSD, and an address of the second chunk is mapped to a physical address provided by a second fault domain of the second SSD;
- and
- the method comprises:
- receiving, by the controller, fault information of the first SSD, wherein the fault information indicates that the first fault domain is faulty;
- and
- in response to receiving the fault information, recovering, by the controller based on the erasure code algorithm, data stored at the address of the first chunk in the chunk group.
A storage system, wherein the storage system comprises a controller, a first solid state disk (SSD), and a second SSD;
- the first SSD and the second SSD each comprise a plurality of fault domains, the storage system comprises a chunk group that is formed based on an erasure code (EC) algorithm, and the chunk group comprises a first chunk in the first SSD and a second chunk in the second SSD;
- an address of the first chunk is mapped to a physical address provided by a first fault domain of the first SSD, and an address of the second chunk is mapped to a physical address provided by a second fault domain of the second SSD;
- and
- the controller is configured to:
- receive fault information of the first SSD, wherein the fault information is used to indicate that the first fault domain is faulty;
- and
- in response to receiving the fault information, recover, based on the erasure code algorithm, data stored at the address of the first chunk in the chunk group.
Dependencies are inferred from the claim text.