Uploaded image for project: 'Lustre Documentation'
  1. Lustre Documentation
  2. LUDOC-514

tar --acls option for proper POSIX ACLs backup/restore of MDTs

    XMLWordPrintable

Details

    • Improvement
    • Resolution: Fixed
    • Major
    • None
    • None
    • None
    • 3
    • 9223372036854775807

    Description

      Tar does only restore the following xattr if --acls is provided:

      system.posix_acl_access
      system.posix_acl_default
      

      See: https://git.savannah.gnu.org/cgit/tar.git/tree/src/xattrs.c#n283

      The documentation should be updated to mention --acls for MDT backup/restore, otherwise all POSIX ACLs are lost. I will submit a doc patch shortly.

      Alternatively, one can use getfacl/setfacl to backup/restore ACLs.

      Lastly, using -P / --absolute-names speeds up tremendously the extraction for trusted archive with hardlinks (like MDT backup archives).
      See:

       

      Attachments

        Activity

          People

            LM-Triage Lustre Manual Triage
            sthiell Stephane Thiell
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: