Looking for breakthrough ideas for innovation challenges? Try Patsnap Eureka!

Method, server and system for data recovery

A technology for recovering data and servers, applied in the information field, can solve the problems of waste of system resources, slow data recovery speed of metadata server, and low data recovery efficiency.

Active Publication Date: 2014-04-30
HUAWEI TECH CO LTD
View PDF5 Cites 26 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0005] The first method needs to scan all the data, resulting in a waste of system resources
The second method and the third method both need to use the metadata server to restore data, and the metadata server restores data slowly, resulting in low efficiency of data recovery

Method used

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
View more

Image

Smart Image Click on the blue labels to locate them in the text.
Viewing Examples
Smart Image
  • Method, server and system for data recovery
  • Method, server and system for data recovery
  • Method, server and system for data recovery

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0096]The embodiment of the present invention provides a method for recovering data, and the method is applied to the master server of the storage system. The storage system includes a master server and a slave server. Both the master server and the slave server are used to store the same data, and the master server is the first For an example of a server that successfully stores data, see figure 1 , the method flow provided by the embodiment of the present invention includes:

[0097] 101: When any server in the storage system fails to store data, the master server sends a log acquisition request to each slave server in the storage system, and the log acquisition request carries the identifier of the data to be restored;

[0098] As an optional embodiment, before sending the log acquisition request to each slave server in the storage system, it also includes:

[0099] Receive and store the data sent by the client, and return to the client first write status information inclu...

Embodiment 2

[0131] The embodiment of the present invention provides a method for recovering data. For ease of understanding, the data processing method provided by the embodiment of the present invention is explained in detail in combination with the content of the first embodiment, taking a storage system as an example. Wherein, the storage system includes a master server and at least two slave servers, the master server is the first server that successfully stores data, and the slave servers are other servers in the storage system except the master server. see image 3 , the method flow provided by this embodiment includes:

[0132] 301: The master server and the slave server respectively receive and store the data sent by the client, the master server returns to the client the first write status information containing the identification of the data, and the slave server returns the second write status information containing the identification of the data to the client. Writing status ...

Embodiment 3

[0195] see Figure 5 , the embodiment of the present invention provides a server for recovering data. The server is a master server applied to a storage system. The storage system includes a master server and a slave server. Both the master server and the slave server are used to store the same data. The master server is the first A server successfully storing data that includes:

[0196] The first sending module 401 is configured to send a log acquisition request to each slave server in the storage system when any server in the storage system fails to store data, and the log acquisition request carries the data identifier to be restored;

[0197] The first receiving module 402 is configured to receive the first restoration log files returned by each slave server according to the log acquisition request, and each first restoration log file records the location information and operation information of the data to be restored identified by the data identifier to be restored;

...

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

PUM

No PUM Login to View More

Abstract

The invention discloses a method, server and system for data recovery and belongs to the technical field of information. The method comprises the steps of utilizing a master server to receive every slave server in a storage system according to first recovery log files returned according to log acquiring requests sent by the master server, and operating to-be-recovered data according to all the first recovery log files and newest operation information recorded in second recovery log files generated by the master server, and enabling the first recovery log files and the second recovery log files to record position information and operating information of the to-be-recovered data marked by to-be-recovered data marks. After the log acquiring requests are sent to the every slave server in the storage system through the master server, the to-be-recovered data are recovered according to all the first recovery log files returned from every master server and the second recovery log files generated by the master server, not all data need scanning, data recovery can be achieved without needing to use a metadata server, and data recovery efficiency is improved.

Description

technical field [0001] The invention relates to the field of information technology, in particular to a data recovery method, server and system. Background technique [0002] With the continuous development of information technology, the scale of the storage system is getting larger and larger. In large-scale storage systems, the frequency of device failures also increases. When a device fails, how to restore data to ensure the security of data has become a concern of people. [0003] At present, there are three ways to restore data. The first way: scan the file system through the fsck command to find the data to be restored, and restore the data to be restored. The second method: read the log information of the data to be restored in the system operation log through the metadata server, and control the data server to re-execute the operation on the data according to the read log information of the data to be restored, thereby restoring the data. The third method: read th...

Claims

the structure of the environmentally friendly knitted fabric provided by the present invention; figure 2 Flow chart of the yarn wrapping machine for environmentally friendly knitted fabrics and storage devices; image 3 Is the parameter map of the yarn covering machine
Login to View More

Application Information

Patent Timeline
no application Login to View More
IPC IPC(8): G06F11/14G06F17/30
CPCG06F11/1471
Inventor 郝志敏李红
Owner HUAWEI TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Patsnap Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Patsnap Eureka Blog
Learn More
PatSnap group products