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

Record full path with RMDIR changelogs

Details

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

    Description

      When using the changelogs to monitor changes to a file system, deleting directories can result in it being difficult to figure out what was deleted, as using the fid2path utility does not work with fids that reference deleted directories. Recording the full path in the changelogs would allow this information to remain accessible. 

      Attachments

        Activity

          [LU-17568] Record full path with RMDIR changelogs

          "Migeljan Imeri <mimeri@lanl.gov>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54211
          Subject: LU-17568 mdt: Append full path to RMDIR changelog record types
          Project: fs/lustre-release
          Branch: master
          Current Patch Set: 1
          Commit: 9f4b9ce772fe72b8a47c961e4ed35f8192148028

          gerrit Gerrit Updater added a comment - "Migeljan Imeri <mimeri@lanl.gov>" uploaded a new patch: https://review.whamcloud.com/c/fs/lustre-release/+/54211 Subject: LU-17568 mdt: Append full path to RMDIR changelog record types Project: fs/lustre-release Branch: master Current Patch Set: 1 Commit: 9f4b9ce772fe72b8a47c961e4ed35f8192148028

          If the parent directories have been deleted, then there should also be Changelog RMDIR records for those directories later in the logs that can be used to reconstruct the full pathname.

          For most use cases the pathname of the deleted files/dirs is not critical to preserve, but it should be possible with the information available.

          adilger Andreas Dilger added a comment - If the parent directories have been deleted, then there should also be Changelog RMDIR records for those directories later in the logs that can be used to reconstruct the full pathname. For most use cases the pathname of the deleted files/dirs is not critical to preserve, but it should be possible with the information available.

          People

            mimeri Migel Imeri
            mimeri Migel Imeri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated: