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

A Recovery Method for Distributed Storage Block Devices

A technology of distributed storage and recovery method, which is applied in the field of distributed storage block device recovery, can solve problems such as block device recovery, and achieve the effect of data recovery

Active Publication Date: 2022-04-01
G CLOUD TECH
View PDF6 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The technical problem solved by the present invention is to provide a distributed storage block device recovery method; to solve the block device recovery problem when the distributed cluster fails

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
  • A Recovery Method for Distributed Storage Block Devices

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0031] See figure 1 As shown, it is a flow chart of the distributed storage block device recovery method in the present invention; the method includes:

[0032] Step 1: Export metadata on each storage node.

[0033] After the distributed storage fails, we need to export the metadata of the block device. The information of each block device includes size, id, etc. A block device is composed of multiple metadata, and is distributed on multiple storage nodes according to the multi-copy strategy. Each piece of metadata starts with the id of the block device where it resides, followed by a string of random numbers.

[0034] The specific steps are:

[0035] a. Create a directory nodeA_mount, and mount the storage node data storage partition to the directory nodeA_mount;

[0036] b. Find out all the metadata starting with the id of the block device by polling;

[0037] c. Create a metadata storage directory nodeA_export, and copy the metadata in step b to the directory nodeA_ex...

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 invention relates to the technical field of distributed data storage, in particular to a recovery method for distributed storage block devices. The method of the present invention includes the following steps: Step 1: export the metadata on each storage node; Step 2: classify and archive the metadata on each storage node according to the id of the block device; Step 3: export the metadata on all storage nodes Copy the metadata of the same id to the same directory; Step 4: Merge the metadata. The invention solves the problem of block device recovery when the distributed cluster fails.

Description

technical field [0001] The invention relates to the technical field of distributed data storage, in particular to a recovery method for distributed storage block devices. Background technique [0002] Distributed storage adopts a multi-copy strategy to disperse data on multiple storage nodes, and store at most one copy of data on each storage node. When the number of failed storage nodes in the cluster exceeds the number of replicas, it means data loss, and the cluster enters a fault state and cannot provide services normally. At this time, only the metadata on all storage nodes can be exported, and the metadata can be merged one by one into a copy data. Contents of the invention [0003] The technical problem solved by the present invention is to provide a method for recovering distributed storage block devices; to solve the problem of recovering block devices when distributed clusters fail. [0004] The technical scheme that the present invention solves the problems of...

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
Patent Type & Authority Patents(China)
IPC IPC(8): G06F3/06
Inventor 洪英标季统凯
Owner G CLOUD TECH
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