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

Data recovery method and system during data deletion of JFS2 file system

A file system, JFS2 technology, applied in the redundant operation of data error detection, electrical digital data processing, response error generation and other directions, can solve the problem that users cannot reproduce the mistakenly deleted files, etc.

Active Publication Date: 2020-07-10
北京北亚宸星科技有限公司
View PDF10 Cites 5 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0003] However, when a file in the JFS2 file system is accidentally deleted, the user cannot reproduce the deleted file at the system level

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 recovery method and system during data deletion of JFS2 file system

Examples

Experimental program
Comparison scheme
Effect test

Embodiment 1

[0065] Assuming that in the JFS2 file system, a file named "test.txt" is deleted, the data recovery method is as follows:

[0066] 1) Use the keyword "4A 32 46 53" to search the super block structure of the JFS2 file system, and read the corresponding file system information from the super block structure, including the file system block size, AIT position, etc.

[0067] 2) Obtain the AIT information, and analyze the 16# node in the AIT information, and obtain all user node table information.

[0068] 3) Analyze the 2# node in the user node table, obtain the root directory information, analyze the JFS2 file system from the root directory according to the directory structure of the deleted "test.txt" file, and obtain "test.txt" The directory block where the file resides.

[0069] 4) Search the directory item of the "test.txt" file from the directory block, repair the directory item of the "test.txt" file, obtain the node information of the "test.txt" file, analyze the file nod...

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 relates to a data recovery method and system during data deletion of a JFS2 file system, and the method is characterized in that the method comprises the following steps: 1) reading thesuper block information of the JFS2 file system, and searching a super block structure of the JFS2 file system; 2) analyzing a super block structure of the JFS2 file system, and obtaining related parameters of the file system from the super block structure; 3) performing index positioning on the deleted files or directories according to the acquired relevant important parameters of the file system, and finding directory entries where the deleted files or directories are located and node information; 4) recovering the directory entry of the deleted file or directory according to the directory entry where the deleted file or directory is located and the node information. The method can recover the effective file deleted by mistake, and can be widely applied to the field of data recovery of the JFS2 file system.

Description

technical field [0001] The invention relates to the technical field of data recovery, in particular to a data recovery method and system when data is deleted in a JFS2 file system. Background technique [0002] JFS2 (Enhanced Journaled File System) is a file system used by default in IBM's AIX operating system. JFS2 provides partition-based file allocation (Extent-based allocation) to improve performance. Partition-based allocation refers to the allocation of a group of continuous blocks rather than a single block. Since the blocks are contiguous on disk, their read and write performance will be better. Another advantage of this distribution is that metadata management can be minimized. Allocating disk space by block means updating metadata block by block. With partitions, metadata only needs to be updated per partition (which can represent multiple blocks). [0003] However, when a file in the JFS2 file system is accidentally deleted, the user cannot reproduce the delet...

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/1435
Inventor 张宇
Owner 北京北亚宸星科技有限公司
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