[lustre-discuss] set_param permanent on client side ?

Artem Blagodarenko artem.blagodarenko at gmail.com
Wed May 23 01:15:25 PDT 2018


Hello Riccardo,

There is “lctl set_param -P” command that set parameter permanently. It needs to be executed on MGS server (and only MGS must be mounted), but parameter is applied to given  target (or client). From your example:

lctl set_param -P osc.*.checksums=0   

Will execute “set_param osc.*.checksums=0” on all targets.

Best regards,
Artem Blagodarenko.

> On 23 May 2018, at 00:11, Riccardo Veraldi <Riccardo.Veraldi at cnaf.infn.it> wrote:
> 
> Hello,
> 
> how do I set_param in a persistent way on the lsutre clinet side so that
> it has not to be set every time after reboot ?
> 
> Not all of these parameters can be set on the MDS, for example the osc.* :
> 
> lctl set_param osc.*.checksums=0
> lctl set_param timeout=600
> lctl set_param at_min=250
> lctl set_param at_max=600
> lctl set_param ldlm.namespaces.*.lru_size=2000
> lctl set_param osc.*.max_rpcs_in_flight=64
> lctl set_param osc.*.max_dirty_mb=1024
> lctl set_param llite.*.max_read_ahead_mb=1024
> lctl set_param llite.*.max_cached_mb=81920
> lctl set_param llite.*.max_read_ahead_per_file_mb=1024
> lctl set_param subsystem_debug=0
> 
> thank you
> 
> 
> Rick
> 
> 
> 
> _______________________________________________
> 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