Re: [lustre-discuss] Restrict who can assign OST pools to directories

2022-11-18 Thread Passerini Marco
gards, Marco Passerini From: Raj Sent: Monday, November 7, 2022 6:23:48 PM To: Andreas Dilger Cc: Passerini Marco; lustre-discuss@lists.lustre.org Subject: Re: [lustre-discuss] Restrict who can assign OST pools to directories Marco, One other idea is to give an un

Re: [lustre-discuss] Restrict who can assign OST pools to directories

2022-11-07 Thread Raj via lustre-discuss
Marco, One other idea is to give an unfriendly pool name that users can't guess. Like "myfs.mkpilaxluia" instead of myfs.flash or myfs.ssd so that it becomes difficult(not impossible though) for users to use :). Users don't have access to MDS to get the entire lists of pools defined. Thanks, Raj

Re: [lustre-discuss] Restrict who can assign OST pools to directories

2022-11-07 Thread Andreas Dilger via lustre-discuss
Unfortunately, this is not possible today, though I don't think it would be too hard for someone to implement this by copying "enable_remote_dir_gid" and similar checks on the MDS. In Lustre 2.14 and later, it is possible to set an OST pool quota that can restrict users from creating too many

[lustre-discuss] Restrict who can assign OST pools to directories

2022-11-04 Thread Passerini Marco
Hi, Is there a way in Lustre to restrict who can assign OST pools to directories? In specific, can we limit the following command so that it can be run by root only? lfs setstripe --pool myfs.mypool test_dir I would need something similar to what can be done for remote directories: lctl