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

Colin Faber colin.faber at seagate.com
Sun Jun 19 22:04:09 PDT 2016


Hi Phil,

I think you may want to call lctl set_param with the -P argument to
permanently set it.

-cf


On Sat, Jun 18, 2016 at 3:36 AM, Dilger, Andreas <andreas.dilger at intel.com>
wrote:

> 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
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_listinfo.cgi_lustre-2Ddiscuss-2Dlustre.org&d=CwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=x9pM59OqndbWw-lPPdr8w1Vud29EZigcxcNkz0uw5oQ&m=J2ZEAA4lzksizZ8sMzpFiTAfG2nIVhP6gruoTT9v7Pw&s=c7Npdh4GsMW_Oo-CwdYgMDfTr2fp_bxOo1v8IKScbD0&e=
>
>
>
>
>
> _______________________________________________
> lustre-discuss mailing list
> lustre-discuss at lists.lustre.org
>
> https://urldefense.proofpoint.com/v2/url?u=http-3A__lists.lustre.org_listinfo.cgi_lustre-2Ddiscuss-2Dlustre.org&d=CwICAg&c=IGDlg0lD0b-nebmJJ0Kp8A&r=x9pM59OqndbWw-lPPdr8w1Vud29EZigcxcNkz0uw5oQ&m=J2ZEAA4lzksizZ8sMzpFiTAfG2nIVhP6gruoTT9v7Pw&s=c7Npdh4GsMW_Oo-CwdYgMDfTr2fp_bxOo1v8IKScbD0&e=
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20160619/ae5eacac/attachment.htm>


More information about the lustre-discuss mailing list