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

A method and device for rebuilding a raid array

A technology of array and strip, applied in the field of RAID array reconstruction, can solve the problem of video cannot be played back, and achieve the effect of good playback

Active Publication Date: 2019-01-15
ZHEJIANG UNIVIEW TECH CO LTD
View PDF5 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

In a video data storage environment, this processing method may cause a large number of videos on the array to be unplayable

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 method and device for rebuilding a raid array
  • A method and device for rebuilding a raid array
  • A method and device for rebuilding a raid array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0011] In order to solve the problems mentioned in the background art, the present invention provides a new array reconstruction solution. In the process of rebuilding the redundancy check array, in the event of a read error, the scheme achieves the availability of the array by sacrificing the least data integrity, so that the video surveillance data stored on the array disk can be well played back by the user. It will be described in detail below through specific examples.

[0012] Please refer to figure 1 , the array reconstruction method of the present embodiment includes the following steps:

[0013] S11. During the rebuilding process of the redundancy check array, if the read command for each disk stripe is issued and the read failure is returned, for the stripe that failed to be read, several fragments are reissued to read the data of the stripe Sub-commands, these sub-commands are set not to be merged in the transparent transmission flag of the block layer;

[0014] ...

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 provides an RAID array rebuilding method. The RAID array rebuilding method includes: in the process of redundant checking array rebuilding, if a reading error is returned after a reading order aiming at each disk strip block is issued, reissuing a plurality of suborders for reading data of the strip block in a fragmented manner aiming at the strip block in a reading failure, and disposing unvarnished transmission marks indicating that merging is not performed in a block layer on the suborders; after all operation results of the suborders are returned, considering data of areas corresponding to the suborders failed in reading to be 0, and enabling the data as 0 and data of areas corresponding to the suborders succeeded in reading to jointly form combined data of reading failure strip blocks; according to the combined data of the reading failure strip blocks and data of reading success strip blocks, acquiring checking data, and issuing a writing order to write the checking data into corresponding strip blocks of a rebuilt disk. By the RAID array rebuilding method, in the process of array rebuilding, under the circumstance of reading errors, array usability can be realized by sacrificing minimum data integrity.

Description

technical field [0001] The invention relates to the field of storage technology, in particular to a method and device for rebuilding a RAID array. Background technique [0002] During the rebuilding process of the existing RAID5 array, if a stripe rebuilding command encounters a read error when reading the data disk, the stripe block corresponding to the rebuilding disk will also be marked as having a read error, because the data of this piece is invalid. Afterwards, continue to rebuild the next stripe. After all the stripes are rebuilt, the rebuilt disk is added to the array to become a data disk. In this way, the redundancy of most stripes of the RAID5 array can be restored as soon as possible. [0003] For the RAID5 array that has been rebuilt after this situation occurs, the original rebuilt disk marks read wrong stripes. In fact, there is no problem with reading and writing the disk medium itself, but because the data is invalid, in the case of preventing the read data...

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 ZHEJIANG UNIVIEW TECH CO LTD