[Lustre-discuss] Restricting ''lfs setstripe'' command + kernelpanic

Adrian Ulrich
Thu, 25 Feb 2010 17:51:17 -0000

Hello,

Is there a way to disable ''lfs setstripe'' on certain
directories/files for non-root users?

I noticed that nobody (not even root) is able to change the striping if i mount
lustre with user_xattr, so i suspect that there must be some xattr flag to
re-enable it on a per-user basis but i could not figure out how to do it.


Oh and btw: I discovered a very nice way to panic a lustre client with
a single command:

 $ setfattr -n lustre.lov .
 *boom!* (no need to be root. causes a kernelpanic on
          lustre 1.8.1.1 / linux 2.6.18-128.7.1.el5)


Regards,
 Adrian Ulrich