Unlock instant, AI-driven research and patent intelligence for your innovation.

Data block repair method and device, equipment and storage medium

A repair method and technology of storage medium, applied in the fields of equipment and storage medium, data block repair method and device, can solve problems such as long time, and achieve the effect of eliminating influence, short execution period, and ensuring performance and stability

Pending Publication Date: 2022-03-08
GUANGDONG INSPUR BIG DATA RES CO LTD
View PDF0 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

From the perspective of probability and statistics, compared with the entire array, the probability of a write IO hitting a bad block is very small, so usually a block will exist for a long time after it is marked as a bad block

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
  • Data block repair method and device, equipment and storage medium
  • Data block repair method and device, equipment and storage medium
  • Data block repair method and device, equipment and storage medium

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0040] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without creative efforts fall within the protection scope of the present invention.

[0041] The embodiment of the present invention discloses a data block repair method, device, equipment, and storage medium. This solution is based on the RAID recent write inspection task to intelligently eliminate bad blocks; , check whether the disk block is readable and verify whether the stripe data is consistent. Since the recent write inspection only detects 1024 IOs recorded in the metadata, the task execution cycle is very short; and the operation function ...

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 discloses a data block repairing method and device, equipment and a storage medium. In the scheme, after the bad block in the RAID is detected, the bad block IO is generated according to the strip number of the bad block and the disk ID, and the bad block IO is stored in the inspection metadata management table; and if the IO information obtained from the routing inspection metadata management table by the latest routing inspection task is the bad block IO, reconstructing data of the bad block according to the bad block IO, and writing the data into a disk. Visibly, in the scheme, the bad blocks are automatically detected, identified and eliminated by utilizing the characteristics of short execution period and high execution speed based on the latest write inspection task of the RAID, so that the influence of the bad blocks on the IO processing performance of the storage array is eliminated in time, the response duration of reading and writing IO at the host end is effectively reduced, the scene that the host end cannot be responded to reading and writing data is avoided, and the data reading and writing efficiency is improved. The safety and the fault-tolerant capability of RAID storage data are improved, and the performance and the stability of the RAID are guaranteed.

Description

technical field [0001] The present invention relates to the technical field of data block repair, and more specifically, to a data block repair method, device, equipment and storage medium. Background technique [0002] A bad block on a disk refers to a block that cannot be erased and written when the disk is physically damaged. RAID (Redundant Arrays of Independent Disks) also has a similar concept. When all copies of a block in the array are unreadable due to media errors, they will be marked as bad blocks. Different from physical bad blocks on the disk, RAID bad blocks are logical bad blocks. These marked bad blocks may be readable at the physical layer (disk or protocol layer), so the bad blocks marked by RAID are possible was eliminated. Bad blocks in the RAID will affect the IO (Input / Output, input / output) processing performance of the storage device. If a block in the array is marked as bad, that block cannot be read. When the client host needs to read the data on...

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 Applications(China)
IPC IPC(8): G11C29/44G06F3/06
CPCG11C29/44G06F3/064G06F3/0614G06F3/061G06F3/0689
Inventor 苏涛王君宝
Owner GUANGDONG INSPUR BIG DATA RES CO LTD