CN109445974A - A kind of Seagate Hard Disk Repair method - Google Patents

A kind of Seagate Hard Disk Repair method Download PDF

Info

Publication number
CN109445974A
CN109445974A CN201811175329.6A CN201811175329A CN109445974A CN 109445974 A CN109445974 A CN 109445974A CN 201811175329 A CN201811175329 A CN 201811175329A CN 109445974 A CN109445974 A CN 109445974A
Authority
CN
China
Prior art keywords
hard disk
address
pba
lba
manually
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.)
Pending
Application number
CN201811175329.6A
Other languages
Chinese (zh)
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.)
Nanning Magnetic Electronic Technology Co Ltd
Original Assignee
Nanning Magnetic Electronic 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 Nanning Magnetic Electronic Technology Co Ltd filed Critical Nanning Magnetic Electronic Technology Co Ltd
Priority to CN201811175329.6A priority Critical patent/CN109445974A/en
Publication of CN109445974A publication Critical patent/CN109445974A/en
Pending legal-status Critical Current

Links

Classifications

    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0706Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment
    • G06F11/0727Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation the processing taking place on a specific hardware platform or in a specific software environment in a storage system, e.g. in a DASD or network based storage system
    • GPHYSICS
    • G06COMPUTING; CALCULATING OR COUNTING
    • G06FELECTRIC DIGITAL DATA PROCESSING
    • G06F11/00Error detection; Error correction; Monitoring
    • G06F11/07Responding to the occurrence of a fault, e.g. fault tolerance
    • G06F11/0703Error or fault processing not based on redundancy, i.e. by taking additional measures to deal with the error or fault not making use of redundancy in operation, in hardware, or in data representation
    • G06F11/0793Remedial or corrective actions

Abstract

The invention discloses a kind of Seagate Hard Disk Repair methods, belong to data and repair field, the restorative procedure includes the following steps: to analyze magnetic head and disc problem;Scanning hard disk finds out the address PBA and the address LBA of bad point starting position;LBA address conversion at the address PBA, break down one section of address PBA is loaded into Hard Disk Defect table;Manually LBA address conversion at the address PBA, and Hard Disk Defect table is opened manually, combined using manually and automatically loading procedure and the address PBA is loaded into Hard Disk Defect table;Compiler is generated using instruction, PBA corresponding to LBA is rearranged;Partial data can be restored by rescaning disk.The present invention can completely restore Seagate LM series without bad problem after getting well before backup firmware, can quickly handle LM035, LM007 it is preceding it is good after bad problem, without using traditional scheme for adding PBA one by one, the present invention is can disposably to add thousands of up to ten thousand PBA to NG tables, bad problem after directly quickly processing is preceding well.

Description

A kind of Seagate Hard Disk Repair method
Technical field
The present invention relates to data to repair field more particularly to a kind of Seagate Hard Disk Repair method.
Background technique
Seagate LM series hard disk, such as LM035 LM007 hard disk.Due to certain particular technologies of these hard disks, one Denier user rebuild the operation of compiler, will result in the failure of " preceding good after bad ".It is made once " preceding good after bad " failure Creating can not just repair, and can only go to evade by standby system file, there are no preferable restorative procedures so far.
It is directed to Seagate laptop hard LM035 LM007 much to occur not recognizing disk, it is necessary to can just allow using to M instruction Hard disk normally recognizes, but 90% hard disk front can all occurs and can scan after being instructed using M, behind whole bad tracks feelings Condition, all data recovery tools can not all be handled in current society under this failure.Need to design a kind of restorative procedure use In solving Seagate hard disk when data are restored, it is good to encounter leading portion disc firmware, and back segment firmware damages and can not completely restore hard disk The case where data.
Summary of the invention
The purpose of the present invention is to provide a kind of Seagate Hard Disk Repair method, solve it is good before Seagate hard disk occurs after bad and nothing The technical issues of method is repaired.
A kind of Seagate Hard Disk Repair method, the restorative procedure include the following steps:
Step 1: analysis magnetic head and disc problem;
Step 2: scanning hard disk finds out the address PBA and the address LBA of bad point starting position, when magnetic head number is one, two It is a or at four, 3 are entered step, when magnetic head number is three, enters step 4;
Step 3: LBA address conversion at the address PBA, break down one section of address PBA is loaded into Hard Disk Defect table, into Enter step 5;
Step 4: manually LBA address conversion at the address PBA, and Hard Disk Defect table is opened manually, using manually and automatically Loading procedure combines and the address PBA is loaded into Hard Disk Defect table, enters step 5;
Step 5: generating compiler using instruction, PBA corresponding to LBA is rearranged;
Step 6: partial data can be restored by rescaning disk.
Further, the detailed process of magnetic head is analyzed in the step 1 are as follows: input magnetic head analysis instruction feeds back to magnetic head Particular content, check comparison head information;Analyze the detailed process of disc problem are as follows: input disc detection instruction is fed back to Disc specifying information or manual disc of opening check disc problem.
Further, in the step 3 LBA address conversion at the detailed process of the address PBA are as follows:
Current LBA is converted into the address PBA using A grades of lower G instructions.
Further, the address PBA is loaded into the detailed process of Hard Disk Defect table are as follows:
The initial position LBA is scanned, the position end of scan LBA, Surface scan, repeatedly 3 times of detection are examined forward from end position When survey, it is treated as bad track when the test crash time pauses 3 milliseconds, test is write in execution, and verification replaces reading, and bad track write-in hard disk is lacked It falls into inside table.
Further, the detailed process that manually and automatically loading procedure combines in the step 4:
The address PBA is converted out using A grades of lower G instructions are manually entered, Hard Disk Defect table is opened manually, the address PBA is added Hard Disk Defect Biao Biaonei, preceding 2-3 PBA is added using manual mode address, behind the address PBA come from using automated procedures It is dynamic to be added in Hard Disk Defect table.
Further, the instruction in the step 5 are as follows:
F3T>m0,6,3,,,,,22。
Present invention employs above-mentioned technical proposal, the present invention is had following technical effect that
The present invention can completely restore Seagate LM series without bad problem after getting well before backup firmware, can quickly handle LM035LM007 it is preceding it is good after bad problem, without using it is traditional one by one plus the scheme of PBA, the present invention is can disposably to add Thousands of up to ten thousand PBA to NG tables, bad problem after directly quickly processing is preceding well.
Detailed description of the invention
Fig. 1 is flow chart of the invention.
Specific embodiment
To make the objectives, technical solutions, and advantages of the present invention more comprehensible, referring to the drawings and preferred reality is enumerated Example is applied, the present invention is described in more detail.However, it is necessary to illustrate, many details listed in specification are only to be Reader is set to have a thorough explanation to one or more aspects of the present invention, it can also be with even without these specific details Realize the aspects of the invention.
As shown in Figure 1, a kind of Seagate Hard Disk Repair method flow diagram according to the present invention, the reparation side
Method includes the following steps:
Step 1: analysis magnetic head and disc problem;
Step 2: scanning hard disk finds out the address PBA and the address LBA of bad point starting position, when magnetic head number is one, two It is a or at four, 3 are entered step, when magnetic head number is three, enters step 4;
Step 3: LBA address conversion at the address PBA, break down one section of address PBA is loaded into Hard Disk Defect table, into Enter step 5;
Step 4: manually LBA address conversion at the address PBA, and Hard Disk Defect table is opened manually, using manually and automatically Loading procedure combines and the address PBA is loaded into Hard Disk Defect table, enters step 5;
Step 5: generating compiler using instruction, PBA corresponding to LBA is rearranged;
Step 6: partial data can be restored by rescaning disk.
This method can completely restore Seagate LM series without bad problem after getting well before backup firmware, in the feelings that no firmware backs up Under condition, many original data reconstruction method modes are all invalid, and data can not be recovered completely or not restored not come out at all, Our core scheme has compiled the program into independent development and special manual processing method is cooperated to be a whole set of complete skill Art scheme.
In the embodiment of the present invention, the detailed process of magnetic head is analyzed in the step 1 are as follows: input magnetic head analysis instruction, feedback The particular content for returning magnetic head, checks comparison head information;Analyze the detailed process of disc problem are as follows: input disc detection instruction, It feeds back to disc specifying information or opens disc manually and check disc problem.
Seagate laptop hard LM035LM007 is directed to much to occur not recognizing disk.Must use to M instruction can just allow Hard disk normally recognizes.But after being instructed using M 90% hard disk can all occur front can scan.The feelings of whole bad tracks below Condition.All data recovery tools can not all be handled in current society under this failure.It captures and analyzes by team's research It is directed to the recovery scenario of this hard disk.Can repair that all LM035LM007 hard disks in society occur because of M instruction processing after The good bad problem below in caused front.
In the embodiment of the present invention, LBA address conversion at the detailed process of the address PBA in the step 3 are as follows:
Current LBA is converted into the address PBA using A grades of lower G instructions.
In the embodiment of the present invention, the address PBA is loaded into the detailed process of Hard Disk Defect table are as follows:
The initial position LBA is scanned, the position end of scan LBA, Surface scan, repeatedly 3 times of detection are examined forward from end position When survey, it is treated as bad track when the test crash time pauses 3 milliseconds, test is write in execution, and verification replaces reading, and bad track write-in hard disk is lacked It falls into inside table.
In the embodiment of the present invention, in the step 4 manually and automatically loading procedure combine detailed process:
The address PBA is converted out using A grades of lower G instructions are manually entered, Hard Disk Defect table is opened manually, the address PBA is added Hard Disk Defect Biao Biaonei, preceding 2-3 PBA is added using manual mode address, behind the address PBA come from using automated procedures It is dynamic to be added in Hard Disk Defect table.
Instruction in the embodiment of the present invention, in the step 5 are as follows:
F3T>m0,6,3,,,,,22。
This method can completely restore Seagate LM series without bad problem after getting well before backup firmware, in the feelings that no firmware backs up Under condition, many original data reconstruction method modes are all invalid, and data can not be recovered completely or not restored not come out at all. Data can completely be restored using our scheme.Can quickly handle simultaneously LM035LM007 it is preceding it is good after bad problem, Without using traditional scheme for adding PBA one by one.The general common traditional scheme processing time is very long also not necessarily to be handled successfully. This programme is can disposably to add thousands of up to ten thousand PBA to NG tables, bad problem after directly quickly processing is preceding well.
It is badly because LBA (logical block address) goes out with PBA (physical block) address after the hard disk of LM035LM007 is good before occurring Caused by existing entanglement, what we to be done is exactly that their correct corresponding relationships are found out.Use one section of address PBA for falling block This section of PBA for being added to NG table (in Hard Disk Defect table) addition NG table will be no longer accessed.
Three magnetic head series need by hand plus PBA to NG table can run semi-automatic program work.
Using m0,6,3,,, 22 instructions regenerate compiler, be allowed to LBA pair PBA rearrange.In Seagate LM In the hard disk of this model use traditional instruction m0,6,3,,, 22 rebuild once at 3 minutes or more, so we before use Mode PBA is added to G table one by one, then reuse m0,6,3,,, 22 turns of NG tables generate the mode of compiler with regard to not all right ?.Because one bad point PBA of the disk of Seagate LM series be it is very one section long, if still going to add one by one with pervious method Add, needs more than ten month even more long time like that.So we add after having investigated this completely new scheme programming now Add among program, can once enter plus hundreds of thousands PBA directly to NG table editor.
After load use m0,6,3,,, 22 generate compilers after, LBA can normally have accessed.Then we can Restore to extract data to complete data.
The above is only a preferred embodiment of the present invention, it is noted that for the ordinary skill people of the art For member, without departing from the principle of the present invention, it can also make several improvements and retouch, these improvements and modifications are also answered It is considered as protection scope of the present invention.

Claims (6)

1. a kind of Seagate Hard Disk Repair method, it is characterised in that: the restorative procedure includes the following steps:
Step 1: analysis magnetic head and disc problem;
Step 2: scanning hard disk finds out the address PBA and the address LBA of bad point starting position, when magnetic head number be one, two or At person four, 3 are entered step, when magnetic head number is three, enters step 4;
Step 3: LBA address conversion at the address PBA, break down one section of address PBA being loaded into Hard Disk Defect table, into step Rapid 5;
Step 4: manually LBA address conversion at the address PBA, and Hard Disk Defect table is opened manually, using manually and automatically loading Program combines and the address PBA is loaded into Hard Disk Defect table, enters step 5;
Step 5: generating compiler using instruction, PBA corresponding to LBA is rearranged;
Step 6: partial data can be restored by rescaning disk.
2. a kind of Seagate Hard Disk Repair method according to claim 1, it is characterised in that: analyze magnetic head in the step 1 Detailed process are as follows: input magnetic head analysis instruction, feed back to the particular content of magnetic head, check comparison head information;Analyze disc The detailed process of problem are as follows: input disc detection instruction feeds back to disc specifying information or opens disc manually and checks disc Problem.
3. a kind of Seagate Hard Disk Repair method according to claim 2, it is characterised in that: the address LBA in the step 3 It is converted into the detailed process of the address PBA are as follows:
Current LBA is converted into the address PBA using A grades of lower G instructions.
4. a kind of Seagate Hard Disk Repair method according to claim 3, it is characterised in that: the address PBA is loaded into firmly The detailed process of disc defect table are as follows:
The initial position LBA is scanned, the position end of scan LBA, Surface scan, repeatedly 3 times of detection detect forward from end position When, it is treated as bad track when the test crash time pauses 3 milliseconds, test is write in execution, and verification replaces reading, and Hard Disk Defect is written in bad track Inside table.
5. a kind of Seagate Hard Disk Repair method according to claim 4, it is characterised in that: in the step 4 manually and from The detailed process that dynamic loading procedure combines:
The address PBA is converted out using A grades of lower G instructions are manually entered, Hard Disk Defect table is opened manually, hard disk is added in the address PBA Defect Biao Biaonei, preceding 2-3 PBA is added using manual mode address, behind the address PBA using automated procedures come add automatically It adds in Hard Disk Defect table.
6. a kind of Seagate Hard Disk Repair method according to claim 5, it is characterised in that: the instruction in the step 5 are as follows:
F3T>m0,6,3,,,,,22。
CN201811175329.6A 2018-10-10 2018-10-10 A kind of Seagate Hard Disk Repair method Pending CN109445974A (en)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201811175329.6A CN109445974A (en) 2018-10-10 2018-10-10 A kind of Seagate Hard Disk Repair method

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201811175329.6A CN109445974A (en) 2018-10-10 2018-10-10 A kind of Seagate Hard Disk Repair method

Publications (1)

Publication Number Publication Date
CN109445974A true CN109445974A (en) 2019-03-08

Family

ID=65546262

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201811175329.6A Pending CN109445974A (en) 2018-10-10 2018-10-10 A kind of Seagate Hard Disk Repair method

Country Status (1)

Country Link
CN (1) CN109445974A (en)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN110188003A (en) * 2019-05-31 2019-08-30 四川效率源信息安全技术股份有限公司 A kind of data reconstruction method for after loss defect entries in hard disk
CN111722950A (en) * 2019-03-21 2020-09-29 武汉思托福科技有限公司 Hard disk fault maintenance method
CN111785304A (en) * 2020-06-23 2020-10-16 厦门市美亚柏科信息股份有限公司 Seagate hard disk inner ring scratch data recovery method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150037001A (en) * 2013-09-30 2015-04-08 주식회사 유니테스트 System for detecting fail block using logic block address and data buffer address in storage test device
CN105094999A (en) * 2015-08-03 2015-11-25 四川效率源信息安全技术有限责任公司 Method for clearing nonresident defect list of Seagate hard disk
CN106325845A (en) * 2015-06-30 2017-01-11 四川效率源信息安全技术有限责任公司 Method for repairing front part normal and rear part abnormal fault of Seagate hard disk sector

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
KR20150037001A (en) * 2013-09-30 2015-04-08 주식회사 유니테스트 System for detecting fail block using logic block address and data buffer address in storage test device
CN106325845A (en) * 2015-06-30 2017-01-11 四川效率源信息安全技术有限责任公司 Method for repairing front part normal and rear part abnormal fault of Seagate hard disk sector
CN105094999A (en) * 2015-08-03 2015-11-25 四川效率源信息安全技术有限责任公司 Method for clearing nonresident defect list of Seagate hard disk

Non-Patent Citations (3)

* Cited by examiner, † Cited by third party
Title
ADMIN: "希捷前好后坏解决办法(下)", 《HTTP://INFO.MRTLAB.COM/TECH/SEAGATE/249.HTML》 *
BINGBING4562: "F3命令总结", 《HTTPS://WWW.DOCIN.COM/TOUCH_NEW/MIP_PREVIEWHTML.DO?ID=1162191727》 *
OTHER: "SEAGATE希捷F3系列硬盘常用指令", 《HTTPS://WWW.INHDD.COM/20113386.HTML》 *

Cited By (5)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
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
CN110188003A (en) * 2019-05-31 2019-08-30 四川效率源信息安全技术股份有限公司 A kind of data reconstruction method for after loss defect entries in hard disk
CN110188003B (en) * 2019-05-31 2023-01-10 四川效率源信息安全技术股份有限公司 Data recovery method for lost defect entries in hard disk
CN111785304A (en) * 2020-06-23 2020-10-16 厦门市美亚柏科信息股份有限公司 Seagate hard disk inner ring scratch data recovery method

Similar Documents

Publication Publication Date Title
CN109445974A (en) A kind of Seagate Hard Disk Repair method
CN105955889B (en) A kind of graphical interfaces automated testing method
Kaur et al. Comparative study of automated testing tools: Testcomplete and quicktest pro
US8132157B2 (en) Method of automatic regression testing
CN102831052B (en) Test exemple automation generating apparatus and method
US20100325492A1 (en) Identification Of Elements Of Currently-Executing Component Script
US7844929B2 (en) Optimizing test code generation for verification environment
Niemetz et al. Model-Based API Testing for SMT Solvers.
CN109145534B (en) Anti-confusion system and method for software virtual machine protection
CN108959456A (en) A kind of method of automatic recovery completion data
CN107622017A (en) A kind of analytic method of general automation software test
CN110990282A (en) Automatic unit testing method
CN104424096B (en) A kind of automatization test system and method to the equipment based on Android platform
CN106033391A (en) Method and device for fixing bug and changing control based on FOG data
JP2007328447A (en) Software test item selecting device, software test item selecting program, recording medium in which software test item selecting program is stored, and software test item selecting method
Trudel et al. Improving quality of functional requirements by measuring their functional size
Buhse et al. Vedebug: regression debugging tool for java
CN113501034B (en) Test log generation method and device for railway signal system
CN115571202B (en) Method and device for duplicating train control center system
CN116166529A (en) Method for generating test case by continuously executable function points
CN103198849B (en) A kind of audio frequency restorative procedure and system thereof of transcribing audio frequency for DAT
CN117407927B (en) Hard disk data destruction method, computer equipment and storage medium
CN101356505B (en) Apparatus and method to debug a software program
CN101506887B (en) Recording device, recording method, and computer program
JP3278637B2 (en) Log file maintenance device and method

Legal Events

Date Code Title Description
PB01 Publication
PB01 Publication
SE01 Entry into force of request for substantive examination
SE01 Entry into force of request for substantive examination
RJ01 Rejection of invention patent application after publication
RJ01 Rejection of invention patent application after publication

Application publication date: 20190308