Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Metadata restoration method and device

A repair method and metadata technology, which are applied in the fields of electrical digital data processing, special data processing applications, and data processing input/output processes, etc., can solve problems such as failure to completely eliminate illegal operations and increase costs.

Active Publication Date: 2016-07-27
HUAWEI TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

Since the second logical block includes a plurality of third logical blocks, when the second logical block is read at the granularity of the third logical block, a piece of granular data read each time is the data corresponding to one third logical block, According to the LBA stored in each sector in the granular data, the range of the LBA in each piece of granular data can be determined, and the LBA range corresponds to the identifier of the third logical block corresponding to the piece of granular data, so in the second mapping When the metadata composed of the third logical block identifier in the data is damaged, the metadata in the second mapping data can be repaired according to the obtained identifier of the third logical block; when the metadata is damaged in the related art, by Artificially strengthened training cannot completely eliminate the technical problems of illegal operations and will increase a lot of communication costs, which has achieved the effect of improving the efficiency of metadata repair

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Metadata restoration method and device
  • Metadata restoration method and device
  • Metadata restoration method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the object, technical solution and advantages of the present invention clearer, the embodiments of the present invention will be further described in detail below in conjunction with the accompanying drawings.

[0027] The "module" mentioned in this article refers to the program or instruction that can realize certain functions stored in the memory; the "unit" mentioned in this article refers to a functional structure divided according to logic, and the "unit" can be composed of Pure hardware implementation, or a combination of software and hardware.

[0028] Please refer to Figure 1A , which shows a schematic structural diagram of a storage system provided by an exemplary embodiment of the present invention. The storage system includes: a host 110 and a storage array 120 .

[0029] In a storage system, there are a host 110 and a storage array 120 , the host 110 is connected to the storage array 120 , and a user can read and write data to a LUN on the...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The embodiment of the invention provides a metadata restoration method and device, and relates to the field of data storage. The method and the device are applied in a storage array. The method comprises following steps of reading each second logic block through taking the size of each third logic block as a particle size when it is determined that first mapping data is not damaged and second mapping data is damaged; obtaining each logic block address LBA stored in particle data, thus obtaining an LBA range corresponding to the each segment of particle data; determining the identifiers of the third logic blocks corresponding to the LBA range of each segment of particle data through utilization of corresponding relationships between the LBA ranges and the identifiers of the third logic blocks; and generating metadata formed by the identifiers of the third logic blocks when the second mapping data does not contain the metadata containing the determined identifiers of the third logic blocks. According to the method and the device, the technical problems that violation operations cannot be completely eliminated through artificially enhanced training when the metadata is damaged, and much communication cost is increased, in the prior art, are solved; and the effect of improving the metadata restoration efficiency is realized.

Description

technical field [0001] The invention relates to the field of data storage, in particular to a method and device for restoring metadata. Background technique [0002] In a storage array, the data stored in a Logical Unit Number (LUN for short) can be divided into storage data and metadata, wherein the storage data is the data directly stored by the user; the metadata is the data used to manage and index the storage data. If the metadata is damaged, the corresponding stored data cannot be obtained. [0003] When using LUN to save data, it is often encountered that LUN metadata is damaged, such as: illegal operations on storage devices, storage software problems causing metadata damage, and any other scenarios that cause metadata damage (such as array disks) Random insertion, etc.). In order to avoid metadata damage as much as possible, it is necessary to strengthen the training and standardization of storage device operations, and avoid illegal operations by writing detailed...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/14G06F3/06
CPCG06F3/0619G06F3/0689G06F11/1448G06F12/1036G06F11/1402G06F11/1435G06F11/073G06F11/0751G06F11/0793G06F16/2365G06F12/10G06F2212/1032G06F2212/657
Inventor 曾煜
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products