A read-only snapshot rollback method and device

A snapshot and target technology, applied in the direction of response error generation, redundant operation data error detection in operation, etc., can solve problems such as affecting system operability, inability to obtain read-only snapshot data, etc., to improve operability , the effect of preventing data from being unrecoverable

Active Publication Date: 2016-06-22
HUAWEI TECH CO LTD
View PDF3 Cites 0 Cited by
  • Summary
  • Abstract
  • Description
  • Claims
  • Application Information

AI Technical Summary

Problems solved by technology

[0007] The embodiment of the present invention provides a read-only snapshot rollback method and device, which are used to solve the problem that some read-only snapshot data cannot be obtained after the read-only snapshot is rolled back, which affects the operability of the system in the rollback process of the read-only snapshot. question

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
  • A read-only snapshot rollback method and device
  • A read-only snapshot rollback method and device
  • A read-only snapshot rollback method and device

Examples

Experimental program
Comparison scheme
Effect test

Embodiment Construction

[0052] In order to solve the current problem of poor system operability during the read-only snapshot rollback process. In the embodiment of the present invention, when a read-only snapshot rollback instruction is received, the root of the target read-only snapshot is obtained based on the identity of the target read-only snapshot carried in the read-only snapshot rollback instruction, and the root of the file system is replaced by the target The root of the read-only snapshot, so that the target read-only snapshot is rolled back to the file system, and all read-only snapshots after the creation time corresponding to the target read-only snapshot are retained, and only the next creation time after the target read-only snapshot is deleted The exclusive data information of the target read-only snapshot in the metadata of the read snapshot. By adopting the technical solution of the present invention, after the target read-only snapshot is rolled back to the file system according ...

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 read-only snapshot rollback method and device, which are used to solve the problem that part of the read-only snapshot data cannot be obtained after the read-only snapshot is rolled back during the rollback process of the read-only snapshot. The method is, after receiving the rollback instruction of the read-only snapshot, obtain the root of the target read-only snapshot based on the rollback instruction of the read-only snapshot, replace the root of the file system with the root of the target read-only snapshot, and make the target read-only snapshot Roll back to the file system, and retain the read-only snapshots at all creation times after the creation time corresponding to the target read-only snapshot. By adopting the technical solution of the present invention, after the target read-only snapshot is rolled back to the file system according to the user's instructions, the read-only snapshots at all creation times after the creation time corresponding to the target read-only snapshot are retained, effectively preventing data loss caused by user misoperation. After the read-only snapshot is rolled back, the user can quickly obtain the required read-only snapshot, thereby effectively improving the operability of the system.

Description

technical field [0001] The invention relates to the technical field of computer applications, in particular to a read-only snapshot rollback method and device. Background technique [0002] Currently, in NAS (NetworkAttachedStorage; Network Attached Storage) applications, FS (FileSystem; file system) is a system for storing and managing files, which includes a large number of managed files and file directories representing the hierarchical relationship of the large number of files. It can provide users with functions such as reading and writing files, deleting files, and creating new files. In the file system, due to the needs of file data protection, ROW (Redirect-on-write; redirection when writing) read-only snapshots will be created for FS at different times, where the read-only snapshot is the file system at a certain time image. When the FS fails or based on the needs of the business itself, it is necessary to restore the read-only snapshot at a certain time to the fi...

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 Patents(China)
IPC IPC(8): G06F11/14
Inventor 庞洪福
Owner HUAWEI 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