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

error setting xattrs moving read-only files

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Duplicate
    • Icon: Minor Minor
    • None
    • Lustre 1.8.6
    • None
    • 9729

      When moving (or cp'ing with --preserver=all) read-only files out of a lustre filesystem, errors are produced as follows

      % touch /p/lscratcha/bass6/asdf
      % chmod 400 /p/lscratcha/bass6/asdf
      % mv /p/lscratcha/bass6/asdf /tmp
      mv: setting attribute `lustre.lov' for `lustre.lov': Permission denied
      mv: setting attribute `lustre.lov' for `lustre.lov': Permission denied

      This isn't really a bug, but rather an unfortunate consequence of the design decision to use the 'lustre' namespace for extended attributes. If Lustre instead used the conventional 'system' namespace then the utilities wouldn't try to preserve them and the errors would be avoided. While harmless, the errors do cause some alarm to users who then wonder if their files have been corrupted. It would be nice to handle this more gracefully in future designs.

            adilger Andreas Dilger
            nedbass Ned Bass (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: