IBM Support

Extended Attribute Support for Linux ext2/ext3 filesystems

Troubleshooting


Problem

On linux, extended attributes on files created via the "chattr" command are not backed up and/or restored.

Cause

The Tivoli Storage Manager Linux client does not not support extended attribute created via the Linux "chattr" command.

Resolving The Problem

Currently, the Tivoli Storage Manager Linux client supports the standard ACL which can be set with the setfacl command and displayed with the getfacl command. The file extended attributes created via the chattr command are however not supported. They are not backed up or restored. For example:

  1. Create extended attribute on file test.
    chattr +d test
  2. The "lsattr test" command shows "d" extended attribute for file test. For example :
    ------d------ test
  3. Back up the file with :
    dsmc i /tmp/test
  4. Restore the test file to test.new. For example :
    dsmc restore /tmp/test /tmp/test.new

    After the file is restored, the "lsattr /tmp/test*" command shows the restored file "test.new" does not have the "d" extended attribute. For example :
    ------d------ test
    ------------- test.new
[{"Product":{"code":"SSGSG7","label":"Tivoli Storage Manager"},"Business Unit":{"code":"BU058","label":"IBM Infrastructure w\/TPS"},"Component":"Client","Platform":[{"code":"PF016","label":"Linux"}],"Version":"All Supported Versions","Edition":"","Line of Business":{"code":"LOB26","label":"Storage"}}]

Document Information

More support for:
Tivoli Storage Manager

Software version:
All Supported Versions

Operating system(s):
Linux

Document number:
350247

Modified date:
17 June 2018

UID

swg21267821