Design and Implementation of a Snapshot File System under Linux

Author
XieQuanChao
Advisor
LiuRiSheng
School
Dalian University of Technology
Major
Computer Software and Theory
Classification
TP311.52 Software Development
Degree
Master's thesis
Year
2006
Downloads
320
Citations
4

Request the full text

Abstract

The most common uses of the data backup system to restore the file the user accidentally deleted by mistake and restore data lost due to disk corruption. Traditional data backup system requires the entire system to stop running before, during backup, can not be normal data access. The snapshot technique is instantaneous mapping, a complete, consistent storage system image, generates the images, it can use this image data can be generated within a very short time to create a file system backup without the need to worry data inconsistency. Linux traditional file backup tool such as tar and cpio command function is relatively simple, it is difficult to deal with file system-level data backup. Some of the physical file system level snapshot file system exists long development cycle, the shortcomings of poor the debugging difficulties and portability. Some user-level snapshot file system to facilitate the development and porting, but there is the problem of inefficient and, in some cases even become unbearable. Closely and virtual file system snapshot file system can solve these problems, the specific method is achieved through several modifications and changes in the virtual file system internal disk file system calls to data backup and restore functions. Such a way to achieve reduced the difficulty of developing file system, the file system is enhanced portability, while improving the efficiency of the file system. This article focuses on the design ideas of the of ASFS (another snapshot of the file system), Linux-2.6 kernel to achieve the key points and topics such as performance testing. First, the principle and method of snapshot technology, elaborated the meaning of the snapshot file system and virtual file system; Second, the the modify disk file system calls in the Linux operating system to achieve principle; then go into the details ASFS the performance comparison and testing design ideas, points and implementation details; Finally, the paper compares the ASFS and other characteristics of the snapshot file system, and implementation BEFS different storage strategies and retention strategies. This paper, through the analysis of the ASFS the design ideas and the means of achieving, introduced a new method of a development snapshot file system, researchers and developers of the Linux file system has certain reference value.

Table of contents

Originality description 2-3 <br the /> summary 3-4 the Abstract the <br 4-7 the /> introduction 7-17 <br / > source 1.1 Data backup technology 7 1.2 data backup technology classification 7-11 1.2.1 backup mode classification 8-9 <br / > 1.2.2 backup strategy classification 9-10 1.2.3 cold backup and hot backup nbsp the snapshot 1.3 10-11 definition of technology and features; 11 -15 1.3.1 snapshot technology implementations 11-12 1.3.2 snapshot technology several instances 12-14 1.3.3 snapshot technology the direction of development 14-15 1.4 15-16 1.5 The main contents 16-17 2 Linux operating system and its virtual file system 17-29 2.1 Linux operating system Overview and 17-20 the the 2.1.1 Linux operation system characteristics 17-18 2.1. the composition of the Linux kernel 18-20 2.2 Linux Virtual File System Overview 20-27 the 2.2.1 virtual file system; nbsp 21-22 2.2.2 virtual file system implementation 22-25 2.2.3 virtual file system limitations 25-27 2.3 Linux Cache management 27 -29 3 ASFS the snapshot file system design the ASFS 29-36 3.1 snapshot file system design goals 29-30 3.2 ASFS snapshot file system design thinking 30-31 3.3 snapshot storage strategy 31-34 3.3.1 completely stored 31 3.3.2 compressed storage 31-32 3.3.3 sparse storage 32-34 3.4 snapshot retention strategies 34-36 4 ASFS snapshot file system implementation 36-50 4.1 write copy 36 System 4.2 The calling process analysis 36-38 4.2.1 to read and write system calls the process of analysis 36-37 In 4.2.2 path name lookup process analysis 37-38 4.3 snapshot create 38-45 4.3.1 write operation 39-41 4.3.2 unlink 41-42 4.3.3 delete the directory 42-43 4.3.4 Rename operation 43 4.3.5 truncated 43-44 4.3.6 Change metadata 44-45 4.4 snapshot management 45 -47 4.4.1 display a snapshot of the state 45 4.4.2 restore files 45 4.4.3 open a raw snapshot file 45 - 46 the 4.4.4 Management snapshot example of the operation of the 46 4.4.5 a few snapshots 46-47 the 4.5 snapshots collector 47 4.6 module The debug tools UML 47-50 5 feature comparison and performance evaluation 50-56 5.1 Characteristics 50-52 <br / > 5.2 test environment 52 5.3 performance evaluation 52-56 5.3.1 Data backup 52-54 5.3.2 data recovery 54-56 Summary and Outlook 56-57 refer to the literature 57-59 master's degree during the published papers 59 - 60 Acknowledgements 60-61 Dalian University dissertation Rights License; nbsp 61

Related dissertations

  1. Research and Implementation of the high-availability file system backup solution in a SAN environment
  2. Design and Implementation of Pionts Snapshot at Block Device Layer
  3. Research of iSCSI SAN-based Backup System
    XuLin ·Shanghai Jiaotong University ·2008 ·Master's thesis
  4. Terminal design of fault diagnosis system of intelligent equipment under a cloud service environment
  5. Implementation of Windows File System Virtualization Based on Sandbox Technology
  6. Design and Implementation of Cross-platform Website Anti-tamper System Based on File Filter Driver
    LinYiXin ·South China University of Technology ·2013 ·Master's thesis
  7. Research on Multi-attribute-based File Organization Mechanism
  8. Research of Database Incremental Extraction Based on MD5and HASH Algorithm and Its Application
    GuoLiang ·Hunan University ·2013 ·Master's thesis
  9. The Design and Implementation of Distributed File System Based on Linux
  10. The Linux Kernel Porting, Profiling Driven Development and Cryptographic Applications Based on CK810
  11. Reseach on Marching-on In-time Scheme and the Fast Algorithm of Time Domain Integral Equation
  12. Research on the Malicious Codes Monitoring Technology Based on the File System
    SunHaiPeng ·Northwest Normal University ·2013 ·Master's thesis
  13. Design and Implementation of P2P-Based Optical Jukebox File Backup System
  14. Armed Police Force Transmission Management Network High Availability of Backup System Design and Implementation
  15. Research and Implementation of Secure Data Destruction and Remote Backup on Mobile Devices
  16. Design and implementation of remote mirroring system for low bandwidth
  17. Design and Implementation of a Snapshot Storage System Based on a Redirection Framework
  18. Research Andapplication of FAT File System for Multimedia Storage
  19. Research on Storage System Experimental Datasets Construction Method
  20. The Design and Implementation of a De-duplication File System Based on Cloud Storage