[lustre-discuss] lctl set_param obdfilter.*.readcache_max_filesize=2M fails
Pinkesh Valdria
pinkesh.valdria at oracle.com
Thu Aug 8 11:36:11 PDT 2019
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 at 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 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 ~]#
So I have this, based on this,
[root at 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 at lustre-oss-server-nic0-1 ~]#
So I did trial and error and found I need to do this: osd-ldiskfs.* instead of osd.*
[root at 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 at lustre-oss-server-nic0-1 ~]#
From: Chris Horn <hornc at cray.com>
Date: Thursday, August 8, 2019 at 11:11 AM
To: Pinkesh Valdria <pinkesh.valdria at oracle.com>, 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
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/d0614a4e/attachment-0001.html>
More information about the lustre-discuss
mailing list