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

Fault-tolerance method for high-reliability disk array

A disk array, a reliable technology, applied in the storage field, can solve the problems of unrecognizable read and write errors, the failure to reduce the damage of the disk array, and the inability to continue writing data, etc., to achieve the effect of easy operation

Active Publication Date: 2013-09-18
SUZHOU KEDA TECH
View PDF6 Cites 15 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

The disadvantage of this scheme is that when a read / write error occurs on the disk, only the number of data blocks with read / write errors is recorded. Even if the read / write error is not caused by the damage of the internal sectors of the disk, the read / write error is still recorded. It will not be repaired. When the number exceeds the fault tolerance limit of the disk array, it will not be able to continue to write data, and when the data blocks marked with read and write errors on a stripe of the disk array exceed the fault tolerance range of the disk array, such as the fault tolerance of RAID5 The range is 1, and the fault tolerance range of RAID6 is 2, and the disk array cannot continue to read and write.
Therefore, this solution cannot reduce the degree of damage to the disk array, and cannot identify read and write errors that are not caused by damage to the disk itself. At the same time, it is difficult for the disk array to achieve high reliability.

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
  • Fault-tolerance method for high-reliability disk array
  • Fault-tolerance method for high-reliability disk array
  • Fault-tolerance method for high-reliability disk array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] This embodiment provides a highly reliable disk array fault-tolerant method, including the following steps:

[0024] (1) When a write error occurs in the disk array, the corresponding processing flow can be as follows figure 1 As shown in , determine the storage space of the disk where the write error data is located, and mark the storage space where the write error occurs. The bad block mark here indicates that the data in the storage space has been damaged, and the next read operation , no longer read the storage space marked with bad blocks;

[0025] (2) When a data read error occurs in the disk array, the corresponding processing flow can be as follows figure 2 As shown, first judge whether the disk array system is complete, if it is complete, calculate the data at the current position through verification, and then write the calculated data back to the corresponding position on the disk, otherwise, the disk with data read error will occur The storage space is ma...

Embodiment 2

[0028] This embodiment is based on the Badblock mechanism of Linux kernel version 3.6, and describes in detail the highly reliable disk array fault-tolerant method of the present invention. For Linux kernel version 3.6, in the processing process of RAID5 and RAID6, each time a page is used for processing , a page is 4K, and a sector is the smallest unit of disk data storage, the size is 512 bytes, so 8 sectors are processed at a time, so 8 sectors are marked each time, which is easy to operate. The fault-tolerant method of the highly reliable disk array described in this embodiment includes the following steps:

[0029] (1) When a write error occurs in the disk array, the corresponding processing flow can be as follows image 3 As shown in , determine the sector of the disk where the data where the write error occurs. The sectors here are 8 sectors that are simultaneously written. Set the 8 sectors where the write error occurs as Badblock. Here Badblock indicates that the dat...

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 fault-tolerance method for a high-reliability disk array. The fault-tolerance method comprises the following steps: when a data write error occurs, confirming storage space of a disk in which data with the write error is, and carrying out bad block marking on the storage space; when a data read error occurs, judging if the disk array is complete, if so, working out current position data by checking, writing the data in a corresponding position of the disk, and otherwise, carrying out bad block marking on the storage space with the data read error; and when a next write operation is carried out, carrying out the write operation on the storage space subjected to bad block marking, if the storage space is successfully written and the subsequent read operation is also successful, removing a bad block mark of the storage space, and on the contrary, remaining the bad block mark. According to the fault-tolerance method, the technical problems that only bad block information of read-write errors is recorded and bad blocks are not repaired in a disk array system and the disk array system is limited by a fault-tolerance range in the prior art are solved; and the fault-tolerance method is in particular suitable for occasions with low data accuracy requirements.

Description

technical field [0001] The invention relates to the field of storage, in particular to a fault-tolerant method in a disk array system. Background technique [0002] RAID (Redundant Arrays of Inexpensive Disks) refers to a cheap and redundant disk array. It is a large-capacity disk group composed of many cheap, small-capacity, and high-stability disks. RAID has a certain fault-tolerant capability. When any one of the disks fails, data can still be read out. When data is reconstructed, the data is recalculated and placed in a new disk. RAID technology mainly includes several specifications such as RAID 0 to RAID 7, and their emphases are different. Both RAID5 and RAID6 have certain error handling strategies, which can calculate the data where errors occur through stripe verification. When a disk read error occurs, RAID will perform data write-back repair through verification, which can reduce the possibility of another error. When a disk write error occurs, RAID itself does...

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/16
Inventor 周麒马建朋林莉芬陈卫东
Owner SUZHOU KEDA 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