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

Method for processing bad sectors of RAID5 disk array

A disk array and bad sector technology, applied in the direction of input/output to the record carrier, etc., can solve the problems of unfavorable data security, waste of storage resources, unavailability of the array, etc., to prolong the service life, improve the stability, and ensure the reliability of the data. sexual effect

Inactive Publication Date: 2014-01-22
INSPUR BEIJING ELECTRONICS INFORMATION IND
View PDF7 Cites 14 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0009] In the current RAID5 technology, when there are bad sectors in two disks in the disk array, the entire array will be unavailable and data will be lost, which greatly wastes storage resources and is not conducive to data security.

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 for processing bad sectors of RAID5 disk array
  • Method for processing bad sectors of RAID5 disk array
  • Method for processing bad sectors of RAID5 disk array

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0023] Refer to the attached Figure 4 , to describe the method provided by the present invention with a specific example for the content of the present invention.

[0024] When creating a RAID5 disk array, add 4KB of bad block recording space to the super block of each RAID member disk to record the location of bad sectors in each member disk. Each bad block record is represented by 64 bits, the highest bit indicates whether this record has been confirmed, if the highest bit is set, it means that the sector of this record is a bad sector and cannot be used, otherwise it is not; the lower 9 bits are this record Indicates the size of the bad sector; the middle 54 bits are the starting address of the bad sector.

[0025] When the RAID5 disk array is started, the data in the bad block recording space of each member disk is mapped to the memory, and a bad block table is established in the memory. When performing RAID5 write operations, first check whether the target sector has a...

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 a method for processing bad sectors of an RAID5 disk array. A 4KB bad block recording space is added to a super block of each RAID member disk to record the positions of the bad sectors in all the member disks when the RAID5 disk array is set up. When the RAID5 disk array is started, data of the recording space of bad blocks in each member disk are mapped to a memory, a bad block table is set up in the memory, and the corresponding operation is conducted according to the record of a disc sector in the memory bad block table when the write operation of the disk sector is executed and when errors occur in the process of executing the read operation of the disk sector. According to the method, when the bad sectors appear in the disks, the disks do not need to be removed, only the bad sectors need to be marked, the bad sectors do not need to be read or written, stability of the RAID5 disk array is greatly improved, the service life of the disk array is prolonged, the use ratio of stored resources is improved, and reliability of data is ensured.

Description

technical field [0001] The invention relates to the technical field of disk arrays, in particular to a method for processing bad sectors of a RAID5 disk array. Background technique [0002] RAID technology is to use relatively small-capacity disks to form a large-capacity disk array according to certain rules to provide external storage resources. RAID (Redundant Array of Independent Disks) is called Redundant Array of Independent Disks. [0003] The main purposes of using RAID are: [0004] (1) Redundantly store the data on the disk to achieve fault tolerance. [0005] (2) When there is an I / O request, the disk can be accessed concurrently to improve the throughput. [0006] as attached figure 1 As shown, RAID5 supports redundancy, and checksum information is stored on all disks in the array. Its checksum technology uses exclusive-or checksums in disk stripes, which is called "using block cross access and checksum uniformity". distribution" mode. A stripe is the divisi...

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): G06F3/06
Inventor 周耀辉李伟国
Owner INSPUR BEIJING ELECTRONICS INFORMATION IND
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