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

A Fault Tolerant Method of Highly Reliable Disk Array

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

Active Publication Date: 2015-08-12
SUZHOU KEDA TECH
View PDF5 Cites 0 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
  • A Fault Tolerant Method of Highly Reliable Disk Array
  • A Fault Tolerant Method of Highly Reliable Disk Array
  • A Fault Tolerant Method of Highly Reliable Disk Array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0023] This embodiment provides a high-reliability disk array fault tolerance 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, determine the storage space of the disk where the write error occurred, and mark the storage space where the write error occurred. The bad block mark here indicates that the data in the storage space has been damaged, and the next read operation When the time, the storage space that has been marked as bad block is no longer read;

[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 determine whether the disk array system is complete, if it is complete, the data at the current position is calculated through verification, and then the calculated data is written back to the corresponding position of the disk, otherwise, the disk with data read error will occu...

Embodiment 2

[0028] Based on the Badblock mechanism of Linux kernel 3.6 version, this embodiment describes in detail the high-reliability disk array fault tolerance method of the present invention. For Linux kernel 3.6 version, the processing of RAID5 and RAID6 is processed one page at a time. , 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 convenient for operation. The fault tolerance method of the high-reliability 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 the figure, determine the sector of the disk where the data that has a write error is located. The sectors here are 8 sectors that are being written at the same time. The 8 sectors where the write error occurs are all set to Badblock, here Badblock indicate...

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
Patent Type & Authority Patents(China)
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