Recovery method and device for deleted file in cluster file system

A technology of cluster file system and file recovery, applied in response to error generation, instrumentation, electrical digital data processing, etc., can solve the problem of occupying disk space and achieve good performance

Active Publication Date: 2017-11-03
SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
View PDF6 Cites 6 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

These methods require disk space, or requir...

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
  • Recovery method and device for deleted file in cluster file system
  • Recovery method and device for deleted file in cluster file system
  • Recovery method and device for deleted file in cluster file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0036] In order to enable those skilled in the art to better understand the technical solutions in the present invention, the technical solutions in the embodiments of the present invention will be clearly and completely described below in conjunction with the drawings in the embodiments of the present invention. Obviously, the described The embodiments are only some of the embodiments of the present invention, not all of them. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts shall fall within the protection scope of the present invention.

[0037] Please refer to figure 1 A method for recovering deleted files in a cluster file system provided by an embodiment of the present invention includes the following steps:

[0038] S10: In the cluster file system log, locate the data block of the node that is recording data when the disk to perform the file recovery operation is pe...

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 recovery method and device for a deleted file in a cluster file system. The method comprises the following steps that: in a cluster file system log, positioning the node data block which records data when a disk which executes a file recovery operation executes a deletion operation; in log data recorded previously by the node data block, searching a latest metadata block which has the same index number with the node data to serve as data before a node deletion operation; and according to the data before the node deletion operation, searching data related to the deleted file, and writing the data before the node deletion operation and the related data into other disks. By use of the method and the device, under a situation that a system does not have extra expenditures, a purpose of recovering deleted file can be achieved, and file data recovery is realized in a non-invasion way so as to be favorable for keeping that a file system owns good performance.

Description

technical field [0001] The invention relates to the technical field of file systems, in particular to a method and device for recovering deleted files in a cluster file system. Background technique [0002] A cluster file system refers to a file system that runs on multiple computers and communicates with each other in a certain way, thereby integrating and virtualizing the resources of all storage spaces in the cluster and providing file access services to the outside world. Cluster file systems are widely used in cloud computing and various virtualization products. [0003] In actual application scenarios, due to user misoperation or some loopholes in the system itself, user data may be deleted without backup. Therefore, a method is needed to restore file data in time when data is accidentally deleted. , in order to minimize the loss to users. [0004] In the prior art, the existing deleted file recovery methods include: one is to save the deleted file in other cache are...

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/14
CPCG06F11/1435G06F11/1469
Inventor 李宏伟
Owner SUZHOU LANGCHAO INTELLIGENT TECH CO LTD
Who we serve
  • R&D Engineer
  • R&D Manager
  • IP Professional
Why Eureka
  • Industry Leading Data Capabilities
  • Powerful AI technology
  • Patent DNA Extraction
Social media
Try Eureka
PatSnap group products