[lustre-discuss] lctl set_param obdfilter.*.readcache_max_filesize=2M fails

Chris Horn hornc at cray.com
Thu Aug 8 11:06:09 PDT 2019


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 <lustre-discuss-bounces at lists.lustre.org> on behalf of Pinkesh Valdria <pinkesh.valdria at oracle.com>
Date: Thursday, August 8, 2019 at 11:57 AM
To: Shaun Tancheff <stancheff at cray.com>, "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
Subject: Re: [lustre-discuss] lctl set_param obdfilter.*.readcache_max_filesize=2M fails

That also fails

[root at 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 at lustre-oss-server-nic0-1 ~]#

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


From: Shaun Tancheff <stancheff at cray.com>
Date: Thursday, August 8, 2019 at 9:50 AM
To: Pinkesh Valdria <pinkesh.valdria at oracle.com>, "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
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 <lustre-discuss-bounces at lists.lustre.org> on behalf of Pinkesh Valdria <pinkesh.valdria at oracle.com>
Date: Thursday, August 8, 2019 at 11:43 AM
To: "lustre-discuss at lists.lustre.org" <lustre-discuss at lists.lustre.org>
Subject: [lustre-discuss] lctl set_param obdfilter.*.readcache_max_filesize=2M fails



-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.lustre.org/pipermail/lustre-discuss-lustre.org/attachments/20190808/22484152/attachment.html>


More information about the lustre-discuss mailing list