Details
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
- is related to
-
LU-18456 TCU: Trash Can/Undelete for Lustre
-
- Open
-