[lustre-discuss] Large-scale UID/GID changes via lfs

Ms. Megan Larko dobsonunit at gmail.com
Wed Oct 14 19:52:53 PDT 2015


I have been able to successfully use "lfs lsetfacl ....." to set and modify
permissions on a Lustre file system quickly with a small system because the
lfs is directed at the Lustre MDT.  It is similar, I imagine, to using "lfs
find..." to search a Lustre fs compared with a *nix "find..." command,  the
latter which must touch every stripe located on any OST.

So, how do a change UID and/or GID over a Lustre file system?  Doing a *nix
find and chown seems to have the same detrimental performance.

>lfs lgetfact my.file
The above returns the file ACL info.  I can change permissions and add a
group or user access/perm but I don't know how to change the "header"
information. (To see the difference in header information, one could try
"lfs lgetfact --no-head my.file" which shows the ACL info without the

>lfs lsetfacl -muser:newPerson:rwx my.file
The above adds user with those perms to the original user listed in the
header info.

This is using Lustre version 2.6.x (forgot minor number). on RHEL 6.5.

Suggestions genuinely appreciated.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20151014/5b635d26/attachment.htm>

More information about the lustre-discuss mailing list