Invention Grant
- Patent Title: Metadata recovery method and apparatus
-
Application No.: US15928330Application Date: 2018-03-22
-
Publication No.: US10572335B2Publication Date: 2020-02-25
- Inventor: Yu Zeng
- Applicant: Huawei Technologies Co., Ltd.
- Applicant Address: CN Shenzhen
- Assignee: Huawei Technologies Co., Ltd.
- Current Assignee: Huawei Technologies Co., Ltd.
- Current Assignee Address: CN Shenzhen
- Agency: Slater Matsil, LLP
- Priority: CN201610107365 20160226
- Main IPC: G06F11/07
- IPC: G06F11/07 ; G06F16/23 ; G06F11/14 ; G06F12/1036 ; G06F12/10

Abstract:
Embodiments of the present invention relate to the data storage field, and provide a metadata recovery method and apparatus that are applied to a storage array. The method includes: when first mapping data is intact and second mapping data is corrupted, reading each second logical block in a granularity of a size of a third logical block; obtaining logical address blocks LBA stored in granular data, to obtain an LBA range corresponding to each segment of granular data; determining, by using a correspondence between LBA ranges and identifiers of third logical blocks, an identifier of a third logical block corresponding to the LBA range of each segment of granular data; and generating, when metadata that includes the determined identifier of the third logical block does not exist in the second mapping data, metadata that includes the identifier of the third logical block.
Public/Granted literature
- US20180210784A1 Metadata Recovery Method and Apparatus Public/Granted day:2018-07-26
Information query