Thanks to Shaun and Chris.   

 

Sorry I forgot to paste,    I tried osd first,  it didn’t work,  so I tried 
ost,  incase ost was the new name. 

 

[root@lustre-oss-server-nic0-1 ~]#  lctl set_param 
osd-*.readcache_max_filesize=2M

error: set_param: param_path 'osd-*/readcache_max_filesize': No such file or 
directory

[root@lustre-oss-server-nic0-1 ~]#  lctl set_param 
ost-*.readcache_max_filesize=2M

error: set_param: param_path 'ost-*/readcache_max_filesize': No such file or 
directory

[root@lustre-oss-server-nic0-1 ~]#

 

 

So I have this, based on this,  

 

[root@lustre-oss-server-nic0-1 ~]# lctl list_param -R * | grep 
readcache_max_filesize

osd-ldiskfs.lfsbv-OST0000.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0001.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0002.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0003.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0004.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0005.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0006.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0007.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0008.readcache_max_filesize

osd-ldiskfs.lfsbv-OST0009.readcache_max_filesize

[root@lustre-oss-server-nic0-1 ~]#

 

So I did trial and error and found I need to do this:  osd-ldiskfs.* instead of 
osd.*

 

[root@lustre-oss-server-nic0-1 ~] lctl set_param 
osd-ldiskfs.*.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0000.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0001.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0002.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0003.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0004.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0005.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0006.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0007.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0008.readcache_max_filesize=2M

osd-ldiskfs.lfsbv-OST0009.readcache_max_filesize=2M

[root@lustre-oss-server-nic0-1 ~]#

 

 

 

From: Chris Horn <[email protected]>
Date: Thursday, August 8, 2019 at 11:11 AM
To: Pinkesh Valdria <[email protected]>, Shaun Tancheff 
<[email protected]>, "[email protected]" 
<[email protected]>
Subject: Re: [lustre-discuss] lctl set_param 
obdfilter.*.readcache_max_filesize=2M fails

 

You have a typo in the command you ran. Shaun wrote
> lctl set_param osd-*.readcache_max_filesize=2M

 

but you have:
> lctl set_param ost-*.readcache_max_filesize=2M

ost->osd

 

> Is  there commands to see all the currently parameters using some get command 

 

lctl list_param -R *

 

# lctl list_param -R * | grep readcache_max_filesize

osd-ldiskfs.snx11922-OST0002.readcache_max_filesize

osd-ldiskfs.snx11922-OST0003.readcache_max_filesize

#

 

Chris Horn

 

From: lustre-discuss <[email protected]> on behalf of 
Pinkesh Valdria <[email protected]>
Date: Thursday, August 8, 2019 at 11:57 AM
To: Shaun Tancheff <[email protected]>, "[email protected]" 
<[email protected]>
Subject: Re: [lustre-discuss] lctl set_param 
obdfilter.*.readcache_max_filesize=2M fails

 

That also fails 

 

[root@lustre-oss-server-nic0-1 ~]#  lctl set_param 
ost-*.readcache_max_filesize=2M

error: set_param: param_path 'ost-*/readcache_max_filesize': No such file or 
directory

[root@lustre-oss-server-nic0-1 ~]#

 

Is  there commands to see all the currently parameters using some get command 

 

 

From: Shaun Tancheff <[email protected]>
Date: Thursday, August 8, 2019 at 9:50 AM
To: Pinkesh Valdria <[email protected]>, 
"[email protected]" <[email protected]>
Subject: Re: [lustre-discuss] lctl set_param 
obdfilter.*.readcache_max_filesize=2M fails

 

I think the parameter has changed:

'obdfilter.*.readcache_max_filesize’ => 'osd-*.readcache_max_filesize'

 

So try:

 lctl set_param osd-*.readcache_max_filesize=2M

 

 

 

From: lustre-discuss <[email protected]> on behalf of 
Pinkesh Valdria <[email protected]>
Date: Thursday, August 8, 2019 at 11:43 AM
To: "[email protected]" <[email protected]>
Subject: [lustre-discuss] lctl set_param obdfilter.*.readcache_max_filesize=2M 
fails

 


 

_______________________________________________
lustre-discuss mailing list
[email protected]
http://lists.lustre.org/listinfo.cgi/lustre-discuss-lustre.org

Reply via email to