CN106844087A - 一种针对西数硬盘译码表损坏的修复方法 - Google Patents

一种针对西数硬盘译码表损坏的修复方法 Download PDF

Info

Publication number
CN106844087A
CN106844087A CN201710067206.XA CN201710067206A CN106844087A CN 106844087 A CN106844087 A CN 106844087A CN 201710067206 A CN201710067206 A CN 201710067206A CN 106844087 A CN106844087 A CN 106844087A
Authority
CN
China
Prior art keywords
module
valid data
hard disk
data body
bad sector
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
CN201710067206.XA
Other languages
English (en)
Other versions
CN106844087B (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.)
XLY SALVATIONDATA TECHNOLOGY Inc.
Original Assignee
SICHUAN MWH 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 MWH INFORMATION SAFETY TECHNOLOGY Co Ltd filed Critical SICHUAN MWH INFORMATION SAFETY TECHNOLOGY Co Ltd
Priority to CN201710067206.XA priority Critical patent/CN106844087B/zh
Publication of CN106844087A publication Critical patent/CN106844087A/zh
Application granted granted Critical
Publication of CN106844087B publication Critical patent/CN106844087B/zh
Active legal-status Critical Current
Anticipated expiration legal-status Critical

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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1012Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using codes or arrangements adapted for a specific type of error
    • G06F11/102Error in check bits
    • 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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1048Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices using arrangements adapted for a specific error detection or correction feature
    • 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/08Error detection or correction by redundancy in data representation, e.g. by using checking codes
    • G06F11/10Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's
    • G06F11/1008Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices
    • G06F11/1064Adding special bits or symbols to the coded information, e.g. parity check, casting out 9's or 11's in individual solid state devices in cache or content addressable memories

Abstract

本发明公开了一种针对西数硬盘31号模块损坏的修复方法,包括以下步骤:S1:找31号模块头部特征;S2:找31号模块长度;S3:区分坏扇区位置并记录;S4:区分有效数据体和非有效数据体;S5:确定坏扇区位置,若存在于有效数据体当中,则结束;反之对非有效数据体裁剪;S6:计算有效数据所占扇区数;S7:填入31号模块长度;S8:对有效数据体校验,重新填入31号模块校验位;S9:断电、起电,正常访问并提取数据。本发明的有益效果如下:通过屏蔽对模块校验产生影响的坏扇区,在硬盘初始化的时候,就不会对模块的坏扇区进行加载和访问,成功初始化硬盘访问硬盘内的数据。

Description

一种针对西数硬盘译码表损坏的修复方法
技术领域
本发明涉及信息安全技术领域,特别涉及一种针对西数硬盘31号模块损坏的修复方法。
背景技术
在数据恢复的领域,经常会遇到缺陷的存储介质;重要的数据对于用户来说,往往都是无价的。西数硬盘固件区坏道,导致了重要模块出现了损坏。模块头部的校验值,和模块产生坏道之后的数据校验值发生了改变,导致了模块校验值不匹配的情况。这样的情况出现,就导致了硬盘无法认盘,或者硬盘认盘但是无法访问数据区的问题出现。
目前出现这种固件区坏道的处理办法,一般都是采用固件区偏移的方法来处理。但是如果固件区的所有磁道都存在同纬度的规律坏道,并且重要模块的长度又很长。固件偏移方法就无法处理。
发明内容
本发明针对现有技术的缺陷,提供了一种针对西数硬盘31号模块损坏的修复方法,能有效的解决上述现有技术存在的问题。
一种针对西数硬盘31号模块损坏的修复方法,包括以下步骤:
S1:获取通过UBA方式找到31号模块头部特征;
S2:头部向后偏移6个字节找31号模块长度;
S3:根据31号模块长度遍历整个31号模块,区分坏扇区位置并记录;
S4:以31号模块头部特征为起始位向后检索“0x0000FFFF”,这段数据体记为有效数据体,“0x0000FFFF”向后至31号模块尾部为非有效数据体;
S5:确定31号模块中所有坏扇区位置,如果坏扇区位置存在于有效数据体当中,则结束。如果坏扇区位置存在非有效数据体当中,则对非有效数据体进行裁剪,执行S6;
S6:将有效数据体进行字节数统计;执行公式:字节数\512=有效数据所占扇区数,对有效数据所占扇区数取整;
S7:将有效数据所占扇区数转换成16进制,填入译码表31号模块头部对应的模块长度记录位置;
S8:对S7改变后的有效数据体进行校验,并将得到的4字节校验重新填入31号模块对应的校验位;
S9:断电、起电,硬盘就可以正常访问并提取数据。
与现有技术相比本发明的优点在于:通过屏蔽对模块校验产生影响的坏扇区,在硬盘初始化的时候,就不会对模块的坏扇区进行加载和访问,成功初始化硬盘访问硬盘内的数据。
附图说明
图1为本发明实施例31号模块的数据结构图。
具体实施方式
为使本发明的目的:技术方案及优点更加清楚明白,以下举实施例,对本发明做进一步详细说明。
如图1所示,一种针对西数硬盘31号模块损坏的修复方法,包括以下步骤:
S1:获取通过UBA方式找到31号模块头部特征“0x524F594C”;
S2:头部向后偏移6个字节的两个字节为记录31号模块长度“0x0C7”;
S3:根据31号模块长度遍历整个31号模块,区分坏扇区位置并记录;
S4:以31号模块头部特征“0x524F594C”为起始位向后检索“0x0000FFFF”,这段数据体记为有效数据体,“0x0000FFFF”向后至31号模块尾部为非有效数据体;
S5:确定31号模块中所有坏扇区位置,如果坏扇区位置存在于有效数据体当中,则结束。如果坏扇区位置存在非有效数据体当中,则对非有效数据体进行裁剪,执行S6;
S6:将有效数据体进行字节数统计;执行公式:字节数\512=有效数据所占扇区数,对有效数据所占扇区数取整;
S7:将有效数据所占扇区数转换成16进制,填入译码表31号模块头部对应的模块长度记录位置;
S8:对S7改变后的有效数据体进行校验,并将得到的4字节校验重新填入31号模块对应的校验位;
S9:断电、起电,硬盘就可以正常访问并提取数据。
本领域的普通技术人员将会意识到,这里所述的实施例是为了帮助读者理解本发明的实施方法,应被理解为本发明的保护范围并不局限于这样的特别陈述和实施例。本领域的普通技术人员可以根据本发明公开的这些技术启示做出各种不脱离本发明实质的其它各种具体变形和组合,这些变形和组合仍然在本发明的保护范围内。

Claims (1)

1.一种针对西数硬盘31号模块损坏的修复方法,其特征在于包括以下步骤:
S1:获取通过UBA方式找到31号模块头部特征;
S2:头部向后偏移6个字节找31号模块长度;
S3:根据31号模块长度遍历整个31号模块,区分坏扇区位置并记录;
S4:以31号模块头部特征为起始位向后检索“0x0000FFFF”,这段数据体记为有效数据体,“0x0000FFFF”向后至31号模块尾部为非有效数据体;
S5:确定31号模块中所有坏扇区位置,如果坏扇区位置存在于有效数据体当中,则结束。如果坏扇区位置存在非有效数据体当中,则对非有效数据体进行裁剪,执行S6;
S6:将有效数据体进行字节数统计;执行公式:字节数\512=有效数据所占扇区数,对有效数据所占扇区数取整;
S7:将有效数据所占扇区数转换成16进制,填入译码表31号模块头部对应的模块长度记录位置;
S8:对S7改变后的有效数据体进行校验,并将得到的4字节校验重新填入31号模块对应的校验位;
S9:断电、起电,硬盘就可以正常访问并提取数据。
CN201710067206.XA 2017-02-06 2017-02-06 一种针对西数硬盘译码表损坏的修复方法 Active CN106844087B (zh)

Priority Applications (1)

Application Number Priority Date Filing Date Title
CN201710067206.XA CN106844087B (zh) 2017-02-06 2017-02-06 一种针对西数硬盘译码表损坏的修复方法

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201710067206.XA CN106844087B (zh) 2017-02-06 2017-02-06 一种针对西数硬盘译码表损坏的修复方法

Publications (2)

Publication Number Publication Date
CN106844087A true CN106844087A (zh) 2017-06-13
CN106844087B CN106844087B (zh) 2019-12-03

Family

ID=59121507

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201710067206.XA Active CN106844087B (zh) 2017-02-06 2017-02-06 一种针对西数硬盘译码表损坏的修复方法

Country Status (1)

Country Link
CN (1) CN106844087B (zh)

Cited By (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122257A (zh) * 2017-05-02 2017-09-01 四川艾特赢泰智能科技有限责任公司 一种修复希捷硬盘同时出现no_host及3005_error故障的方法
CN109308238A (zh) * 2018-12-03 2019-02-05 郑州云海信息技术有限公司 一种存储系统磁盘阵列坏盘调节的方法、装置及设备
CN109684122A (zh) * 2018-12-25 2019-04-26 四川效率源信息安全技术股份有限公司 一种雕复故障西数硬盘的段位表模块的方法

Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130124908A1 (en) * 2011-11-11 2013-05-16 Level 3 Communications, Llc Systems and methods for automatic replacement and repair of communications network devices
JP2014134884A (ja) * 2013-01-08 2014-07-24 Nec Corp ディスクアレイ装置、バッドセクタ修復方法および修復プログラム
CN104598349A (zh) * 2015-03-02 2015-05-06 四川效率源信息安全技术有限责任公司 一种修复希捷硬盘不能进入诊断模式的方法
US20160110246A1 (en) * 2014-10-20 2016-04-21 Emc Corporation Disk data management

Patent Citations (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20130124908A1 (en) * 2011-11-11 2013-05-16 Level 3 Communications, Llc Systems and methods for automatic replacement and repair of communications network devices
JP2014134884A (ja) * 2013-01-08 2014-07-24 Nec Corp ディスクアレイ装置、バッドセクタ修復方法および修復プログラム
US20160110246A1 (en) * 2014-10-20 2016-04-21 Emc Corporation Disk data management
CN104598349A (zh) * 2015-03-02 2015-05-06 四川效率源信息安全技术有限责任公司 一种修复希捷硬盘不能进入诊断模式的方法

Cited By (4)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN107122257A (zh) * 2017-05-02 2017-09-01 四川艾特赢泰智能科技有限责任公司 一种修复希捷硬盘同时出现no_host及3005_error故障的方法
CN109308238A (zh) * 2018-12-03 2019-02-05 郑州云海信息技术有限公司 一种存储系统磁盘阵列坏盘调节的方法、装置及设备
CN109684122A (zh) * 2018-12-25 2019-04-26 四川效率源信息安全技术股份有限公司 一种雕复故障西数硬盘的段位表模块的方法
CN109684122B (zh) * 2018-12-25 2022-05-03 四川效率源信息安全技术股份有限公司 一种雕复故障西数硬盘的段位表模块的方法

Also Published As

Publication number Publication date
CN106844087B (zh) 2019-12-03

Similar Documents

Publication Publication Date Title
CN106844087A (zh) 一种针对西数硬盘译码表损坏的修复方法
US8174784B2 (en) Systems and methods for inter-location control of storage access
US9165599B1 (en) Method for correcting DC characteristics in a magnetic recording system
KR101507639B1 (ko) 에러 검출시 마그네틱 데이터 테이프로의 코드워드 오브젝트 재기록
US8549659B2 (en) Non-volatile memory for anti-cloning and authentication method for the same
WO2012058478A1 (en) Inter-track interference cancelation for shingled magnetic recording
CN103594120B (zh) 以读代写的存储器纠错方法
TW201115456A (en) Method to minimize the effects of tape skew and tape dimensional stability
CN105354099A (zh) 一种西数硬盘修复方法
MX2010005823A (es) Medio de grabacion de informacion y aparato de grabacion/reproduccion.
CN106648948B (zh) 一种针对西数硬盘11号模块损坏的修复方法
US6581184B1 (en) Method and circuit for including parity bits in write data of a mass data storage device, or the like, using a 48/54 mtr (3:k) code constraint, and post-processing circuit and method for processing read back data that includes said code constraint
TW200606842A (en) Digital data coding apparatus, DVD recording apparatus, and method of using the same
CN103558997B (zh) 数字平调系统的数据记录与u盘导出方法
US7039141B2 (en) Data synchronization detection device, information recording device, information reproduction device, information recording format, signal processing device, information recording and reproducing device, and information recording medium
JP2005196964A (ja) 情報記録再生装置及びその信号評価方法
CN102754154B (zh) 记录介质、再现和记录方法、再现和记录装置
DE60218535D1 (de) Fehler-korrektur in einem datenstrom
US8861109B1 (en) Data processing system with adjacent track interference metric
CN104834476A (zh) 基于段结束标记的数据对准的系统和方法
CN104731532B (zh) 一种修复硬盘固件区适配参数模块的方法
MXPA04010943A (es) Disco optico y metodo para grabar datos en el mismo.
US8300342B2 (en) Multi-bit phase alignment for synchronization mark pattern matching
CN105321534A (zh) 一种修改希捷硬盘磁头位图的方法
US9099157B1 (en) Systems and methods for adjacent track interference based re-writing

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
CB02 Change of applicant information
CB02 Change of applicant information

Address after: 641000 Sichuan province Neijiang City Songshan Road No. 253

Applicant after: Sichuan Miwu Traceless Science and Technology Co., Ltd.

Address before: 641000 Sichuan province Neijiang City Songshan Road No. 253

Applicant before: SICHUAN MWH INFORMATION SAFETY TECHNOLOGY CO., LTD.

GR01 Patent grant
GR01 Patent grant
TR01 Transfer of patent right
TR01 Transfer of patent right

Effective date of registration: 20210915

Address after: 641100 No.1 Hanyu Avenue, Shizhong District, Neijiang City, Sichuan Province

Patentee after: XLY SALVATIONDATA TECHNOLOGY Inc.

Address before: 641000 Songshan South Road 253, Neijiang City, Sichuan Province

Patentee before: Sichuan Miwu Traceless Science and Technology Co.,Ltd.