CN105702273A - Method for repairing front-good and back-bad fault of Hitachi hard disk - Google Patents

Method for repairing front-good and back-bad fault of Hitachi hard disk Download PDF

Info

Publication number
CN105702273A
CN105702273A CN201610108305.3A CN201610108305A CN105702273A CN 105702273 A CN105702273 A CN 105702273A CN 201610108305 A CN201610108305 A CN 201610108305A CN 105702273 A CN105702273 A CN 105702273A
Authority
CN
China
Prior art keywords
hard disk
bad
hitachi
fault
content
Prior art date
Legal status (The legal status is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the status listed.)
Granted
Application number
CN201610108305.3A
Other languages
Chinese (zh)
Other versions
CN105702273B (en
Inventor
梁效宁
董超
张佳强
杨先珉
Current Assignee (The listed assignees may be inaccurate. Google has not performed a legal analysis and makes no representation or warranty as to the accuracy of the list.)
SICHUAN XLY INFORMATION SAFETY TECHNOLOGY Co Ltd
Original Assignee
SICHUAN XLY INFORMATION SAFETY TECHNOLOGY Co Ltd
Priority date (The priority date is an assumption and is not a legal conclusion. Google has not performed a legal analysis and makes no representation as to the accuracy of the date listed.)
Filing date
Publication date
Application filed by SICHUAN XLY INFORMATION SAFETY TECHNOLOGY Co Ltd filed Critical SICHUAN XLY INFORMATION SAFETY TECHNOLOGY Co Ltd
Priority to CN201610108305.3A priority Critical patent/CN105702273B/en
Publication of CN105702273A publication Critical patent/CN105702273A/en
Application granted granted Critical
Publication of CN105702273B publication Critical patent/CN105702273B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Classifications

    • GPHYSICS
    • G11INFORMATION STORAGE
    • G11BINFORMATION STORAGE BASED ON RELATIVE MOVEMENT BETWEEN RECORD CARRIER AND TRANSDUCER
    • G11B20/00Signal processing not specific to the method of recording or reproducing; Circuits therefor
    • G11B20/10Digital recording or reproducing
    • G11B20/18Error detection or correction; Testing, e.g. of drop-outs
    • G11B20/1803Error detection or correction; Testing, e.g. of drop-outs by redundancy in data representation

Landscapes

  • Engineering & Computer Science (AREA)
  • Signal Processing (AREA)
  • Debugging And Monitoring (AREA)
  • Memory System Of A Hierarchy Structure (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)

Abstract

The present invention discloses a method for repairing a front-good and back-bad fault of a Hitachi hard disk, belonging to the field of the hard disk data recovery. The method comprises: 01) obtaining a firmware area map module, and analyzing the buffer memory address of a P table; 02) reading the position where the P table with zero head is located, and jumping a bad channel and performing recording if there is provided a bad channel, reading the position where the P table with one head is located again, and jumping the bad channel and performing recording if there is provided the bad channel, and combining the read data of the zero head and the one head together to repair a whole P table; 03) reading and storing the content of the sector with the ram data length of 512; and 04) loading the whole P table repaired in the step 2 to the hard disk buffer memory, and building the correct compiler of the hard disk. The method for repairing a front-good and back-bad fault of a Hitachi hard disk is configured to combine a whole P table through adoption of the P table backup with zero head and the P table backup with one head of the hard disk and load the P table so as to realize the repairing of the front-good and back-bad fault of the Hitachi hard disk.

Description

A kind of repair good before Hitachi's hard disk after the method for bad fault
Technical field
The present invention relates to hard disc data and recover field, particularly to a kind of repair before Hitachi's hard disk good after the method for bad fault。
Background technology
When bad track or damage occurs in the P table position in hard disk firmware district of Hitachi, it is impossible to when normally being accessed and load, the data field of Hitachi's hard disk just cannot normally be accessed, situation bad after good before namely there will be。The concrete form of expression is, the data of the previous section sector of data field, it is possible to normally access。The data of the higher value LBA position of data field, it is impossible to normally access。The appearance of this situation, bad fault after good before being called hard disk。Causing the reason of this fault, mainly the P table module in hard disk firmware district occurs in that bad track or damage, cannot normal load when causing hard disk self to load P table module so that hard disc data district cannot normally access。
Summary of the invention
The present invention is directed to the deficiencies in the prior art, it is provided that a kind of repair good before Hitachi's hard disk after the method for bad fault, it is achieved that the reparation of bad fault after good before Hitachi's hard disk。
For solving problem above, the technical solution used in the present invention is as follows: a kind of repair good before Hitachi's hard disk after the method for bad fault, comprise the following steps:
01 obtains firmware chorography module, and parses the buffer address of P table;The labelling PSHT of P table offset 12 bytes backward after the content of four byte records be the buffer address of P table, the content of four byte records after buffer address is the valid data length of P table;
The 02 P table position reading 0, if there being bad track just to skip bad track record;Read the P table position of 1 again, if there being bad track just to skip bad track record;Finally the data set that 0 and 1 is read is combined, repairs out a complete P table;
03 reads ram data length is the content of 512 sectors and saves as L;The value N of coupling " 4FF07042801A71F1030103D202484078012800D000207047 " form is searched in reading in ram data content after completing, the content of four byte records after matching value N is need the address value M of amendment, and M is saved as A4A3A2A1;Finally in L, it is displaced to OxA4A3A2A1, then read the content of two bytes and write the address of two bytes;
The complete P table that 02 repairs is loaded into hard disk cache by 04, makes hard disk set up correct compiler。
As preferably: if step 02 can not repair out a complete P table, then directly exit。
As preferably: after good before repairing Hitachi hard disk before bad fault, first judge Hitachi's hard disk get well before whether existing after bad fault。
As preferably: judge Hitachi's hard disk whether exist before good after the concrete grammar of bad fault as follows: directly access sector data;The position of LBA before, during and after access;If front-OK, in-OK, rear-NO, then be bad after front getting well, otherwise exit。
Beneficial effects of the present invention is as follows: present invention utilizes the P backup of the backup of the P table of hard disk 0 and 1 and has been reassembled into a complete P table, again through the loading to P table, and the reparation of bad fault after good before Hitachi's hard disk can be realized。
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearly understand, referring to embodiment, the present invention is described in further details。
A kind of repair good before Hitachi's hard disk after the method for bad fault, comprise the following steps:
01 obtains firmware chorography module, and parses the buffer address of P table;The labelling PSHT of P table offset 12 bytes backward after the content of four byte records be the buffer address of P table, the content of four byte records after buffer address is the valid data length of P table;
The 02 P table position reading 0, if there being bad track just to skip bad track record;Read the P table position of 1 again, if there being bad track just to skip bad track record;Finally the data set that 0 and 1 is read is combined, repairs out a complete P table;
03 reads ram data length is the content of 512 sectors and saves as L;The value N of coupling " 4FF07042801A71F1030103D202484078012800D000207047 " form is searched in reading in ram data content after completing, the content of four byte records after matching value N is need the address value M of amendment, and M is saved as A4A3A2A1;Finally in L, it is displaced to OxA4A3A2A1, then read the content of two bytes and write the address of two bytes;
The complete P table that 02 repairs is loaded into hard disk cache by 04, makes hard disk set up correct compiler。
Further: if step 02 can not repair out a complete P table, then directly exit。
Further: after good before repairing Hitachi hard disk before bad fault, first judge Hitachi's hard disk get well before whether existing after bad fault。
Further: judge Hitachi's hard disk whether exist before good after the concrete grammar of bad fault as follows: directly access sector data;The position of LBA before, during and after access;If front-OK, in-OK, rear-NO, then be bad after front getting well, otherwise exit。

Claims (4)

1. one kind repair good before Hitachi's hard disk after the method for bad fault, it is characterised in that comprise the following steps:
01 obtains firmware chorography module, and parses the buffer address of P table;The labelling PSHT of P table offset 12 bytes backward after the content of four byte records be the buffer address of P table, the content of four byte records after buffer address is the valid data length of P table;
The 02 P table position reading 0, if there being bad track just to skip bad track record;Read the P table position of 1 again, if there being bad track just to skip bad track record;Finally the data set that 0 and 1 is read is combined, repairs out a complete P table;
03 reads ram data length is the content of 512 sectors and saves as L;The value N of coupling " 4FF07042801A71F1030103D202484078012800D000207047 " form is searched in reading in ram data content after completing, the content of four byte records after matching value N is need the address value M of amendment, and M is saved as A4A3A2A1;Finally in L, it is displaced to OxA4A3A2A1, then read the content of two bytes and write the address of two bytes;
The complete P table that 02 repairs is loaded into hard disk cache by 04, makes hard disk set up correct compiler。
2. according to claim 1 a kind of repair good before Hitachi's hard disk after the method for bad fault, it is characterised in that if step 02 can not repair out a complete P table, then directly exit。
3. according to claim 1 a kind of repair good before Hitachi's hard disk after the method for bad fault, it is characterised in that after good before repairing Hitachi's hard disk before bad fault, first judge Hitachi's hard disk whether exist before well after bad fault。
4. according to claim 3 a kind of repair good before Hitachi's hard disk after the method for bad fault, it is characterised in that judge Hitachi's hard disk get well before whether existing after the concrete grammar of bad fault as follows: directly access sector data;The position of LBA before, during and after access;If front-OK, in-OK, rear-NO, then be bad after front getting well, otherwise exit。
CN201610108305.3A 2016-02-29 2016-02-29 The method of bad failure after being got well before a kind of reparation Hitachi hard disk Active CN105702273B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201610108305.3A CN105702273B (en) 2016-02-29 2016-02-29 The method of bad failure after being got well before a kind of reparation Hitachi hard disk

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201610108305.3A CN105702273B (en) 2016-02-29 2016-02-29 The method of bad failure after being got well before a kind of reparation Hitachi hard disk

Publications (2)

Publication Number Publication Date
CN105702273A true CN105702273A (en) 2016-06-22
CN105702273B CN105702273B (en) 2018-07-03

Family

ID=56222466

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201610108305.3A Active CN105702273B (en) 2016-02-29 2016-02-29 The method of bad failure after being got well before a kind of reparation Hitachi hard disk

Country Status (1)

Country Link
CN (1) CN105702273B (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648999A (en) * 2016-12-28 2017-05-10 四川秘无痕信息安全技术有限责任公司 Method for restoring damaged firmware module in A working area of Hitachi hardware
CN107797940A (en) * 2017-11-21 2018-03-13 四川巧夺天工信息安全智能设备有限公司 A kind of restoration methods for hard disc data area of Toshiba can not be accessed
CN111722950A (en) * 2019-03-21 2020-09-29 武汉思托福科技有限公司 Hard disk fault maintenance method

Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040062093A1 (en) * 2002-10-01 2004-04-01 Nec Corporation Data writing apparatus, data writing/reading apparatus, data writing method and data writing/reading method
CN1896963A (en) * 2005-07-11 2007-01-17 英业达股份有限公司 Method and system for monitoring hard-disk damage
CN103295648A (en) * 2012-02-29 2013-09-11 三星电子株式会社 Storage device unit restoring device and method and storage device system comprising device
CN104391771A (en) * 2014-11-14 2015-03-04 江门市未来之星网络科技有限公司 Equipment for detecting fault of Toshiba 2.5-inch hard disk and fault detection method of equipment
CN104484251A (en) * 2014-12-11 2015-04-01 华为技术有限公司 Method and device for processing faults of hard disk
CN104714869A (en) * 2015-03-31 2015-06-17 四川效率源信息安全技术有限责任公司 Method for repairing Western Digital hard disk unable to access data

Patent Citations (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20040062093A1 (en) * 2002-10-01 2004-04-01 Nec Corporation Data writing apparatus, data writing/reading apparatus, data writing method and data writing/reading method
CN1896963A (en) * 2005-07-11 2007-01-17 英业达股份有限公司 Method and system for monitoring hard-disk damage
CN103295648A (en) * 2012-02-29 2013-09-11 三星电子株式会社 Storage device unit restoring device and method and storage device system comprising device
CN104391771A (en) * 2014-11-14 2015-03-04 江门市未来之星网络科技有限公司 Equipment for detecting fault of Toshiba 2.5-inch hard disk and fault detection method of equipment
CN104484251A (en) * 2014-12-11 2015-04-01 华为技术有限公司 Method and device for processing faults of hard disk
CN104714869A (en) * 2015-03-31 2015-06-17 四川效率源信息安全技术有限责任公司 Method for repairing Western Digital hard disk unable to access data

Cited By (6)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN106648999A (en) * 2016-12-28 2017-05-10 四川秘无痕信息安全技术有限责任公司 Method for restoring damaged firmware module in A working area of Hitachi hardware
CN106648999B (en) * 2016-12-28 2019-10-29 四川秘无痕科技有限责任公司 The restorative procedure of firmware module damage in a kind of workspace Hitachi's hard disk A
CN107797940A (en) * 2017-11-21 2018-03-13 四川巧夺天工信息安全智能设备有限公司 A kind of restoration methods for hard disc data area of Toshiba can not be accessed
CN107797940B (en) * 2017-11-21 2021-02-23 四川巧夺天工信息安全智能设备有限公司 Recovery method for Toshiba hard disk data area incapable of being accessed
CN111722950A (en) * 2019-03-21 2020-09-29 武汉思托福科技有限公司 Hard disk fault maintenance method
CN111722950B (en) * 2019-03-21 2023-08-25 武汉思托福科技有限公司 Hard disk fault maintenance method

Also Published As

Publication number Publication date
CN105702273B (en) 2018-07-03

Similar Documents

Publication Publication Date Title
US8661193B1 (en) Disk drive with partial sector management
TWI506430B (en) Method of recording mapping information method, and memory controller and memory storage apparatus using the same
CN105702273A (en) Method for repairing front-good and back-bad fault of Hitachi hard disk
JP2007520801A5 (en)
BRPI0017526B1 (en) recording and / or playback apparatus recording and reproducing data in a registration vehicle
TW463145B (en) Information recording medium, information recording and reproduction method, and information recording and reproduction apparatus
CN105843749A (en) NAND Flash fault-tolerance method based on FPGA (Field Programmable Gate Array)
CN105224891A (en) Magnetic disc optic disc fused data method for secure storing, system and device
TW200425075A (en) Write-once-type recording medium, recording apparatus and method for the same, and reproducing apparatus and method for the same
CN104881244B (en) Storage system and its data guard method
JP2013157068A (en) Data storage control device, data storage device and data storage method
CN105630622A (en) Method for repairing hard disk ROM (Read Only Memory) through Boot Code
CN103198870B (en) The restorative procedure of non-uniform Distribution redundancy in DRAM
CN112530467B (en) Method and system for additionally burning optical disk storage
WO2006131845A3 (en) Method and apparatus for recording information on a multi-layered optical disc
WO2005109425A3 (en) Data recording/reproduction for write-once discs
CN104731532B (en) A kind of method for repairing hard disk firmware area adaptation parameter module
WO2019136970A1 (en) Bad list compression method for flash memory
CN101615414B (en) Optical disk drive and method for data recording
TW200638366A (en) Disc recording methods and systems
CN110188003B (en) Data recovery method for lost defect entries in hard disk
TWI302300B (en) Apparatus and method for defect management of optical disks
US7756399B2 (en) Safe recovery in DVD recordable/rewritable realtime recording
CN104794027B (en) A kind of restorative procedure of parameter identification mistake
USRE43019E1 (en) Encoding recording data on optical disks

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB03 Change of inventor or designer information

Inventor after: Liang Xiaoning

Inventor after: Dong Chao

Inventor after: Yang Xianmin

Inventor after: Zhang Jiaqiang

Inventor before: Liang Xiaoning

Inventor before: Dong Chao

Inventor before: Zhang Jiaqiang

Inventor before: Yang Xianmin

CB03 Change of inventor or designer information
GR01 Patent grant
GR01 Patent grant