[lustre-discuss] Running a script on lustre mount....

Dilger, Andreas andreas.dilger at intel.com
Sat Jun 18 02:36:08 PDT 2016


You can use "lctl set_param llite.*.create_no_open_optimization=0" so
that it doesn't matter what "hex_number" is.

Cheers, Andreas
-- 
Andreas Dilger

Lustre Principal Architect
Intel High Performance Data Division

On 2016/06/17, 03:08, "lustre-discuss on behalf of Phill Harvey-Smith" <lustre-discuss-bounces at lists.lustre.org on behalf of p.harvey-smith at warwick.ac.uk> wrote:

Hi all,

After working through the "Odd behavior with matlab" theread and 
applying the patch I can do :

lctl set_param llite.home-<hex_number>.create_no_open_optimization=0

Which will allow matlab to run.

The problem is that this setting needs to be set every time the system 
is booted, and also the <hex_number> bit seems to change on every 
re-boot too.

So couple of questions....

1) Is it possible to make the create_no_open_optimization=0 permanent 
for the home filesystem?

2) Failing that is there a way to run a simple script that will manually 
do the lctl set_param on every boot after the lustre filesystem is 
mounted (I have a script that will extract the correct
home- bit from /proc/fs/lustre/llite).

If it helps the system is Ubuntu 16.04 LTS, which is fully systemd.

Cheers.

Phill.
_______________________________________________
lustre-discuss mailing list
lustre-discuss at lists.lustre.org
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org







More information about the lustre-discuss mailing list