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

Disk bad block processing method and device

A bad block and disk technology, which is applied in the field of disk bad block processing, can solve problems such as the inability to guarantee disk data balance, and achieve the effect of ensuring data balance

Inactive Publication Date: 2020-05-12
SHENZHEN IPANEL TECH LTD
View PDF0 Cites 3 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] The object of the present invention is to propose a method and device for disk bad block processing, to solve the problem of recovering data to a new disk when data recovery is performed due to the bad block processing method of HDFS in the prior art when bad blocks are found, The problem that data balance on each disk cannot be guaranteed

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
  • Disk bad block processing method and device
  • Disk bad block processing method and device
  • Disk bad block processing method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0046] Explanation of terms:

[0047] File system: It is the method and data structure used by the operating system to specify files on storage devices (commonly disks, and also NAND Flash-based solid-state drives) or partitions; that is, the method of organizing files on storage devices. The software organization responsible for managing and storing file information in the operating system is called a file management system, or file system for short. The file system consists of three parts: the interface of the file system, the software collection for object manipulation and management, objects and attributes. From a system point of view, a file system is a system that organizes and allocates the space of a file storage device, is responsible for file storage, and protects and retrieves stored files. Specifically, it is responsible for creating files for users, storing, reading, modifying, and dumping files, controlling file access, and revoking files when users no longer us...

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 disk bad block processing method and device, and the method is applied to a distributed storage file system, and comprises the steps: firstly determining a data block identification corresponding to a data block with a bad block when the bad block is detected to exist in a data block in a target disk in the distributed storage file system; then, obtaining associated datacorresponding to the data block identifier according to the data block identifier; and finally, recovering lost data according to the associated data, and storing the recovered data into a reserved data block area of the target disk. According to the invention, a reserved data block area is added to each disk in the distributed storage file system; when it is detected that the bad blocks occur inthe data blocks in the disks, data recovery is conducted on bad block data, after data recovery is conducted, the recovered data is stored in the data blocks in the reserved data block areas in the disks corresponding to the bad blocks, other disks do not need to be occupied any more, and therefore data balance on all the disks is guaranteed.

Description

technical field [0001] The invention relates to the technical field of computer disk processing, in particular to a method and device for processing bad blocks of a disk. Background technique [0002] At present, the vast majority of disks belong to HDFS (Hadoop Distributed File System, distributed file system). When the data block comes out of the factory, there may be bad blocks. For the bad block processing of HDFS, the scanner regularly scans the data blocks on the nodes. All blocks to find bad blocks, report the bad blocks to the disk manager, and repair the bad blocks through the disk manager, but the repair of the bad blocks may create a copy of the bad block on other disks, and restore the data in the bad block The content is not necessarily stored in the currently damaged disk; through experimental verification, the bad block processing of HDFS in the prior art may search for new data blocks when recovering lost data, and restore the data to other disks. Data balan...

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): G06F11/14G06F3/06
CPCG06F3/0619G06F3/064G06F3/065G06F3/067G06F11/1448G06F11/1469
Inventor 徐佳宏李银
Owner SHENZHEN IPANEL TECH LTD
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