Metadata recovery method and apparatus
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
Information query
Patent Agency Ranking
0/0