CN106325845A - Method for repairing front part normal and rear part abnormal fault of Seagate hard disk sector - Google Patents

Method for repairing front part normal and rear part abnormal fault of Seagate hard disk sector Download PDF

Info

Publication number
CN106325845A
CN106325845A CN201510388430.XA CN201510388430A CN106325845A CN 106325845 A CN106325845 A CN 106325845A CN 201510388430 A CN201510388430 A CN 201510388430A CN 106325845 A CN106325845 A CN 106325845A
Authority
CN
China
Prior art keywords
hard disk
bad
seagate
list
removes
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
CN201510388430.XA
Other languages
Chinese (zh)
Other versions
CN106325845B (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 SALVATIONDATA INFORMATION SAFETY TECHNOLOGY Co Ltd
Original Assignee
SICHUAN SALVATIONDATA 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 SALVATIONDATA INFORMATION SAFETY TECHNOLOGY Co Ltd filed Critical SICHUAN SALVATIONDATA INFORMATION SAFETY TECHNOLOGY Co Ltd
Priority to CN201510388430.XA priority Critical patent/CN106325845B/en
Publication of CN106325845A publication Critical patent/CN106325845A/en
Application granted granted Critical
Publication of CN106325845B publication Critical patent/CN106325845B/en
Active legal-status Critical Current
Anticipated expiration legal-status Critical

Links

Landscapes

  • Information Retrieval, Db Structures And Fs Structures Therefor (AREA)
  • Signal Processing For Digital Recording And Reproducing (AREA)
  • Debugging And Monitoring (AREA)

Abstract

The invention discloses a method for repairing a front part normal and rear part abnormal fault of a Seagate hard disk sector. The steps comprises the steps of S1, clearing NG-LIST when a hard disk in a disk recognized state; S2, scanning defective pixels in the hard disk sequentially, and adding each scanned defective pixel to a G table and carrying out reestablishment; and S3, determining whether the entire hard disk is searched or not, finishing if the entire hard disk is searched, otherwise going to the S2. The method has the advantages that the defective pixels in the hard disk can be quickly and accurately scanned, both an 512Kb hard disk and a 4K technology hard disk can be repaired, the problem that the hard disk cannot be recognized can be solved, a repairing success rate is high, the repairing speed is fast, and the repairing efficiency is high.

Description

A kind of repair good before hard disk sector, Seagate after bad method
Technical field
The present invention relates to field of information security technology, bad after getting well before repairing hard disk sector, Seagate particularly to one Method.
Background technology
So-called Seagate hard disk " front good after bad ", refers to that the most a part of sector can be read, but a part below The situation that sector cannot access.When damaging occurs in Seagate hard disk, it is impossible to access the bigger LBA value in data field Data, fault bad after having some technology to get well before can repairing hard disk the most on the market, but exist the most several Point problem:
1. can not repair the hard disk of 4K technology;
2. repair speed the slowest, and have to professional person's operation;
3. can not solve the situation of the nonrecognition hard disk caused because of defect confusion.
Summary of the invention
The present invention is directed to the defect of prior art, it is provided that a kind of repair good before hard disk sector, Seagate after bad side Method, can effectively solve the problem that the problem that above-mentioned prior art exists.
In order to realize above goal of the invention, the technical scheme that the present invention takes is as follows:
A kind of repair good before hard disk sector, Seagate after bad method, comprise the following steps:
S1: hard disk, under recognizing plate-like state, removes NG-LIST;
S2: scanning hard disk bad point in order, sweeps to a bad point and bad point just adds G table, and rebuild;
S3: judged whether the lookup of DISK to Image, if complete, terminates, and otherwise forwards S2 to.
As preferably, the detailed step of described S1 is as follows:
S101: judge that hard disk praameter state is the most ready, if ready, perform S102, if the most ready, hold Row S105;
Described judgement parameter state need to call function:
Bool isbusy=ChekDiskStateBusy ();// detection disk state
If (isbusy==false) exit;// exit
S102: judge whether can with access hard disk No. 0 LBA, if could; would perform S105.Otherwise hold Row 103;
S103: after electricity left by hard disk, enters T level pattern, enters back into 1 grade of pattern, removes SMART table.
S104: return to T level pattern, removes G table;
S105: return to T level pattern, initializes decoding table;
S106: return to T level pattern, removes NG-list.
In described S106 particularly as follows:
Search NG-list table position;
Search NG-list table and need to call function: FdNGlist ()
Front for NG-list table 2 bytes are revised as 0, preserve and cover original NG-list table address.
As preferably, the detailed step of described S2 is as follows:
S201: scanning hard disk, uses binary chop algorithm, searches hard disk bad point and then performs S202;
S202: obtain cache information, find Default Diag Rd Buf position, it is judged that Default Diag Rd Whether the BytesPerBlk of Buf is 1040, if then performing S203;Otherwise forward 204 to;
Described acquisition cache information need to call function:
S203: the value obtained by S202 performs S204 after 8;
S204: the LBA numerical values recited that record obtains;
S205: enter 2 grades of patterns, LBA numerical value scanning obtained conversion hexadecimal, use 2 grades Perform F instruction under pattern, add G table.
S206: use m instruction to carry out hard disk rebuilding decoding table.
Compared with prior art it is an advantage of the current invention that: bad point in hard disk can be scanned quickly and accurately, can The hard disk repairing 512Kb can also repair the hard disk of 4K technology.The fault of nonrecognition hard disk can also be solved Problem;Reparation success rate is high, and repairs speed soon, and efficiency is high.
Detailed description of the invention
For making the purpose of the present invention, technical scheme and advantage clearer, by the following examples, to this Invention is described in further details.
A kind of repair good before hard disk sector, Seagate after bad method, comprise the following steps:
S1: hard disk, under recognizing plate-like state, removes NG-LIST;
S2: scanning hard disk bad point in order, sweeps to a bad point and bad point just adds G table, and rebuild;
S3: judged whether the lookup of DISK to Image, if complete, terminates, and otherwise forwards S2 to.
As preferably, the detailed step of described S1 is as follows:
S101: judge that hard disk praameter state is the most ready, if ready, perform S102, if the most ready, hold Row S105;
Described judgement parameter state need to call function:
Bool isbusy=ChekDiskStateBusy ();// detection disk state
If (isbusy==false) exit;// exit
S102: judge whether can with access hard disk No. 0 LBA, if could; would perform S105.Otherwise hold Row 103;
S103: after electricity left by hard disk, enters T level pattern, enters back into 1 grade of pattern, removes SMART table.
S104: return to T level pattern, removes G table;
S105: return to T level pattern, initializes decoding table;
S106: return to T level pattern, removes NG-list.
In described S106 particularly as follows:
Search NG-list table position;
Search NG-list table and need to call function: FdNGlist ()
Front for NG-list table 2 bytes are revised as 0, preserve and cover original NG-list table address.
As preferably, the detailed step of described S2 is as follows:
S201: scanning hard disk, uses binary chop algorithm, searches hard disk bad point and then performs S202;
S202: obtain cache information, find Default Diag Rd Buf position, it is judged that Default Diag Rd Whether the BytesPerBlk of Buf is 1040, if then performing S203;Otherwise forward 204 to;
Described acquisition cache information need to call function:
S203: the value obtained by S202 performs S204 after 8;
S204: the LBA numerical values recited that record obtains;
S205: enter 2 grades of patterns, LBA numerical value scanning obtained conversion hexadecimal, use 2 grades Perform F instruction under pattern, add G table.
S206: use m instruction to carry out hard disk rebuilding decoding table.
Above-mentioned called functional based method is specific as follows:
Those of ordinary skill in the art is it will be appreciated that embodiment described here is to aid in reader's reason Solve the implementation of the present invention, it should be understood that protection scope of the present invention is not limited to such the oldest State and embodiment.Those of ordinary skill in the art can make according to these technology disclosed by the invention enlightenment Various other various concrete deformation and combinations without departing from essence of the present invention, these deformation and combination are still at this In the protection domain of invention.

Claims (4)

1. a method bad after getting well before repairing hard disk sector, Seagate, comprises the following steps:
S1: hard disk, under recognizing plate-like state, removes NG-LIST;
S2: scanning hard disk bad point in order, sweeps to a bad point and bad point just adds G table, and rebuild;
S3: judged whether the lookup of DISK to Image, if complete, terminates, and otherwise forwards S2 to.
The most according to claim 1 a kind of repair good before hard disk sector, Seagate after bad method, it is characterised in that The detailed step of described S1 is as follows:
S101: judge that hard disk praameter state is the most ready, if ready, perform S102, if the most ready, hold Row S105;
S102: judge whether can with access hard disk No. 0 LBA, if could; would perform S105.Otherwise hold Row 103;
S103: after electricity left by hard disk, enters T level pattern, enters back into 1 grade of pattern, removes SMART table;
S104: return to T level pattern, removes G table;
S105: return to T level pattern, initializes decoding table;
S106: return to T level pattern, removes NG-list.
The most according to claim 2 a kind of repair good before hard disk sector, Seagate after bad method, it is characterised in that Described S106 particularly as follows:
Search NG-list table position;
Front for NG-list table 2 bytes are revised as 0, preserve and cover original NG-list table address.
The most according to claim 1 a kind of repair good before hard disk sector, Seagate after bad method, it is characterised in that The detailed step of described S2 is as follows:
S201: scanning hard disk, uses binary chop algorithm, searches hard disk bad point and then performs S202;
S202: obtain cache information, find Default Diag Rd Buf position, it is judged that Default Diag Rd Whether the BytesPerBlk of Buf is 1040, if then performing S203;Otherwise forward 204 to;
S203: the value obtained by S202 performs S204 after 8;
S204: the LBA numerical values recited that record obtains;
S205: enter 2 grades of patterns, LBA numerical value scanning obtained conversion hexadecimal, use 2 grades Perform F instruction under pattern, add G table.
CN201510388430.XA 2015-06-30 2015-06-30 Before a kind of reparation hard disk sector it is good after bad method Active CN106325845B (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201510388430.XA CN106325845B (en) 2015-06-30 2015-06-30 Before a kind of reparation hard disk sector it is good after bad method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510388430.XA CN106325845B (en) 2015-06-30 2015-06-30 Before a kind of reparation hard disk sector it is good after bad method

Publications (2)

Publication Number Publication Date
CN106325845A true CN106325845A (en) 2017-01-11
CN106325845B CN106325845B (en) 2019-10-11

Family

ID=57727209

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510388430.XA Active CN106325845B (en) 2015-06-30 2015-06-30 Before a kind of reparation hard disk sector it is good after bad method

Country Status (1)

Country Link
CN (1) CN106325845B (en)

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984357A (en) * 2018-07-16 2018-12-11 郑州云海信息技术有限公司 A kind of hard disk localization method, device and computer readable storage medium
CN109445974A (en) * 2018-10-10 2019-03-08 南宁磁动电子科技有限公司 A kind of Seagate Hard Disk Repair method
CN109508268A (en) * 2018-11-13 2019-03-22 郑州云海信息技术有限公司 Function test method is quickly wiped in a kind of ISE hard disk test device and the hard disk sector ISE
CN111722950A (en) * 2019-03-21 2020-09-29 武汉思托福科技有限公司 Hard disk fault maintenance method
CN112286719A (en) * 2020-10-28 2021-01-29 四川效率源信息安全技术股份有限公司 Data recovery method for solid state disk after TRIM deletion data is started

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120036686A (en) * 2010-10-08 2012-04-18 경운대학교 산학협력단 Perfection deletion module of hard disk and constitution method of management console
CN102722429A (en) * 2011-12-31 2012-10-10 江门市未来之星网络科技有限公司 Processing system of hard disk maintenance equipment
CN104407974A (en) * 2014-11-29 2015-03-11 蔡杨毅 Data recovery and firmware handling device of Seagate and application method

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20120036686A (en) * 2010-10-08 2012-04-18 경운대학교 산학협력단 Perfection deletion module of hard disk and constitution method of management console
CN102722429A (en) * 2011-12-31 2012-10-10 江门市未来之星网络科技有限公司 Processing system of hard disk maintenance equipment
CN104407974A (en) * 2014-11-29 2015-03-11 蔡杨毅 Data recovery and firmware handling device of Seagate and application method

Cited By (8)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN108984357A (en) * 2018-07-16 2018-12-11 郑州云海信息技术有限公司 A kind of hard disk localization method, device and computer readable storage medium
CN109445974A (en) * 2018-10-10 2019-03-08 南宁磁动电子科技有限公司 A kind of Seagate Hard Disk Repair method
CN109508268A (en) * 2018-11-13 2019-03-22 郑州云海信息技术有限公司 Function test method is quickly wiped in a kind of ISE hard disk test device and the hard disk sector ISE
CN109508268B (en) * 2018-11-13 2022-02-18 郑州云海信息技术有限公司 ISE hard disk testing device and ISE hard disk sector quick erasing function testing method
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
CN112286719A (en) * 2020-10-28 2021-01-29 四川效率源信息安全技术股份有限公司 Data recovery method for solid state disk after TRIM deletion data is started
CN112286719B (en) * 2020-10-28 2023-08-25 四川效率源信息安全技术股份有限公司 Data recovery method for solid state disk after TRIM deletion data is started

Also Published As

Publication number Publication date
CN106325845B (en) 2019-10-11

Similar Documents

Publication Publication Date Title
CN106325845A (en) Method for repairing front part normal and rear part abnormal fault of Seagate hard disk sector
CN103049753B (en) The method of defect of printed circuit board is detected based on skeletal extraction and range conversion
CN110660072B (en) Method and device for identifying straight line edge, storage medium and electronic equipment
CN103872983A (en) Device and method for detecting defects on surface of solar cell
CN103049354B (en) Data recovery method, data restore device and storage system
CN104297254A (en) Mixing-method-based method and system applied to defect detection of printed circuit board
CN106980816B (en) Automatic insulator string identification method based on optical image
CN113780484B (en) Industrial product defect detection method and device
CN102346153A (en) Method for detecting tunnel defect
EP2728304B1 (en) Trolley wire abrasion measuring apparatus using image process
RU2011147567A (en) METHOD AND DEVICE FOR SIGNAL PROCESSING AND MACHINE READABLE MEDIA
CN103674816A (en) Detection method for detecting rice grains with chalkiness and detection system adopting same
CN105006002A (en) Automatic picture matting method and apparatus
CN103852034A (en) Elevator guide rail perpendicularity detection method
CN111159150A (en) Data expansion method and device
CN108256357B (en) Hardware Trojan horse detection method combining infrared image and normal distribution analysis
CN103713968B (en) A kind of RFID tag data based on cloud storage technology recovers and method of calibration
CN106648948A (en) Restorative method aiming at damages of western digital hard disk number 11 module
CN103778423A (en) Finger vein line restoration method based on gray scale neighbor and variance constraint
KR102007298B1 (en) Image preprocessing method for license plate recognition and license plate recognition system using thereof
CN113393430B (en) Thermal imaging image enhancement training method and device for fan blade defect detection
CN105094999A (en) Method for clearing nonresident defect list of Seagate hard disk
CN113516608A (en) Tire defect detection method and device, and tire detection device
JP5310840B2 (en) Image processing apparatus, image processing method, image processing program, and monitoring apparatus
CN112330583A (en) Product defect detection method, device, equipment and storage medium

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
CB02 Change of applicant information
CB02 Change of applicant information

Address after: No. 183 Songshan Road, Neijiang, Sichuan, Sichuan

Applicant after: SICHUAN XLY INFORMATION SAFETY TECHNOLOGY CO., LTD.

Address before: No. 183 Songshan Road, Neijiang, Sichuan, Sichuan

Applicant before: Sichuan SalvationData Information Safety Technology Co., Ltd.

GR01 Patent grant
GR01 Patent grant