Repairing method and device of file system directory tree

A file system and repair method technology, applied in the computer field, can solve the problem of unable to restore the file system directory tree, affecting the normal operation of the file system, etc.

Active Publication Date: 2016-05-25
CHENGDU HUAWEI TECH
View PDF6 Cites 18 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0004] However, with the method of the prior art, the original file system directory tree cannot be restored, which affects the normal operation of the file system

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
  • Repairing method and device of file system directory tree
  • Repairing method and device of file system directory tree
  • Repairing method and device of file system directory tree

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0042] The following will clearly and completely describe the technical solutions in the embodiments of the present invention with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the described embodiments are only some, not all, embodiments of the present invention. Based on the embodiments of the present invention, all other embodiments obtained by persons of ordinary skill in the art without making creative efforts belong to the protection scope of the present invention.

[0043] The terms "first", "second", "third", "fourth", etc. (if any) in the description and claims of the present invention and the above drawings are used to distinguish similar objects and not necessarily Describe a specific order or sequence. It is to be understood that the data so used are interchangeable under appropriate circumstances such that the embodiments of the invention described herein are, for example, capable of practice in sequences other than t...

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 provides a repairing method and device of a file system directory tree. Parent directory path information is added into the metadata of each directory; when metadata in the directory tree is damaged, the metadata is traversed, N sub-directory trees are constructed according to sub-directory path information in the metadata of each directory; then, according to the parent directory path information of a sub root directory of a sub directory tree, the damaged directory is determined; according to the parent directory path information of the sub root directory of the sub directory tree, the metadata of an R-level upper directory adjacent to the sub root directory is reconstructed, i.e., the metadata of the damaged directory is reconstructed; and according to the reconstructed metadata of the R-level upper directory adjacent to the sub root directory, the N sub directory trees are constructed into one directory tree. Therefore, an original file system directory tree is reduced, and influence caused by the damage of the file system directory tree is reduced.

Description

technical field [0001] The embodiment of the present invention relates to computer technology, in particular to a method and device for repairing a directory tree of a file system. Background technique [0002] A file system is the method and data structure that an operating system uses to specify files on a storage device (eg: disk) or partition; that is, the method by which files are organized on a storage device. The software organization responsible for managing and storing file information in the operating system is called a file management system, or file system for short. [0003] File system metadata, also known as intermediary data and relay data, is the data describing data (dataaboutdata), mainly describing the information of data attributes (property), used to support such as indicating storage location, historical data, resource search and file records, etc. Features. Metadata can be regarded as an electronic catalog. In order to achieve the purpose of catalog...

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/07G06F17/30
CPCG06F11/1435G06F16/13G06F16/14G06F16/16G06F16/17G06F16/907G06F16/10G06F16/185G06F16/2365G06F16/9017
Inventor 胡波
Owner CHENGDU HUAWEI TECH
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