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

A Bad Sector Mapping Method Based on Mechanical Hard Disk

A mapping method, mechanical hard disk technology, applied to the generation of response errors, the input/output process of data processing, and the redundancy in the calculation of data error detection, etc., can solve the problems of discrete physical sectors, IO errors, etc., Improve system performance and stability

Active Publication Date: 2021-12-17
SHANGHAI UNIV OF ENG SCI
View PDF14 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] In view of the above-mentioned problems and demands in the prior art, the purpose of the present invention is to provide a bad sector mapping method based on a mechanical hard disk to solve the problem of frequent IO errors in the system due to sector damage and the logically continuous but The actual physical sector is discrete, so as to improve the system IO read and write performance, improve system reliability and stability, and prolong the service life of the mechanical hard disk

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 Bad Sector Mapping Method Based on Mechanical Hard Disk
  • A Bad Sector Mapping Method Based on Mechanical Hard Disk
  • A Bad Sector Mapping Method Based on Mechanical Hard Disk

Examples

Experimental program
Comparison scheme
Effect test

Embodiment

[0052] A bad sector mapping method based on a mechanical hard disk provided in this embodiment includes a system, the system is provided with a bad sector management module, and the bad sector management module can detect bad sectors and execute bad sector Mapping operation; Described bad sector mapping method specifically comprises the steps:

[0053] S1) After the system starts, the bad sector management module starts to initialize, and the initialization includes (see figure 2 shown):

[0054] Apply for memory resources from the system;

[0055] Create and initialize bad sector mapping table;

[0056] Obtain the number of hard disk tracks and disks being launched and establish a mapping relationship from logical addresses to physical addresses accordingly;

[0057] Obtain the capacity of the hard disk that is going online, and reserve 5% to 20% of the hard disk space as reserved sectors for mapping;

[0058] Obtain the configuration information of the hard disk that is...

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 bad sector mapping method based on a mechanical hard disk, which comprises the following steps: after the system is started, the bad sector management module starts to initialize; Area management module, after the bad sector management module converts it into a physical address, it detects whether it hits the bad sector mapping table and predicts the bad sector mapping table; then the bad sector management module decides whether to map the mapped physical The address or the real physical address is returned to the system; the system reads and writes the hard disk according to the physical address returned by the bad sector management module. If the read and write succeeds, the IO ends; Bad sector mapping operations for predictive properties. The invention can effectively avoid the problems of frequent IO error reporting and logically continuous but discrete physical sectors in the system caused by continuous sector damage, and can greatly improve the stability and performance of the system.

Description

technical field [0001] The invention relates to a bad sector mapping method based on a mechanical hard disk, and belongs to the technical field of data storage. Background technique [0002] Please refer to the attached figure 1 As shown, mechanical hard disks are disk-type, consisting of a group of overlapping disks, each disk surface is divided into equal number of tracks (Track), and numbered from "0" on the outer edge, with the same The numbered tracks form a cylinder, which is called a cylinder, and each track is divided into several arc segments, and these arc segments are sectors. Data is stored in sectors, and sectors that cannot write data are called bad sectors. [0003] In the life cycle of the mechanical hard disk, there are always "system IO errors caused by sector damage". Therefore, in a storage server with a mechanical hard disk as the main storage medium, IO errors reported due to hard disk sector damage are the main reason for system read and write failu...

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): G06F3/06G06F11/14
CPCG06F3/0616G06F3/0619G06F3/064G06F3/0676G06F11/1415
Inventor 李攀张静张蕊郑昊李杰
Owner SHANGHAI UNIV OF ENG SCI
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