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

ACLs and extended attributes not preserved on MDS move

    XMLWordPrintable

Details

    • Bug
    • Resolution: Cannot Reproduce
    • Minor
    • None
    • None
    • None
    • Lustre 1.8.8-wc1 moving to Lustre 1.8.9-wc1
    • 3
    • 7348

    Description

      On 23/03/13 15:59, Christopher J. Walker wrote:
      > I have moved the metadata server on a lustre 1.8 filesystem (previously
      > upgraded from 1.6) to new hardware.
      >
      > The posix acls and extended user attributes don't seem to have been
      > preserved.
      >
      [snip]
      >
      > What I did was:
      >
      > # On old server
      > mount -t ldiskfs /dev/sdb /mnt/mgs

      The problem is the following:

      Although that's what is documented in the Lustre 1.8 manual, it seems I should have done is:

      mount -t ldiskfs -o user_xattr -o acl /dev/sdb /mnt/mgs

      to preserve the extended attributes and acls.

      > cd /mnt/mgs
      > getfattr -R -d -m '.*' -P .

      To get out of this, I've done the following on the old MDS

      getfattr -R -d -P . >aclfile

      and then setfattr --restore=aclfile

      and similarly with the acls.

      Chris

      Attachments

        Activity

          People

            LM-Triage Lustre Manual Triage
            walker Christopher J. Walker (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: