Uploaded image for project: 'Lustre'
  1. Lustre
  2. LU-11512

DL-SNAP: Directory Level Snapshot

    XMLWordPrintable

    Details

    • Type: New Feature
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: Lustre 2.6.0
    • Fix Version/s: None
    • Labels:
    • Rank (Obsolete):
      9223372036854775807

      Description

      DL-SNAP is a feature designed for directory level file backups.

      It is implemented on top of lustre ldiskfs without modification of ext4 disk format, though we set a special original flag to FEATURE of the superblock in order to check whether DL-SNAP is enabled.

      The feature makes execution of e2fsck command failed although no modification to ext2 file system structure.

       

      DL-SNAP uses COW(Copy On Write) mechanism to reduce backup time and storage usage.  When we create a snapshot, only inodes are created. At this point, new data blocks are not allocated on OST.  Data blocks of snapshot are allocated when original file is modified.

       

      Not only root users but also ordinary users can create snapshots. Users can create a snapshot of a directory using lfs command with snapshot option, and restore files by usual process such as cp command.

       

      For more information, please check the presentation at LUG2016.

        Attachments

        1. dl_snapshot.patch
          339 kB
          Tatsushi Takamura

          Activity

            People

            Assignee:
            takamura Tatsushi Takamura
            Reporter:
            takamura Tatsushi Takamura
            Votes:
            0 Vote for this issue
            Watchers:
            13 Start watching this issue

              Dates

              Created:
              Updated: