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

Phill Harvey-Smith p.harvey-smith at warwick.ac.uk
Fri Jun 17 02:08:04 PDT 2016


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.


More information about the lustre-discuss mailing list