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

TCU: implement virtual ".Trash" subdirectory for undelete

Details

    • Improvement
    • Resolution: Unresolved
    • Minor
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      It would be very useful to have a virtual ".Trash" subdirectory accessible in each directory in the filesystem that can be used to browse files/directories in the trash can and access them for recovery.

      The FID of the .Trash directory would be derived from the FID of the parent directory (pFID), by looking up the corresponding "stub" directory with the name ".lustre/trash/pFID". Essentially this is just a virtual shortcut to .lustre/trash/pFID that is accessible in each directory if specified by name, though it is not visible in each directory to avoid issues with "rm -r", backups, etc.

      It isn't possible that the .Trash directory is a symlink to .lustre/trash/pFID because the .lustre directory is in the root of the filesystem, and may be inaccessible from the mountpoint on the client.

      Attachments

        Issue Links

          Activity

            [LU-18800] TCU: implement virtual ".Trash" subdirectory for undelete
            adilger Andreas Dilger made changes -
            Labels Original: usability New: trash_can usability
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-18914 [ LU-18914 ]
            adilger Andreas Dilger made changes -
            Epic Link Original: EX-428 [ 55037 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is cloned by LU-18913 [ LU-18913 ]
            mrasobarnett Matt Rásó-Barnett made changes -
            Link New: This issue is related to EXR-637 [ EXR-637 ]
            adilger Andreas Dilger made changes -
            Summary Original: implement virtual ".Trash" subdirectory for undelete New: TCU: implement virtual ".Trash" subdirectory for undelete
            adilger Andreas Dilger made changes -
            Epic Link New: EX-428 [ 55037 ]
            adilger Andreas Dilger made changes -
            Parent Original: LU-18456 [ 85868 ]
            Issue Type Original: Technical task [ 7 ] New: Improvement [ 4 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to EX-428 [ EX-428 ]
            adilger Andreas Dilger made changes -
            Link New: This issue is related to LU-18456 [ LU-18456 ]
            adilger Andreas Dilger created issue -

            People

              wc-triage WC Triage
              adilger Andreas Dilger
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: