CN105242985B - Data recovery method and device - Google Patents

Data recovery method and device Download PDF

Info

Publication number
CN105242985B
CN105242985B CN201510570793.5A CN201510570793A CN105242985B CN 105242985 B CN105242985 B CN 105242985B CN 201510570793 A CN201510570793 A CN 201510570793A CN 105242985 B CN105242985 B CN 105242985B
Authority
CN
China
Prior art keywords
metadata
magnetic head
target disk
address
target
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
CN201510570793.5A
Other languages
Chinese (zh)
Other versions
CN105242985A (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.)
Huawei Technologies Co Ltd
Original Assignee
Huawei Technologies 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 Huawei Technologies Co Ltd filed Critical Huawei Technologies Co Ltd
Priority to CN201510570793.5A priority Critical patent/CN105242985B/en
Publication of CN105242985A publication Critical patent/CN105242985A/en
Priority to PCT/CN2016/097953 priority patent/WO2017041670A1/en
Application granted granted Critical
Publication of CN105242985B publication Critical patent/CN105242985B/en
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/14Error detection or correction of the data by redundancy in operation

Abstract

The invention discloses a kind of data recovery method and devices, belong to computer realm.The described method includes:Head failure notification information is received, head failure notification information carries failure magnetic head mark;It is identified based on failure magnetic head, determines target metadata backup location, target metadata backup location stores the metadata of faulty magnetic head, and each magnetic head is respectively provided with that there are one metadata backup locations in advance;From target metadata backup location, the corresponding metadata of failure magnetic head is obtained, metadata is described for the data address to the data stored in target disk and attribute information, the disc that target disk is accessed by failure magnetic head;The described attribute information of metadata based on acquisition, repairs the data stored in target disk.The present invention can rapidly be repaired failure magnetic head and correspond to the data stored in target disk, be reduced the cost of upper system data reparation, improve the efficiency of data reparation by the metadata stored in target metadata backup location.

Description

Data recovery method and device
Technical field
The present invention relates to computer realm, more particularly to a kind of data recovery method and device.
Background technology
Magnetic head and disc are the most basic components of disk, and for the capacity requirement for meeting disk, it can in disk To include multiple magnetic heads and multiple discs, a magnetic head can access to the data stored in a disc, that is to say, magnetic Head is the critical component of disk access data.When head failure, it will be unable to access the data of magnetic head respective disc on piece storage, Therefore, it is particularly important that the data stored in disc are corresponded to the magnetic head and repair.
At present, the process of data reparation can be:When receiving head failure information, where determining the failure magnetic head Entire disk failure, at this point it is possible to all data stored in the entire failed disk are directly backuped into other disks, and will The failed disk is formatted, and the data in the failed disk are repaired, and subsequently can also continue to use the event Hinder disk.
In the implementation of the present invention, inventor has found that the prior art has at least the following problems:
During due to a head failure, other magnetic heads in disk where the magnetic head can also be normally accessed in corresponding disc Therefore entire disk, is formatted the cost for not only increasing data reparation, while also increases data by the data of storage The time of reparation reduces the efficiency of data reparation.
The content of the invention
In order to solve problem of the prior art, an embodiment of the present invention provides a kind of data recovery method and devices.It is described Technical solution is as follows:
In a first aspect, a kind of data recovery method is provided, the described method includes:
Head failure notification information is received, the head failure notification information carries failure magnetic head mark;
It is identified based on the failure magnetic head, determines target metadata backup location, the target metadata backup location is deposited Contain the metadata of failure magnetic head, each magnetic head is respectively provided with that there are one metadata backup locations in advance;
From the target metadata backup location, the corresponding metadata of the failure magnetic head is obtained, the metadata is used The data address and attribute information of the data stored in target disk are described, and the target disk is the failure magnetic The disc that head is accessed;
The described attribute information of metadata based on acquisition, repairs the data stored in the target disk.
With reference to first aspect, it is described from the target element in the first possible realization method of above-mentioned first aspect In data backup position, before obtaining the corresponding metadata of the failure magnetic head, further include:
The map information of target disk is obtained, the map information is used to identify multiple magnetic heads that the target disk includes The address information accessed respectively, the target disk are the disk where the target disk and the failure magnetic head;
Obtain the metadata for multiple discs that the target disk includes;
For each metadata in the multiple metadata, based on the described data address of the metadata and described Map information determines that the metadata corresponds to the metadata backup location of magnetic head;
In the metadata backup location that metadata write-in is determined, to be backed up to the metadata.
The possible realization method of with reference to first aspect the first, in second of possible realization side of above-mentioned first aspect In formula, the map information for obtaining target disk, including:
Map information is sent to the target disk and obtains instruction, and the target disk is made, which to return to the target disk, to be included The address information that is accessed respectively of multiple magnetic heads;
It, will be described more when the address information that the multiple magnetic head for receiving the target disk return is accessed respectively The magnetic head mark and the address information that is accessed respectively of the multiple magnetic head of a magnetic head, be stored in magnetic head mark and address information it Between correspondence in.
Second of possible realization method of the possible realization method of with reference to first aspect the first or first aspect, It is described to be based on the described data address of the metadata and institute in the third possible realization method of above-mentioned first aspect Map information is stated, determines that the metadata corresponds to the metadata backup location of magnetic head, including:
Based on the described data address of the metadata, the address information where the data address is determined;
Based on definite address information, from the correspondence between the magnetic head mark and address information of storage, acquisition pair The magnetic head mark answered;
Magnetic head mark based on acquisition, determines that the metadata corresponds to the metadata backup location of magnetic head.
With reference to first aspect, in the 4th kind of possible realization method of above-mentioned first aspect, the member based on acquisition The described attribute information of data after being repaired to the data stored in the target disk, further includes:
The failure magnetic head is marked, it is failed to identify the failure magnetic head.
With reference to first aspect or the 4th kind of possible realization method of first aspect, at the 5th kind of above-mentioned first aspect In possible realization method, the described attribute information of the metadata based on acquisition, to what is stored in the target disk After data are repaired, further include:
Capacity refreshing instruction is sent to target disk, the target disk is made to determine target disk new size, to refresh The capacity of target disk is stated, the target disk new size is the capacity of the target disk after refreshing.
Second aspect, provides a kind of data prosthetic device, and described device includes:
Receiving module, for receiving head failure notification information, the head failure notification information carries failure magnetic head mark Know;
First determining module for being based on the failure magnetic head mark, determines target metadata backup location, the target Metadata backup location stores the metadata of faulty magnetic head, and each magnetic head is respectively provided with that there are one metadata backup locations in advance;
First acquisition module, for from the target metadata backup location, obtaining the corresponding member of the failure magnetic head Data, the metadata are described for the data address to the data stored in target disk and attribute information, the mesh The disc that bidding quotation piece is accessed by the failure magnetic head;
Repair module, for the described attribute information of metadata based on acquisition, to what is stored in the target disk Data are repaired.
With reference to second aspect, in the first possible realization method of above-mentioned second aspect, described device further includes:
Second acquisition module, for obtaining the map information of target disk, the map information is used to identify the target The address information that multiple magnetic heads that disk includes are accessed respectively, the target disk are the target disk and the failure magnetic Disk where head;
3rd acquisition module, for obtaining the metadata for multiple discs that the target disk includes;
Second determining module, for for each metadata in the multiple metadata, being retouched based on the metadata The data address stated and the map information determine that the metadata corresponds to the metadata backup location of magnetic head;
Backup module, for by the definite metadata backup location of metadata write-in, with to the metadata into Row backup.
With reference to the first possible realization method of second aspect, in second of possible realization side of above-mentioned second aspect In formula, second acquisition module includes:
Transmitting element obtains instruction for sending map information to the target disk, the target disk is made to return to institute The address information that multiple magnetic heads that stating target disk includes are accessed respectively;
Storage unit, for the address letter accessed respectively when the multiple magnetic head for receiving the target disk return During breath, by the address information that the magnetic head of the multiple magnetic head identifies and the multiple magnetic head is accessed respectively, magnetic head mark is stored in Know in the correspondence between address information.
With reference to the first possible realization method of second aspect or second of possible realization method of second aspect, In the third possible realization method of above-mentioned second aspect, second determining module includes:
First determination unit for being based on the described data address of the metadata, determines the data address place Address information;
Acquiring unit, for based on definite address information, from the magnetic head mark of storage with it is corresponding between address information In relation, corresponding magnetic head mark is obtained;
Second determination unit, for based on acquisition magnetic head mark, determine the metadata correspond to magnetic head metadata it is standby Part position.
With reference to second aspect, in the 4th kind of possible realization method of above-mentioned second aspect, described device further includes:
Mark module, it is failed to identify the failure magnetic head for the failure magnetic head to be marked.
With reference to the 4th kind of possible realization method of second aspect or second aspect, at the 5th kind of above-mentioned second aspect In possible realization method, described device further includes:
Sending module for sending capacity refreshing instruction to target disk, makes the target disk determine that target disk is new Capacity, to refresh the capacity of the target disk, the target disk new size is the capacity of the target disk after refreshing.
The advantageous effect that technical solution provided in an embodiment of the present invention is brought is:In embodiments of the present invention, when upper series of strata After system receives head failure information, it can obtain the corresponding metadata of failure magnetic head from target metadata backup location, and be based on The metadata of acquisition rapidly repairs failure magnetic head and corresponds to the data stored in target disk, so as to format target Still the target disk can be continuing in the case of disk, the cost of upper system data reparation is reduced, reduces number According to the time of reparation, the efficiency of data reparation is improved.
Description of the drawings
To describe the technical solutions in the embodiments of the present invention more clearly, make required in being described below to embodiment Attached drawing is briefly described, it should be apparent that, the accompanying drawings in the following description is only some embodiments of the present invention, for For those of ordinary skill in the art, without creative efforts, other are can also be obtained according to these attached drawings Attached drawing.
Fig. 1 is a kind of data repair system Organization Chart provided in an embodiment of the present invention;
Fig. 2 is a kind of data recovery method flow chart provided in an embodiment of the present invention;
Fig. 3 is another data recovery method flow chart provided in an embodiment of the present invention;
Fig. 4 is a kind of data prosthetic device structure diagram provided in an embodiment of the present invention;
Fig. 5 is another data prosthetic device structure diagram provided in an embodiment of the present invention;
Fig. 6 is a kind of second acquisition module apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 7 is a kind of second determining module apparatus structure schematic diagram provided in an embodiment of the present invention;
Fig. 8 is a kind of data prosthetic appliance structure diagram provided in an embodiment of the present invention.
Specific embodiment
To make the object, technical solutions and advantages of the present invention clearer, below in conjunction with attached drawing to embodiment party of the present invention Formula is described in further detail.
Before to the embodiment of the present invention carrying out that explanation is explained in detail, first the system architecture of the embodiment of the present invention is carried out It introduces.Fig. 1 is a kind of data repair system Organization Chart provided in an embodiment of the present invention, as shown in Figure 1, the data repair system bag Upper system and multiple disks are included, which is connected respectively with the plurality of disk.Wherein, the plurality of disk can wrap respectively Multiple discs and multiple magnetic heads are included, for storing data, the plurality of magnetic head is used for respectively to the plurality of disc the plurality of disc The data of storage access, and the upper system in disc corresponding to the magnetic head to break down in the plurality of magnetic head for storing Data repaired.
Fig. 2 is a kind of data recovery method flow chart provided in an embodiment of the present invention, referring to Fig. 2, the data recovery method For in upper system, this method to include:
Step 201:Head failure notification information is received, which carries failure magnetic head mark.
Step 202:It is identified based on the failure magnetic head, determines target metadata backup location, target metadata backup position Put the metadata for storing faulty magnetic head, each magnetic head is respectively provided with that there are one metadata backup locations in advance.
Step 203:From the target metadata backup location, the corresponding metadata of failure magnetic head, the metadata are obtained It is described for the data address to the data stored in target disk and attribute information, which is the failure magnetic head The disc accessed.
Step 204:The described attribute information of metadata based on acquisition carries out the data stored in the target disk It repairs.
In embodiments of the present invention, after upper system receives head failure information, position can be backed up from target metadata It puts, obtains the corresponding metadata of failure magnetic head, and the metadata based on acquisition, rapidly repair failure magnetic head and correspond to target disk The data of middle storage so as to still be continuing with the target disk in the case where that need not format target disk, reduce The cost of upper system data reparation reduces the time of data reparation, improves the efficiency of data reparation.
Optionally, from the target metadata backup location, before obtaining the corresponding metadata of failure magnetic head, also wrap It includes:
The map information of target disk is obtained, which is used to identify multiple magnetic heads difference that the target disk includes The address information accessed, the target disk are the disk where the target disk and the failure magnetic head;
Obtain the metadata for multiple discs that the target disk includes;
For each metadata in the plurality of metadata, believed based on the described data address of the metadata and mapping Breath, determines that the metadata corresponds to the metadata backup location of magnetic head;
In the metadata backup location that metadata write-in is determined, to be backed up to the metadata.
Optionally, the map information of the acquisition target disk, including:
To the target disk send map information obtain instruction, make the target disk return the target disk include it is multiple The address information that magnetic head is accessed respectively;
When the address information that the plurality of magnetic head for receiving target disk return is accessed respectively, by the plurality of magnetic head Magnetic head mark and the address information that is accessed respectively of the plurality of magnetic head, be stored in magnetic head mark with it is corresponding between address information In relation.
Optionally, based on the described data address of the metadata and map information, determine that the metadata corresponds to magnetic head Metadata backup location, including:
Based on the described data address of the metadata, the address information where the data address is determined;
Based on definite address information, from the correspondence between the magnetic head mark and address information of storage, acquisition pair The magnetic head mark answered;
Magnetic head mark based on acquisition, determines that the metadata corresponds to the metadata backup location of magnetic head.
Optionally, should described attribute information of metadata based on acquisition, to the data that are stored in the target disk into After row is repaired, further include:
The failure magnetic head is marked, it is failed to identify the failure magnetic head.
Optionally, the described attribute information of metadata based on acquisition carries out the data stored in the target disk After reparation, further include:
Capacity refreshing instruction is sent to target disk, the target disk is made to determine target disk new size, to refresh the mesh The capacity of disk is marked, which is the capacity of the target disk after refreshing.
Above-mentioned all optional technical solutions, can form the alternative embodiment of the present invention according to any combination, and the present invention is real Example is applied no longer to repeat this one by one.
Fig. 3 is a kind of data recovery method flow chart provided in an embodiment of the present invention, and referring to Fig. 3, this method includes:
Step 301:Obtain target disk map information, the map information for identify the target disk include it is multiple The address information that magnetic head is accessed respectively, disk of the target disk for the target disk and where the failure magnetic head, the target The disc that disc is accessed for the failure magnetic head.
It is backed up in order to which the multiple magnetic heads for including the target disk access the data stored in disc, it is necessary to should The metadata that multiple disks access the data stored in disc is backed up, and before backing up metadata, upper system also needs Obtain the map information of target disk.And the operation that upper system obtains target disk map information can be:Upper system Map information is sent to the target disk and obtains instruction, and the target disk is made to return to multiple magnetic heads difference that the target disk includes The address information accessed;When upper system receive the target disk return the plurality of magnetic head accessed respectively address letter During breath, address information that the magnetic head of the plurality of magnetic head mark and the plurality of magnetic head are accessed respectively, be stored in magnetic head mark with In correspondence between address information.
It should be noted that upper system can be the operating system installed in equipment or operate in equipment Application program, the equipment can be terminal, or server, in addition, upper system can be with target disk positioned at same In equipment, certainly, upper system can also be located at from target disk in different equipment, and the embodiment of the present invention is not done this specifically It limits.
Wherein, map information obtains instruction for obtaining multiple magnetic heads difference that the target disk includes from target disk The address information accessed, the map information obtain instruction and can be arranged in advance in upper system, and the map information obtains Instruction can be the new command set or some existing instructions are extended to obtain, for example, can be right Inquiry (inquiry) instruct or Report Zone (report area) instruction is extended to obtain, the embodiment of the present invention to this not It is specifically limited.
In addition, the address information that the plurality of magnetic head is accessed respectively is the plurality of magnetic head respectively in accessed disc for depositing The storage address of the data of storage, and the address information that the plurality of magnetic head is accessed respectively can include initial address and offset ground Location, can also include address range, and the embodiment of the present invention is not specifically limited this.
It should be noted that a magnetic head can correspond to an address information, can also correspond to multiple address informations namely It is that a magnetic head can access the sector address scope on disc, the multistage address range on disc can also be accessed, the present invention Embodiment is not specifically limited.
When the address information that the plurality of magnetic head is accessed respectively includes initial address and offset address, upper system obtains The operation of target disk map information can be:Upper system sends map information to the target disk and obtains instruction, works as target When disk receives the map information and obtains instruction, the target disk obtain the initial address that the plurality of magnetic head accessed respectively and Offset address, and initial address and offset address that the plurality of magnetic head is accessed respectively are sent to upper system, when upper series of strata When initial address and offset address that the plurality of magnetic head that system receives target disk transmission is accessed respectively, by the plurality of magnetic The initial address and offset address that leader is known, the plurality of magnetic head is accessed respectively are stored in magnetic head mark, initial address and offset In correspondence between address.
For example, the target disk includes 3 magnetic heads, it is respectively magnetic head 1, magnetic head 2 and magnetic head 3, upper system is to the target Disk sends map information and obtains instruction, and when target disk, which receives the map information, obtains instruction, which obtains The initial address that magnetic head 1 is accessed is 1000H, and offset address 0040H, the initial address that magnetic head 2 is accessed is 2000H, partially Shifting address is 0040H, and the initial address that magnetic head 3 is accessed is 3000H, and offset address 0040H, the target disk is by this 3 The initial address and offset address that magnetic head is accessed respectively are sent to upper system, when upper system receives target disk hair When initial address and offset address that 3 magnetic heads sent are accessed respectively, by the magnetic head mark ID1 of the magnetic head 1,1 institute of magnetic head The initial address and offset address of access are stored between magnetic head mark as shown in table 1 below, initial address and offset address In correspondence, initial address and offset address that magnetic head mark ID2, the magnetic head 2 of magnetic head 2 are accessed are stored in such as the following table 1 Magnetic head mark ID3, magnetic in correspondence between shown magnetic head mark, initial address and offset address and by magnetic head 3 First 3 initial addresses accessed and offset address are stored in magnetic head mark, initial address and offset address as shown in table 1 below Between correspondence in.
Table 1
Magnetic head identifies Initial address Offset address
ID1 1000H 0040H
ID2 2000H 0040H
ID3 3000H 0040H
…… …… ……
It should be noted that in embodiments of the present invention, with magnetic head mark, initial address and the offset shown in above-mentioned table 1 It is illustrated exemplified by correspondence between address, above-mentioned table 1 does not form the embodiment of the present invention and limits.
Similarly, when the address information that the plurality of magnetic head is accessed respectively includes address range, upper system obtains target The operation of Disk Mapping information can be:Upper system sends map information to the target disk and obtains instruction, works as target disk When receiving map information acquisition instruction, which obtains the address range that the plurality of magnetic head is accessed respectively, and will The address range that the plurality of magnetic head is accessed respectively is sent to upper system, when upper system receives target disk transmission During the address range that the plurality of magnetic head is accessed respectively, by the address that the plurality of magnetic head identifies and the plurality of magnetic head is accessed respectively Scope is stored in the correspondence between magnetic head mark and address range.
For example, the target disk includes 3 magnetic heads, it is respectively magnetic head 1, magnetic head 2 and magnetic head 3, upper system is to the target Disk sends map information and obtains instruction, and when target disk, which receives the map information, obtains instruction, which obtains The address range that magnetic head 1 is accessed be 1000H~1040H, the address range that magnetic head 2 is accessed be 2000H~2040H, magnetic head 3 The address range accessed is 3000H~3040H, and the address range which is accessed 3 magnetic heads respectively is sent It, will when upper system receives the address range that 3 magnetic heads of target disk transmission are accessed respectively to upper system The address range that the magnetic head mark ID1 and magnetic head 1 of the magnetic head 1 are accessed is stored in magnetic head mark as shown in table 2 below and address In correspondence between scope, address range that the magnetic head of magnetic head 2 mark ID2 is accessed with magnetic head 2 is stored in such as following table It is visited in the correspondence between magnetic head mark and address range shown in 2 and by the magnetic head mark ID3 of magnetic head 3 with magnetic head 3 The address range asked is stored in the correspondence between magnetic head mark as shown in table 2 below and address range.
Table 2
Magnetic head identifies Address range
ID1 1000H~1040H
ID2 2000H~2040H
ID3 3000H~3040H
…… ……
It should be noted that in embodiments of the present invention, between the magnetic head mark shown in above-mentioned table 2 and address range It is illustrated exemplified by correspondence, above-mentioned table 2 does not form the embodiment of the present invention and limits.
In addition, different types of disk has different types of data address, that is to say, different types of disk, magnetic head The type of the address information accessed is also different, for example, when the type of disk is HDD (Hard DiskDrive, mechanical hard disk) When, the type for the address information that magnetic head is accessed can be LBA (Logical BlockAddress, logical block addresses), and When the type of disk is SMR (Shingled Magnetic Recording, stacked tile type magnetic recording), ground that magnetic head is accessed The type of location information can be LBA, or ZONE (region), the embodiment of the present invention is not specifically limited this.
Wherein, after upper system gets the map information of target disk, which can be by the target magnetic The metadata for multiple discs that disk includes is backed up, specific as follows.
Step 302:The metadata for multiple discs that the target disk includes is obtained, and for every in the plurality of metadata A metadata based on the described data address of the metadata and the map information, determines that the metadata corresponds to first number of magnetic head According to backup location.
In order to be backed up to metadata, upper system needs to believe based on the described data address of the metadata and mapping Breath, determines that the metadata corresponds to the metadata backup location of magnetic head.And upper system is based on the described data of the metadata Location and the map information, determine that the operation that the metadata corresponds to the metadata backup location of magnetic head can be:Based on the metadata Described data address determines the address information where the data address;Based on definite address information, from the magnetic head of storage In correspondence between mark and address information, corresponding magnetic head mark is obtained;Magnetic head mark based on acquisition, determines this yuan Data correspond to the metadata backup location of magnetic head.
Wherein, when upper system obtains the metadata for multiple discs that the target disk includes, which can be with The valid data stored in the multiple discs included based on the target disk are generated, and are included so as to obtaining the target disk The metadata of multiple discs, the metadata of each disc is for the data address and attribute information to the data stored in the disc It is described.So as to due to metadata be generated based on the valid data stored in disc, which is retouched The data address stated is the storage address of the valid data stored in the disc.
Address information is mentioned in above-mentioned steps 301 can include initial address and offset address, can also include address model It encloses, therefore, when address information difference, upper system is based on the described data address of the metadata, determines the data address The operation of the address information at place is also different, below by two kinds of situation to data address address information it is definite operate into Row explanation:
The first, when address information include initial address and offset address when, upper system can obtain the magnetic head of storage The initial address and offset address included by correspondence between mark, initial address and offset address, obtains multiple startings Address and the corresponding offset address of the plurality of initial address, from the plurality of initial address and the corresponding offset of the plurality of initial address In address, initial address and offset address where the described data address of the metadata are selected, by the initial address of selection The address information being determined as with offset address where the data address.
Wherein, for upper system from the plurality of initial address and the corresponding offset address of the plurality of initial address, selection should The operation of initial address and offset address where the described data address of metadata can be:For the plurality of initial address In each initial address, initial address offset address corresponding with the initial address is added, end address is obtained, by this The described data address of metadata is compared with the initial address and by the described data address of the metadata with being somebody's turn to do End address is compared, and when the data address is greater than or equal to initial address and is less than or equal to end address, this is risen Beginning address offset address corresponding with the initial address is determined as the initial address where the described data address of the metadata And offset address.
Alternatively, for each initial address in the plurality of initial address, the described data address of the metadata is subtracted The initial address is gone, obtains difference in address, if the difference in address is for positive number and corresponding less than or equal to the initial address inclined Address is moved, then initial address offset address corresponding with the initial address is determined as the described data address of the metadata The initial address and offset address at place.
For example, the described data address of the metadata is 1040H, upper system obtains the magnetic head mark of storage, starting The initial address and offset address included by correspondence between address and offset address, obtaining multiple initial addresses is respectively 1000H, 2000H, 3000H, and the corresponding offset address of 3 initial addresses is all for 0040H, by 3 initial address 1000H, 2000H, 3000H are added respectively with corresponding offset address 0040H, are obtained corresponding end address and are respectively 1040H, 2040H, 3040H, the metadata described data address 1040H and initial address 1000H is compared and By the described data address 1040H of the metadata compared with the 1040H of end address, determine that data address 1040H is more than Initial address 1000H and equal to end address 1040H;By the described data address 1040H of the metadata and initial address 2000H is compared and by the described data address 1040H of the metadata compared with the 2040H of end address, is obtained Data address 1040H is less than initial address 2000H and less than end address 2040H;By the described data address of the metadata 1040H and initial address 3000H is compared and by the described data address 1040H of the metadata and end address 3040H is compared, and obtains data address 1040H less than initial address 3000H and less than end address 3040H;Therefore, by this Initial address 1000H offset address 0040Hs corresponding with the initial address is determined as the described data address of the metadata Initial address and offset address where 1040H.
Alternatively, for initial address 1000H, 2000H, 3000H, the described data address 1040H of the metadata is subtracted Initial address 1000H is removed, obtains difference in address as 0040H, the difference in address is for positive number and corresponding equal to initial address 1000H Offset address 0040H;The described data address 1040H of the metadata is subtracted into initial address 2000H, obtains difference in address For -0960H, the difference in address is for negative and less than the corresponding offset address 0040H of initial address 2000H;By the metadata institute The data address 1040H of description subtracts initial address 3000H, obtains difference in address as -1960H, the difference in address for negative and Offset address 0040H corresponding less than initial address 1000H;Therefore, it is initial address 1000H is corresponding with the initial address Offset address 0040H is determined as initial address and offset address where the described data address of the metadata.
Secondth, when address information includes address range, upper system can obtain magnetic head mark and the address of storage The address range included by correspondence between scope, obtains multiple address ranges, and from the plurality of address range, selection should Address range where the described data address of metadata, the ground address range of selection being determined as where the data address Location information.
Wherein, upper system selects the address where the described data address of the metadata from this address range The operation of scope can be:For each address range in the plurality of address range, the upper system is by the address range Initial address is compared with the described data address of the metadata and by the end address of the address range and this yuan of number Be compared according to described data address, when the data address be greater than or equal to the address range initial address and be less than or Equal to the address range end address when, the ground which is determined as where the described data address of the metadata Location scope.
For example, the described data address of the metadata is 1040H, each address range in the plurality of address range point Not Wei 1000H~1040H, 2000~2040H, 3000H~3040H, the upper system is by address range 1000H~1040H's End addresses of the initial address 1000H compared with data address 1040H and by address range 1000H~1040H 1040H determines that data address 1040H is more than initial address 1000H and equal to 1040H compared with data address 1040H;It will The initial address 2000H of address range 2000H~2040H is compared with data address 1040H and by the address range The end address 2040H of 2000H~2040H determines that data address 1040H is less than starting compared with data address 1040H Address 2000H and less than end address 2040H;By the initial address 3000H and data address of address range 3000H~3040H 3040H is compared and carries out the end address 3040H of address range 3000H~3040H and data address 1040H Compare, determine that data address 1040H is less than initial address 3000H and less than end address 3040H, it therefore, can be by address model Enclose the address range that 1000H~1040H is determined as where the described data address 1040H of the metadata.
In addition, magnetic head mark of the upper system based on acquisition, determines that the metadata corresponds to the metadata backup location of magnetic head Operation can be:Magnetic head mark of the upper system based on acquisition, query metadata backup policy, so that it is determined that the metadata The metadata backup location of corresponding magnetic head, wherein, metadata backup policy can include magnetic head mark and metadata backup location Between correspondence.
It should be noted that metadata backup policy is used to determine metadata backup location, and metadata backup policy can To set in advance, for example, metadata backup policy can backup to metadata in disk where the metadata corresponds to magnetic head Other discs, other disks, other can storage medium etc., the embodiment of the present invention is not specifically limited this.
Step 303:In the metadata backup location that metadata write-in is determined, to be backed up to the metadata.
Further, when upper system is by the definite metadata backup location of metadata write-in, the upper system is also It can determine that the metadata corresponds to magnetic head mark, and the metadata is write into the magnetic head in the target disk and identifies corresponding disc In.
Wherein, since metadata is data that the data stored in disc are described, for target disk bag Each disc in the multiple discs included, when the data variation stored in the disc, the corresponding metadata of the disc can also be sent out Changing, therefore, the upper system can be updated the metadata in the disc corresponding element data backup position.And to this The operation that metadata in disc corresponding element data backup position is updated can be:Upper system receives target disk and sends Metadata updates instruction, the metadata updates instruction in carry update magnetic head mark and updated metadata, series of strata on this System is identified based on the update magnetic head, determines that updated metadata corresponds to the metadata backup location of magnetic head, and the metadata is standby The metadata stored in part position replaces with updated metadata.
It should be noted that metadata updates instruction updates magnetic head mark for being updated to changed metadata Know the mark that magnetic head is corresponded to for changed metadata, and it can be number, title of magnetic head etc. to update magnetic head mark, this Inventive embodiments are not specifically limited this.
Step 304:Head failure notification information is received, which carries failure magnetic head mark.
When some magnetic head breaks down in target disk, the target disk where the failure magnetic head is sent to upper system Head failure notification information, by the head failure notification information, the notice upper system magnetic head breaks down, upper system base In the head failure information, failure magnetic head is determined.
Wherein, when target disk determines that magnetic head can not access the data stored in corresponding target disk, the magnetic head is determined It breaks down, and failure magnetic head is identified as the mark for the magnetic head that breaks down, failure magnetic head mark can be the failure magnetic head Number, title of the failure magnetic head etc., the embodiment of the present invention is not specifically limited this.
Can pass through upper system it should be noted that when target disk is to upper system transmission head failure information In instruction send, for example, the instruction can be the instructions such as Read, Write, can also be TestUnitReady, The instructions such as Inquiry, the embodiment of the present invention are not specifically limited this.
Step 305:It is identified based on the failure magnetic head, determines target metadata backup location, target metadata backup position Put the metadata for storing faulty magnetic head, and each magnetic head is respectively provided with that there are one metadata backup locations in advance.
The data stored in target disk are corresponded in order to rapidly repair failure magnetic head, upper system needs to obtain the target The metadata of the data stored in disc, and need to identify based on the failure magnetic head before obtaining metadata, determine target element number According to backup location.And upper system is identified based on the failure magnetic head, determining the operation of target metadata backup location can be:It should Upper system is identified based on the failure magnetic head, query metadata backup policy, so that it is determined that the metadata backup of the failure magnetic head The metadata backup location of the failure magnetic head is determined as target metadata backup location by position.
Step 306:From the target metadata backup location, the corresponding metadata of failure magnetic head, the metadata are obtained It is described for the data address to the data stored in target disk and attribute information.
Specifically, upper system can read the data stored in the target metadata backup location, and by the number of reading It is the corresponding metadata of failure magnetic head according to determining to be somebody's turn to do.
Step 307:The described attribute information of metadata based on acquisition carries out the data stored in the target disk It repairs.
Specifically, the described attribute information of metadata of the upper system based on acquisition, rebuilds in the target disk The data of storage, and determine that the data of target disk repair position, and the data rebuild are write and repair position to data In, so as to complete the reparation of the data to being stored in the target disk.
Wherein, upper system determines that the operation that the data of target disk repair position can be:The upper system can be with base It is identified in target disk, is repaired from the disc mark and data of storage in the correspondence between position, obtain corresponding data Position is repaired, the reparation location determination of acquisition is repaired into position for the data of the target disk.
It should be noted that target disk is identified as the mark of target disk, and target disk mark can be destination disk The number of piece, title etc., the embodiment of the present invention is not specifically limited this.
Further, after the completion of upper system repairs the data stored in target disk, which can be right Failure magnetic head is marked, failed to identify the failure magnetic head.
Wherein, upper system can be to the operation that failure magnetic head is marked:Believe the address accessed failure magnetic head Breath is discharged or is shielded the address information that the failure magnetic head is accessed, and the embodiment of the present invention is not specifically limited this.
In addition, in order to realize further management of the upper system to target disk, upper system in target disk to storing Data repair after the completion of, upper system can also to target disk send capacity refreshing instruction, the target disk be made to determine mesh Disk new size is marked, to refresh the capacity of the target disk, target disk new size is the capacity of the target disk after refreshing.
Specifically, upper system can send capacity refreshing instruction to target disk, when target disk receives the capacity During refreshing instruction, disk total capacity can be subtracted to the capacity of target disk, obtain target disk new size.
Further, after target disk determines target disk new size, which can also be by target disk New size is sent to upper system, and upper system is facilitated to be managed the capacity of target disk.
In embodiments of the present invention, upper system is after the map information of target disk is obtained, according to metadata backup plan Metadata slightly in backup target disk, when magnetic head breaks down, upper system can the map information based on target disk With target metadata backup location, rapidly repair failure magnetic head and correspond to the data stored in target disk, that is to say, work as magnetic head When breaking down, upper system can only repair the failure magnetic head and correspond to the data stored in disc, without by entire disk The data of middle storage are repaired, so as to still be continuing with the target magnetic in the case where that need not format target disk Disk reduces the cost of upper system data reparation, reduces the time of data reparation, improves the efficiency of data reparation.
Fig. 4 is the structure diagram according to a kind of data prosthetic device shown in an exemplary embodiment.It, should with reference to Fig. 4 Device includes receiving module 401, the first determining module 402, the first acquisition module 403 and repair module 404.
Receiving module 401, for receiving head failure notification information, which carries failure magnetic head mark Know;
First determining module 402 for being based on failure magnetic head mark, determines target metadata backup location, the target Metadata backup location stores the metadata of faulty magnetic head, and each magnetic head is respectively provided with that there are one metadata backup locations in advance;
First acquisition module 403, for from the target metadata backup location, obtaining the corresponding first number of the failure magnetic head According to, the metadata be used for the data address of data to being stored in target disk and attribute information is described, the destination disk The disc that piece is accessed for the failure magnetic head;
Repair module 404, for the described attribute information of metadata based on acquisition, to what is stored in the target disk Data are repaired.
Optionally, referring to Fig. 5, which further includes:
Second acquisition module 405, for obtaining the map information of target disk, which is used to identify the target magnetic The address information that multiple magnetic heads that disk includes are accessed respectively, the target disk is where the target disk and the failure magnetic head Disk;
3rd acquisition module 406, for obtaining the metadata for multiple discs that the target disk includes;
Second determining module 407, for for each metadata in the plurality of metadata, based on described by the metadata Data address and the map information, determine that the metadata corresponds to the metadata backup location of magnetic head;
Backup module 408, for the metadata to be write in definite metadata backup location, to be carried out to the metadata Backup.
Optionally, referring to Fig. 6, the second acquisition module 405 includes:
Transmitting element 4051 obtains instruction for sending map information to the target disk, and returning to the target disk should The address information that multiple magnetic heads that target disk includes are accessed respectively;
Storage unit 4052, for the address letter accessed respectively when the plurality of magnetic head for receiving target disk return During breath, address information that the magnetic head of the plurality of magnetic head mark and the plurality of magnetic head are accessed respectively, be stored in magnetic head mark with In correspondence between address information.
Optionally, referring to Fig. 7, the second determining module 407 includes:
First determination unit 4071 for being based on the described data address of the metadata, determines data address place Address information;
Acquiring unit 4072, for based on definite address information, being identified from the magnetic head of storage between address information In correspondence, corresponding magnetic head mark is obtained;
Second determination unit 4073 for the magnetic head mark based on acquisition, determines that the metadata corresponds to the metadata of magnetic head Backup location.
Optionally, which further includes:
Mark module, it is failed to identify the failure magnetic head for the failure magnetic head to be marked.
Optionally, which further includes:
Sending module for sending capacity refreshing instruction to target disk, makes the target disk determine that target disk newly holds Amount, to refresh the capacity of the target disk, which is the capacity of the target disk after refreshing.
In conclusion in the embodiment of the present invention, it, can be from target metadata after upper system receives head failure information Backup location obtains the corresponding metadata of failure magnetic head, and the metadata based on acquisition, rapidly repairs failure magnetic head and corresponds to mesh The data stored in bidding quotation piece, so as to which the target magnetic still can be continuing in the case where target disk need not be formatted Disk reduces the cost of upper system data reparation, reduces the time of data reparation, improves the efficiency of data reparation.
It should be noted that:The data prosthetic device that above-described embodiment provides is when carrying out repair data, only with above-mentioned each The division progress of function module, can be as needed and by above-mentioned function distribution by different work(for example, in practical application Energy module is completed, i.e., the internal structure of device is divided into different function modules, to complete whole described above or portion Divide function.In addition, data prosthetic device and data recovery method embodiment that above-described embodiment provides belong to same design, have Body realizes that process refers to embodiment of the method, and which is not described herein again.
Referring to Fig. 8, an embodiment of the present invention provides a kind of data prosthetic appliance, which includes:Processor 801, storage Device 802, bus 803 and communication interface 808;
For memory 802 for storing computer executed instructions 8021, processor 801 passes through the bus 803 with memory 802 Connection, when data storage device is run, processor 801 performs the computer executed instructions that memory 802 stores, so that instruction Processing equipment performs following data recovery methods, including:
Head failure notification information is received, the head failure notification information carries failure magnetic head mark;
It is identified based on the failure magnetic head, determines target metadata backup location, the target metadata backup location is deposited Contain the metadata of failure magnetic head, each magnetic head is respectively provided with that there are one metadata backup locations in advance;
From the target metadata backup location, the corresponding metadata of the failure magnetic head is obtained, the metadata is used The data address and attribute information of the data stored in target disk are described, and the target disk is the failure magnetic The disc that head is accessed;
The described attribute information of metadata based on acquisition, repairs the data stored in the target disk.
Optionally, it is described from the target metadata backup location, obtain the corresponding metadata of the failure magnetic head it Before, it further includes:
The map information of target disk is obtained, the map information is used to identify multiple magnetic heads that the target disk includes The address information accessed respectively, the target disk are the disk where the target disk and the failure magnetic head;
Obtain the metadata for multiple discs that the target disk includes;
For each metadata in the multiple metadata, based on the described data address of the metadata and described Map information determines that the metadata corresponds to the metadata backup location of magnetic head;
In the metadata backup location that metadata write-in is determined, to be backed up to the metadata.
Optionally, the map information for obtaining target disk, including:
Map information is sent to the target disk and obtains instruction, and the target disk is made, which to return to the target disk, to be included The address information that is accessed respectively of multiple magnetic heads;
It, will be described more when the address information that the multiple magnetic head for receiving the target disk return is accessed respectively The magnetic head mark and the address information that is accessed respectively of the multiple magnetic head of a magnetic head, be stored in magnetic head mark and address information it Between correspondence in.
Optionally, it is described based on the described data address of the metadata and the map information, determine first number According to the metadata backup location of corresponding magnetic head, including:
Based on the described data address of the metadata, the address information where the data address is determined;
Based on definite address information, from the correspondence between the magnetic head mark and address information of storage, acquisition pair The magnetic head mark answered;
Magnetic head mark based on acquisition, determines that the metadata corresponds to the metadata backup location of magnetic head.
Optionally, the described attribute information of the metadata based on acquisition, to the number stored in the target disk After being repaired, further include:
The failure magnetic head is marked, it is failed to identify the failure magnetic head.
Optionally, the described attribute information of the metadata based on acquisition, to the number stored in the target disk After being repaired, further include:
Capacity refreshing instruction is sent to target disk, the target disk is made to determine target disk new size, to refresh The capacity of target disk is stated, the target disk new size is the capacity of the target disk after refreshing.
In conclusion in the embodiment of the present invention, after upper system receives head failure information, target element number can be passed through According to backup location, the corresponding metadata of failure magnetic head, and the metadata based on acquisition are obtained, failure magnetic head is rapidly repaired and corresponds to The data stored in target disk, so as to which the target magnetic still can be continuing in the case where target disk need not be formatted Disk reduces the cost of upper system data reparation, reduces the time of data reparation, improves the efficiency of data reparation.
One of ordinary skill in the art will appreciate that hardware can be passed through by realizing all or part of step of above-described embodiment It completes, relevant hardware can also be instructed to complete by program, the program can be stored in a kind of computer-readable In storage medium, storage medium mentioned above can be read-only memory, disk or CD etc..
The foregoing is merely presently preferred embodiments of the present invention, is not intended to limit the invention, it is all the present invention spirit and Within principle, any modifications, equivalent replacements and improvements are made should all be included in the protection scope of the present invention.

Claims (12)

1. a kind of data recovery method, which is characterized in that the described method includes:
Head failure notification information is received, the head failure notification information carries failure magnetic head mark;
It is identified based on the failure magnetic head, determines target metadata backup location, the target metadata backup location is stored with The metadata of failure magnetic head, each magnetic head are respectively provided in advance there are one metadata backup location;
From the target metadata backup location, obtain the corresponding metadata of the failure magnetic head, the metadata for pair The data address and attribute information of the data stored in target disk are described, and the target disk is the failure magnetic head institute The disc of access;
The described attribute information of metadata based on acquisition, repairs the data stored in the target disk.
2. the method as described in claim 1, which is characterized in that it is described from the target metadata backup location, obtain institute Before stating the corresponding metadata of failure magnetic head, further include:
The map information of target disk is obtained, the map information is used to identify multiple magnetic heads difference that the target disk includes The address information accessed, the target disk are the disk where the target disk and the failure magnetic head;
Obtain the metadata of each disc in multiple discs that the target disk includes;
For each metadata in the multiple metadata, based on the described data address of the metadata and the mapping Information determines that the metadata corresponds to the metadata backup location of magnetic head;
In the metadata backup location that metadata write-in is determined, to be backed up to the metadata.
3. method as claimed in claim 2, which is characterized in that the map information for obtaining target disk, including:
Map information is sent to the target disk and obtains instruction, includes the target disk return target disk more The address information that a magnetic head is accessed respectively;
When the address information that the multiple magnetic head for receiving the target disk return is accessed respectively, by the multiple magnetic The address information that the magnetic head mark of head and the multiple magnetic head are accessed respectively is stored between magnetic head mark and address information In correspondence.
4. method as claimed in claim 2 or claim 3, which is characterized in that described to be based on the described data address of the metadata With the map information, determine that the metadata corresponds to the metadata backup location of magnetic head, including:
Based on the described data address of the metadata, the address information where the data address is determined;
Based on definite address information, from the correspondence between the magnetic head mark and address information of storage, obtain corresponding Magnetic head identifies;
Magnetic head mark based on acquisition, determines that the metadata corresponds to the metadata backup location of magnetic head.
5. the method as described in claim 1, which is characterized in that the described attribute information of the metadata based on acquisition, After being repaired to the data stored in the target disk, further include:
The failure magnetic head is marked, it is failed to identify the failure magnetic head.
6. the method as described in claim 1 or 5, which is characterized in that the described attribute letter of the metadata based on acquisition Breath, after being repaired to the data stored in the target disk, further includes:
Capacity refreshing instruction is sent to target disk, the target disk is made to determine target disk new size, to refresh the mesh The capacity of disk is marked, the target disk new size is the capacity of the target disk after refreshing.
7. a kind of data prosthetic device, which is characterized in that described device includes:
Receiving module, for receiving head failure notification information, the head failure notification information carries failure magnetic head mark;
First determining module for being based on the failure magnetic head mark, determines target metadata backup location, the target element number Store the metadata of faulty magnetic head according to backup location, each magnetic head is respectively provided with that there are one metadata backup locations in advance;
First acquisition module, for from the target metadata backup location, obtaining the corresponding metadata of the failure magnetic head, The metadata is described for the data address to the data stored in target disk and attribute information, the target disk The disc accessed by the failure magnetic head;
Repair module, for the described attribute information of metadata based on acquisition, to the data stored in the target disk It is repaired.
8. device as claimed in claim 7, which is characterized in that described device further includes:
Second acquisition module, for obtaining the map information of target disk, the map information is used to identify the target disk Including the address information that is accessed respectively of multiple magnetic heads, the target disk is the target disk and the failure magnetic head institute Disk;
3rd acquisition module, for obtaining the metadata of each disc in multiple discs that the target disk includes;
Second determining module, it is described based on the metadata for for each metadata in the multiple metadata Data address and the map information determine that the metadata corresponds to the metadata backup location of magnetic head;
Backup module, it is standby to be carried out to the metadata for the metadata to be write in definite metadata backup location Part.
9. device as claimed in claim 8, which is characterized in that second acquisition module includes:
Transmitting element obtains instruction for sending map information to the target disk, the target disk is made to return to the mesh The address information that multiple magnetic heads that mark disk includes are accessed respectively;
Storage unit, for the address information accessed respectively when the multiple magnetic head for receiving the target disk return When, by the address information that the magnetic head of the multiple magnetic head identifies and the multiple magnetic head is accessed respectively, it is stored in magnetic head mark In correspondence between address information.
10. device as claimed in claim 8 or 9, which is characterized in that second determining module includes:
First determination unit for being based on the described data address of the metadata, determines the ground where the data address Location information;
Acquiring unit, for based on definite address information, the correspondence between address information to be identified from the magnetic head of storage In, obtain corresponding magnetic head mark;
Second determination unit for the magnetic head mark based on acquisition, determines that the metadata corresponds to the metadata backup position of magnetic head It puts.
11. device as claimed in claim 7, which is characterized in that described device further includes:
Mark module, it is failed to identify the failure magnetic head for the failure magnetic head to be marked.
12. the device as described in claim 7 or 11, which is characterized in that described device further includes:
Sending module for sending capacity refreshing instruction to target disk, makes the target disk determine target disk new size, To refresh the capacity of the target disk, the target disk new size is the capacity of the target disk after refreshing.
CN201510570793.5A 2015-09-09 2015-09-09 Data recovery method and device Active CN105242985B (en)

Priority Applications (2)

Application Number Priority Date Filing Date Title
CN201510570793.5A CN105242985B (en) 2015-09-09 2015-09-09 Data recovery method and device
PCT/CN2016/097953 WO2017041670A1 (en) 2015-09-09 2016-09-02 Data recovery method and apparatus

Applications Claiming Priority (1)

Application Number Priority Date Filing Date Title
CN201510570793.5A CN105242985B (en) 2015-09-09 2015-09-09 Data recovery method and device

Publications (2)

Publication Number Publication Date
CN105242985A CN105242985A (en) 2016-01-13
CN105242985B true CN105242985B (en) 2018-05-25

Family

ID=55040638

Family Applications (1)

Application Number Title Priority Date Filing Date
CN201510570793.5A Active CN105242985B (en) 2015-09-09 2015-09-09 Data recovery method and device

Country Status (2)

Country Link
CN (1) CN105242985B (en)
WO (1) WO2017041670A1 (en)

Families Citing this family (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN105242985B (en) * 2015-09-09 2018-05-25 华为技术有限公司 Data recovery method and device
CN107656978B (en) * 2017-09-06 2021-02-12 国网上海市电力公司 Function dependence-based diverse data restoration method

Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193848A (en) * 2011-06-02 2011-09-21 成都市华为赛门铁克科技有限公司 Data recovery method and device for bad sector of logic unit
CN102495777A (en) * 2011-12-13 2012-06-13 百度在线网络技术(北京)有限公司 Hard disc failure processing method and processing device
CN103218273A (en) * 2012-01-20 2013-07-24 深圳市腾讯计算机系统有限公司 Hard disk data recovery method, server and distributed-memory system

Family Cites Families (2)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
US20120030510A1 (en) * 2010-07-27 2012-02-02 Samsung Electronics Co., Ltd. Method to recover data sector damaged by abrupt power loss in hard disk drives
CN105242985B (en) * 2015-09-09 2018-05-25 华为技术有限公司 Data recovery method and device

Patent Citations (3)

* Cited by examiner, † Cited by third party
Publication number Priority date Publication date Assignee Title
CN102193848A (en) * 2011-06-02 2011-09-21 成都市华为赛门铁克科技有限公司 Data recovery method and device for bad sector of logic unit
CN102495777A (en) * 2011-12-13 2012-06-13 百度在线网络技术(北京)有限公司 Hard disc failure processing method and processing device
CN103218273A (en) * 2012-01-20 2013-07-24 深圳市腾讯计算机系统有限公司 Hard disk data recovery method, server and distributed-memory system

Also Published As

Publication number Publication date
WO2017041670A1 (en) 2017-03-16
CN105242985A (en) 2016-01-13

Similar Documents

Publication Publication Date Title
CN109542342B (en) Metadata management and data reconstruction method, equipment and storage medium
CN102937882B (en) To effective access with the memory device using bitmap
CN101916173B (en) RAID (Redundant Array of Independent Disks) based data reading and writing method and system thereof
US9996557B2 (en) Database storage system based on optical disk and method using the system
CN102096561B (en) Hierarchical data storage processing method, device and storage equipment
CN107315659B (en) Metadata redundancy backup method and device
CN104461390A (en) Method and device for writing data into imbricate magnetic recording SMR hard disk
CN103246478B (en) A kind of based on the disc array system of software PLC support without packet type overall situation HotSpare disk
CN106126374B (en) Method for writing data, method for reading data and device
CN103019890A (en) Block-level disk data protection system and method thereof
CN110096227A (en) Date storage method, data processing method, device, electronic equipment and computer-readable medium
US10572335B2 (en) Metadata recovery method and apparatus
CN110147203B (en) File management method and device, electronic equipment and storage medium
US9009440B2 (en) Adjustment of data storage capacity provided by a storage system
CN102306128B (en) Disk management method and device and network equipment
CN103092849A (en) File system cluster management method
CN102222033B (en) A kind of method and device for preserving small computer system interface access error
CN105242985B (en) Data recovery method and device
CN104318960B (en) The restorative procedure and device of a kind of bad track of hard disk
CN106708445B (en) Link selecting method and device
CN103049391B (en) Data processing method and equipment
CN108304144A (en) Data write-in, read method and system, data read-write system
CN103761156A (en) Online repair method aimed at file system
CN104205097A (en) De-duplicate method device and system
CN109960474A (en) Data-updating method, device, equipment and medium based on automatic simplify configuration

Legal Events

Date Code Title Description
C06 Publication
PB01 Publication
C10 Entry into substantive examination
SE01 Entry into force of request for substantive examination
GR01 Patent grant
GR01 Patent grant