[LUDOC-373] Add information about Lustre xattrs Created: 24/Mar/17  Updated: 30/Aug/23

Status: Open
Project: Lustre Documentation
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Improvement Priority: Trivial
Reporter: Brett Lee (Inactive) Assignee: Lustre Manual Triage
Resolution: Unresolved Votes: 0
Labels: easy

Issue Links:
Related
is related to LU-13031 store JobID of program that created f... Resolved
Rank (Obsolete): 9223372036854775807

 Description   

Hello. The current manual does not seem to contain a introduction to the extended attributes. As Andreas provided a list of xattrs, along with information about each, please add this information to the manual. In considering where would be best, my suggestion would be to add a new section, "1.3.2. Lustre Extended Attributes", just after 1.3.1. Lustre File System and Striping. In doing so, a link could quickly be made between the striping policies of 1.3.1, and the trusted.lov xattr associated with retaining the file/directory striping files. At that point, "all" the xattrs could be introduced. Further, indicating in 1.3.2 that chapter 18 - backup and restore (and maybe other chapters later) discusses xattrs, also. Just a suggestion...

Provide by Andreas was:

"trusted.lov" - holds layout for a regular file, or the directory default layout (== lustre.lov)
"trusted.lma" - holds FID for current file, some flags
"trusted.lmv" - holds layout for a striped directory (DNE 2), not present otherwise
"trusted.link" - holds parent directory FID+filename for each link to a file (for lfs fid2path)

Thanks!



 Comments   
Comment by Andreas Dilger [ 20/Apr/17 ]

Brett, is there some chance you could take a crack at adding this to the manual yourself? This is described at:

https://wiki.hpdd.intel.com/display/PUB/Making+changes+to+the+Lustre+Manual

Comment by Gerrit Updater [ 19/Mar/21 ]

Arshad Hussain (arshad.hussain@aeoncomputing.com) uploaded a new patch: https://review.whamcloud.com/42108
Subject: LUDOC-373 manual: Add section on Lustre xattrs
Project: doc/manual
Branch: master
Current Patch Set: 1
Commit: cd7faface0039579d175d5c4c4687d71db275dab

Comment by Gerrit Updater [ 25/Mar/21 ]

Andreas Dilger (adilger@whamcloud.com) merged in patch https://review.whamcloud.com/42108/
Subject: LUDOC-373 manual: Add section on Lustre xattrs
Project: doc/manual
Branch: master
Current Patch Set:
Commit: 56db46d9a5fbb4dc2726b5723754a4afe7b5419d

Comment by Andreas Dilger [ 30/Aug/23 ]

It would be useful to include entries for some of the remaining xattrs:

  • user.job holds jobid name that initially created the file (from LU-13031)
  • trusted.dmv holds default directory layout inherited by new subdirectories
  • filter.fid on OST objects and holds back-pointer to MDT FID that contains object and layout information specific to that object
Generated at Sat Feb 10 03:42:25 UTC 2024 using Jira 9.4.14#940014-sha1:734e6822bbf0d45eff9af51f82432957f73aa32c.