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

Data rescue method and file server

A file server and data technology, applied in the storage field, can solve the problems of slow rescue speed and slow copy speed of faulty disks

Active Publication Date: 2015-12-16
CHENGDU HUAWEI TECH
View PDF6 Cites 4 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0006] The embodiment of the present invention provides a data rescue method and a file server, which can solve the problem that in the prior art, when copying data from a faulty disk to a new disk, the speed of copying is slow due to the need for file parsing, resulting in slow rescue of the faulty disk. The problem

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
  • Data rescue method and file server
  • Data rescue method and file server
  • Data rescue method and file server

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0071] The embodiment of the present invention provides a data rescue method, see image 3 , which can include:

[0072] 101. When data in the failed disk needs to be rescued, the file server creates management metadata in the new disk, and the management metadata is management information of the new disk.

[0073] Among them, the file server is a server for disk management in the distributed file system, which can be used to rescue the data in the faulty disk it manages, and perform distributed files to rescue the data of the faulty disk it manages to a new disk. Provide normal business processing. When a disk managed by the file server fails and needs data rescue, the file server can create management metadata on another new disk. The management metadata can include root directory information and disk space management information, etc., which are used to describe the characteristics and attributes of information resources or data itself, specify the organization of digital...

Embodiment 2

[0109] see Figure 13 , when the file server for data rescue of the faulty disk and the system data rescue of the distributed system are not the same file server, and the first file server for data rescue of the faulty disk and the second file server for system data rescue of the distributed system are not present In the same physical location, a data rescue method provided by an embodiment of the present invention may include:

[0110] 201. When data in a failed disk needs to be rescued, the first file server creates management metadata in the new disk, where the management metadata is management information of the new disk.

[0111] 202. The first file server copies the node data blocks in the failed disk to the new disk, where the node data blocks include directory data blocks or file data blocks.

[0112] 203. The first file server mounts the node data block copied from the failed disk to the new disk to the management metadata of the new disk.

[0113] Wherein, for the ...

Embodiment 3

[0122] An embodiment of the present invention provides a file server 300, see Figure 14 , the file server 300 may include:

[0123] The creation unit 301 is configured to create management metadata in the new disk when data in the failed disk needs to be rescued, where the management metadata is management information of the new disk.

[0124] The copying unit 302 is configured to copy the node data blocks in the failed disk to the new disk, where the node data blocks include directory data blocks or file data blocks.

[0125] The mounting unit 303 is configured to mount the node data block copied from the failed disk to the new disk to the management metadata of the new disk.

[0126] Wherein, file server 300 is the server that carries out disk management in the distributed file system, can be used for rescuing the data in the faulty disk that it manages, carries out distributed file and rescues the data of the faulty disk that it manages to new disk, can also be used for ...

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

Embodiments of the invention provide a data rescue method and a file server, which relate to the technical field of storage and can solve the problem in the prior art that when data in a faulted disk is copied to a new disk, the copy speed is low due to the need of file analysis, so that the rescue speed of the faulted disk is low. The specific scheme is as follows: when data in a faulted disk needs to be rescued, the file server creates management metadata in the new disk, wherein the management metadata is management information of the new disk; a node data block in the faulted disk is copied to the new disk, wherein the node data block comprises a directory data block or a file data block; and the node data block copied to the new disk from the faulted disk is mounted on the management metadata of the new disk. The data rescue method provided by the embodiment of the invention is used for data rescue.

Description

technical field [0001] Embodiments of the present invention relate to the field of storage technology, and in particular, to a data rescue method and a file server. Background technique [0002] In today's information age, the data stored and managed through the file system has grown exponentially. In order to effectively store and manage data, the distributed file system will expand the file system fixed at one physical location to multiple physical locations, thus forming a File system network, and communication and data transmission between different physical locations through the network. see figure 1 , the file server at each physical location can manage one or more disks, and the disks include data disks and parity disks. [0003] System data in a distributed file system is generally stored together by data disks and parity disks. When a disk exceeding the checksum fails, system data in the distributed file system is lost. At this time, it is necessary to rescue 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
Patent Type & Authority Applications(China)
IPC IPC(8): G06F11/10
CPCG06F11/10
Inventor 王力涛
Owner CHENGDU HUAWEI TECH
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