[lustre-discuss] set_param permanent on client side ?

Dilger, Andreas andreas.dilger at intel.com
Mon May 28 17:30:07 PDT 2018


Running"lctl get_param -P" and "lctl conf_param" need to be done on the MGS to be able to store the records in the config log, and to ensure that the user has the correct access permissions. 

The clients are notified of the config log update and apply the logs locally, the parameters do not need to be present on the MGS for this to work. 

Cheers, Andreas

> On May 28, 2018, at 16:19, Riccardo Veraldi <Riccardo.Veraldi at cnaf.infn.it> wrote:
> 
> the problem is that some of these parameters seems like are not there on
> the MDS side
> 
> lctl get_param osc.*.checksums
> error: get_param: param_path 'osc/*/checksums': No such file or directory
> 
> lctl get_param osc.*.max_pages_per_rpc
> error: get_param: param_path 'osc/*/max_pages_per_rpc': No such file or
> directory
> 
> lctl get_param llite.*.max_cached_mb
> 
> only some of them are on the MDS side
> 
> lctl get_param osc.*.max_rpcs_in_flight
> osc.drpffb-OST0001-osc-MDT0000.max_rpcs_in_flight=64
> osc.drpffb-OST0002-osc-MDT0000.max_rpcs_in_flight=64
> osc.drpffb-OST0003-osc-MDT0000.max_rpcs_in_flight=64
> 
> 
> 
> 
>> On 5/23/18 1:15 AM, Artem Blagodarenko wrote:
>> 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
> 
> 
> _______________________________________________
> 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