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

Method and device for processing bad blocks in disk array raid

A technology of a disk array and a processing method, applied in the computer field, can solve the problems of short service life of hard disks and increased cost of operation and maintenance systems, and achieve the effects of saving system resources and system overhead, and reducing replacement and reconstruction.

Active Publication Date: 2018-06-26
ZHEJIANG DAHUA TECH CO LTD
View PDF2 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] This application provides a method and device for processing bad blocks in a disk array RAID, which is used to solve the problem in the prior art that when a hard disk is detected to have bad blocks and cannot be repaired, a new hard disk is directly used to replace the bad hard disk, thus causing the hard disk to actually Short service life, resulting in technical problems of increased operation and maintenance system costs

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
  • Method and device for processing bad blocks in disk array raid
  • Method and device for processing bad blocks in disk array raid
  • Method and device for processing bad blocks in disk array raid

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0026] In order to make the purpose, technical solutions and advantages of the application clearer, the application will be further described in detail below in conjunction with the accompanying drawings. Obviously, the described embodiments are only some of the embodiments of the application, not all of them. . Based on the embodiments in this application, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the scope of protection of this application.

[0027] Disk array RAID is a large-capacity disk group composed of many relatively cheap disks. Using this technology, the data is cut into many sections and stored on each hard disk respectively. Among them, the stripe is the continuous data. A method of dividing data into blocks of the same size and writing each piece of data to different disks in the array. Such as figure 1 Shown is a schematic diagram of stripes in RAID5 in the prior art disk array. The disk ar...

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 computers, and more particularly to a method and a device for processing bad blocks of a redundant array of independent disk (RAID), aiming at solving problems in the prior art that actual life service of a hard disk is shortened and the cost of a maintenance system is increased as a new hard disk replaces the bad hard disk when it is detected that the hard disk has bad blocks and the bad blocks cannot be repaired. The method comprises the steps of determining a stripe corresponding to a first bad block according to a first bad block in the RAID; determining original data corresponding to the first bad block according to data corresponding to a first normal block in the stripe in other hard disks of the RAID; and storing determined original data into at least one second normal block in at least one global hot backup disk and establishing a mapping relation between the first bad block and the second normal block. When the hard disk has bad blocks, it is not necessary to replace the hard disk with a new hard disk, the original data corresponding to the bad block in the hard disk only needs to be stored in the normal block of the global backup, thereby reducing replacement and reconstruction of the hard disk, and saving system resources and system overhead.

Description

technical field [0001] The present application relates to the field of computer technology, and in particular to a method and device for processing bad blocks in a disk array RAID. Background technique [0002] RAID (Redundant Arrays of Independent Disks, disk array) means "an array with redundant capabilities composed of independent disks", Stripe (stripe) is to divide continuous data into data blocks of the same size, and write each data block separately method to group different disks in the RAID. [0003] Because hard disks in RAID need to write or read data frequently, especially in operations that require a large amount of I / O, such as monitoring-level hard disks, the operations on hard disks are more frequent, which may make the hard disks in RAID One or some blocks are damaged. When a block is damaged in the hard disk, it will first try to repair the data of the damaged block according to the data of other blocks in the stripe where the damaged block is located. If ...

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): G06F11/16G06F3/06
CPCG06F3/0614G06F3/0689G06F11/1662
Inventor 罗心王欢陈立力范伟云
Owner ZHEJIANG DAHUA TECH CO LTD