CN105702273B - The method of bad failure after being got well before a kind of reparation Hitachi hard disk - Google Patents

The method of bad failure after being got well before a kind of reparation Hitachi hard disk Download PDF

Info

Publication number
CN105702273B
CN105702273B CN201610108305.3A CN201610108305A CN105702273B CN 105702273 B CN105702273 B CN 105702273B CN 201610108305 A CN201610108305 A CN 201610108305A CN 105702273 B CN105702273 B CN 105702273B
Authority
CN
China
Prior art keywords
hard disk
bad
tables
hitachi
failure
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.)
Active
Application number
CN201610108305.3A
Other languages
Chinese (zh)
Other versions
CN105702273A (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 invention discloses the methods of bad failure after being got well before a kind of reparation Hitachi hard disk, belong to hard disc data and restore field, 01 obtains firmware chorography module, and parse the buffer address of P tables;02 reads the P tables position of 0, if there is bad track just skips bad track and records;The P tables position of 1 is read again, if there is bad track just skips bad track and records;Finally the data by 0 and 1 reading are combined, and repair out a complete P table;03 reads content and preservation of the ram data lengths for 512 sectors;The complete P tables that step 02 is repaired are loaded into hard disk cache by 04, and hard disk is made to establish correct compiler.Beneficial effects of the present invention are as follows:It is backed up present invention utilizes the hard disk P tables of 0 and the P backups of 1 has been reassembled into a complete P table, then pass through the loading to P tables, you can the reparation of bad failure after good before realization Hitachi hard disk.

Description

The method of bad failure after being got well before a kind of reparation Hitachi hard disk
Technical field
The present invention relates to hard disc datas to restore field, the side of bad failure after being got well before more particularly to a kind of reparation Hitachi hard disk Method.
Background technology
It is put when the P epitopes in hard disk firmware area of Hitachi and bad track or damage occurs, it is impossible to the situation for normally being accessed and being loaded Under, the data field of Hitachi's hard disk just can not normally be accessed, that is, will appear it is preceding it is good after bad situation.The specific form of expression is, The data of the previous section sector of data field, can normally access.The data of the higher value LBA positions of data field, can not be normal It accesses.Bad failure after being got well before the appearance of such case, referred to as hard disk.The reason of causing this failure, mainly hard disk firmware area P table modules there is bad track or damage, can not normal load when hard disk itself is caused to load P table modules so that hard Disk data field can not normally access.
Invention content
In view of the deficiencies of the prior art, the present invention provides the methods of bad failure after being got well before a kind of reparation Hitachi hard disk, realize Before Hitachi hard disk it is good after bad failure reparation.
To solve problem above, the technical solution adopted by the present invention is as follows:Bad failure after being got well before a kind of reparation Hitachi hard disk Method, include the following steps:
01 obtains firmware chorography module, and parse the buffer address of P tables;The label PSHT of P tables deviates 12 backward The content of four byte records after byte is the buffer address of P tables, four byte records after buffer address it is interior Appearance is the valid data length of P tables;
02 reads the P tables position of 0, if there is bad track just skips bad track and records;The P tables place of 1 is read again Position, if there is bad track just skips bad track and records;Finally the data by 0 and 1 reading are combined, and repair out one Complete P tables;
03 reading ram data lengths are the content of 512 sectors and save as L;It is looked into ram data contents after the completion of reading The value N of matching " 4FF07042801A71F1030103D202484078012800D000207047 " form is looked for, after matching value N The contents of four byte records be to need the address value M that changes, M is saved as into A4A3A2A1;Finally it is displaced in L OxA4A3A2A1, then read the content of two bytes and the address of two bytes is written;
The complete P tables that step 02 is repaired are loaded into hard disk cache by 04, and hard disk is made to establish correct compiler.
As preferred:If step 02 cannot repair out a complete P table, directly exit.
As preferred:After being got well before reparation Hitachi hard disk before bad failure, first judge Hitachi's hard disk with the presence or absence of bad after preceding get well Failure.
As preferred:Judge that Hitachi's hard disk is as follows with the presence or absence of the specific method of bad failure after preceding get well:Directly access sector Data;The position of LBA before, during and after access;If preceding-OK, in-OK, rear-NO, be it is preceding it is good after it is bad, otherwise exit.
Beneficial effects of the present invention are as follows:It is backed up present invention utilizes the hard disk P tables of 0 and the P of 1 backs up group again A complete P table has been synthesized, then has passed through the loading to P tables, you can the reparation of bad failure after good before realization Hitachi hard disk.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, referring to embodiment, the present invention is done It is further described.
The method of bad failure, includes the following steps after being got well before a kind of reparation Hitachi hard disk:
01 obtains firmware chorography module, and parse the buffer address of P tables;The label PSHT of P tables deviates 12 backward The content of four byte records after byte is the buffer address of P tables, four byte records after buffer address it is interior Appearance is the valid data length of P tables;
02 reads the P tables position of 0, if there is bad track just skips bad track and records;The P tables place of 1 is read again Position, if there is bad track just skips bad track and records;Finally the data by 0 and 1 reading are combined, and repair out one Complete P tables;
03 reading ram data lengths are the content of 512 sectors and save as L;It is looked into ram data contents after the completion of reading The value N of matching " 4FF07042801A71F1030103D202484078012800D000207047 " form is looked for, after matching value N The contents of four byte records be to need the address value M that changes, M is saved as into A4A3A2A1;Finally it is displaced in L OxA4A3A2A1, then read the content of two bytes and the address of two bytes is written;
The complete P tables that step 02 is repaired are loaded into hard disk cache by 04, and hard disk is made to establish correct compiler.
Further:If step 02 cannot repair out a complete P table, directly exit.
Further:After being got well before reparation Hitachi hard disk before bad failure, first judge Hitachi's hard disk with the presence or absence of bad after preceding get well Failure.
Further:Judge that Hitachi's hard disk is as follows with the presence or absence of the specific method of bad failure after preceding get well:Directly access sector Data;The position of LBA before, during and after access;If preceding-OK, in-OK, rear-NO, be it is preceding it is good after it is bad, otherwise exit.

Claims (4)

1. the method for bad failure after good before a kind of reparation Hitachi hard disk, which is characterized in that include the following steps:
01 obtains firmware chorography module, and parse the buffer address of P tables;The label PSHT of P tables deviates 12 bytes backward The content of four byte records later is the buffer address of P tables, and the content of four byte records after buffer address is P The valid data length of table;
02 reads the P tables position of 0, if there is bad track just skips bad track and records;The P tables position of 1 is read again, If there is bad track just skips bad track and records;Finally the data by 0 and 1 reading are combined, and repair out one completely P tables;
03 reading ram data lengths are the content of 512 sectors and save as L;The lookup in ram data contents after the completion of reading Four after value N with " 4FF07042801A71F1030103D202484078012800D000207047 " form, matching value N The content of a byte records is the address value M for needing to change, and M is saved as A4A3A2A1;Finally it is displaced in L OxA4A3A2A1, then read the content of two bytes and the address of two bytes is written;
The complete P tables that step 02 is repaired are loaded into hard disk cache by 04, and hard disk is made to establish correct compiler.
2. the method for bad failure after good before a kind of reparation Hitachi hard disk according to claim 1, which is characterized in that step 02 If a complete P table cannot be repaired out, directly exit.
3. the method for bad failure after good before a kind of reparation Hitachi hard disk according to claim 1, which is characterized in that repair day After being got well before vertical hard disk before bad failure, first judge Hitachi's hard disk with the presence or absence of bad failure after preceding get well.
4. the method for bad failure after good before a kind of reparation Hitachi hard disk according to claim 3, which is characterized in that judge day Vertical hard disk is as follows with the presence or absence of the specific method of bad failure after preceding get well:Directly access sector data;The position of LBA before, during and after access It puts;If preceding-OK, in-OK, rear-NO, be it is preceding it is good after it is bad, 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 CN105702273A (en) 2016-06-22
CN105702273B true 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)

Families Citing this family (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN107797940B (en) * 2017-11-21 2021-02-23 四川巧夺天工信息安全智能设备有限公司 Recovery method for Toshiba hard disk data area incapable of being accessed
CN111722950B (en) * 2019-03-21 2023-08-25 武汉思托福科技有限公司 Hard disk fault maintenance method

Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Family Cites Families (1)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
JP2004126878A (en) * 2002-10-01 2004-04-22 Nec Corp Data writing and data writing/reading device, and data writing and data writing/reading method

Patent Citations (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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

Also Published As

Publication number Publication date
CN105702273A (en) 2016-06-22

Similar Documents

Publication Publication Date Title
CN105702273B (en) The method of bad failure after being got well before a kind of reparation Hitachi hard disk
US8661193B1 (en) Disk drive with partial sector management
WO2005079375A3 (en) Integrating content-laden media with storage system
CN105843749A (en) NAND Flash fault-tolerance method based on FPGA (Field Programmable Gate Array)
WO2002046930A3 (en) Data storage system and method employing a write-ahead hash log
CN103778065A (en) Flash memory and bad block managing method thereof
CN105224891A (en) Magnetic disc optic disc fused data method for secure storing, system and device
TWI403897B (en) Memory device and data management method thereof
CN105786633A (en) Western digital hard disk firmware area virtualization method
TW200513853A (en) A self healing storage system
CN102395956B (en) Processing method and device for system commands during memory backup procedure
CN107291625B (en) Pointer type logical address mapping table implementation method for Nand Flash
JP2013157068A (en) Data storage control device, data storage device and data storage method
CN103198870B (en) The restorative procedure of non-uniform Distribution redundancy in DRAM
CN113555057A (en) Implementation method for expanding solid state disk mapping table unit
CN103279402A (en) Data restoration method based on multilayer cell solid state hard disc and solid state hard disc
CN105824579A (en) Write amplification overhead reducing method including read and write for shingled magnetic recording
CN100492323C (en) Method and apparatus for protecting caching content and caching controller thereof
CN107102821A (en) A kind of NAND FLASH arrays write the processing method of failure
CN202615266U (en) Computer system on basis of solid state disk
US20190391874A1 (en) Memory storage apparatus with dynamic data repair mechanism and method of dynamic data repair thereof
CA2557449A1 (en) Method and apparatus for overwriting data in write-once recording medium
CN103902232A (en) Data write-in method and device
CN106648999B (en) The restorative procedure of firmware module damage in a kind of workspace Hitachi's hard disk A
CN104794027B (en) A kind of restorative procedure of parameter identification mistake

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
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

GR01 Patent grant
GR01 Patent grant