Self-detection method and device for disk bad block

A self-detection, bad block technology, applied in error detection/correction, redundant code error detection, response error generation, etc., can solve the problem of insignificant effect, low space utilization, and low efficiency of disk bad block detection question

Active Publication Date: 2016-06-15
SHENZHEN TENCENT COMP SYST CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0017] The current disk bad block detection method has a low space utilization rate: in Internet industry applications, due to relatively high requirements for data availability, generally one or more copies of data are backed up, which is sufficient to ensure data availability. The function of the data redundancy error correction scheme is not obvious when there are multiple backups;
[0018] The efficiency of disk bad block detection is not high: since data blocks and check blocks are scattered in each disk, one check needs to operate multiple disks;

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
  • Self-detection method and device for disk bad block
  • Self-detection method and device for disk bad block
  • Self-detection method and device for disk bad block

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0049] The basic idea of ​​the present invention is to divide each mounted data block into sub-data blocks and divide them into n equal-sized sub-data blocks, where n is an integer not less than 2; Check information, save data in other positions of each sub-data block except the fixed position, wherein the check information is the parity check information of the data; when reading and writing data, according to the read sub-data block The verification information of the fixed position is used for data verification.

[0050] The present invention will be further described in detail below through the accompanying drawings and specific embodiments.

[0051] The present invention realizes a self-detection method for disk bad blocks, such as image 3 As shown, the method includes the following steps:

[0052] Step 101: Divide each mounted data block into sub-data blocks, and divide them into n equal-sized sub-data blocks, where n is an integer not less than 2; set check informati...

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

It is described a bad disk block self-detection method, including: each mounted chunk is partitioned into n sub-chunks, all sub-chunks having a same size, where n is an integer not less than 2; checking information is set at a fixed location of each sub-chunk, data is stored onto locations of each sub-chunk other than the fixed location, where the checking information is parity checking information for the data; and when the data is read or written, data verification is performed based on the checking information set at the fixed location of the read sub-chunk. It is also described a bad disk block self-detection apparatus and a computer storage medium. With the described above, the bad block on the disk can be detected rapidly, and it is able to instruct data migration and disk replacement.

Description

technical field [0001] The invention relates to data storage technology, in particular to a method and device for self-detection of disk bad blocks Background technique [0002] Hard disk data is stored in blocks as logical units on the magnetic medium of the hard disk. Corresponding sectors cannot be read or written or data errors on the block will result in bad blocks, making the data unusable. In order to ensure the availability of data, the storage system needs to have the ability to detect bad blocks on the disk, so as to avoid reading and writing bad blocks and migrate important data in time. The usual practice is to store certain redundant information according to the data, and judge whether a bad block is generated by the redundant information in the next read and write operation. Typical methods include ECC and RAID5 / 6. [0003] ECC is a Forward Error Correction Coding (FEC, Forward Error Correction) method, which was originally used for error detection and error c...

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 & AuthorityPatents(China)
IPC IPC(8): G06F11/10
CPCG06F11/1076G06F3/0619G06F3/0647G06F3/0689
Inventor娄继冰陈杰黄楚加
OwnerSHENZHEN TENCENT COMP SYST CO LTD