Details
-
Bug
-
Resolution: Fixed
-
Minor
-
None
-
Lustre 2.12.0
-
None
-
3
-
9223372036854775807
Description
Setting nrs_policies on the MGS does not apply them when a server is rebooted. It seems to work only on the MGS node.
lctl set_param -P ost.OSS.ost_io.nrs_policies="tbf"
I check the params log file and it has the setting
# llog_reader /tmp/params rec #1 type=10620000 len=224 offset 8192 rec #2 type=10620000 len=104 offset 8416 rec #3 type=10620000 len=224 offset 8520 rec #4 type=10620000 len=224 offset 8744 rec #5 type=10620000 len=104 offset 8968 rec #6 type=10620000 len=224 offset 9072 rec #7 type=10620000 len=224 offset 9296 rec #8 type=10620000 len=120 offset 9520 rec #9 type=10620000 len=224 offset 9640 rec #10 type=10620000 len=224 offset 9864 rec #11 type=10620000 len=128 offset 10088 rec #12 type=10620000 len=224 offset 10216 rec #13 type=10620000 len=224 offset 10440 rec #14 type=10620000 len=120 offset 10664 rec #15 type=10620000 len=224 offset 10784 Header size : 8192 Time : Wed Mar 6 11:05:31 2019 Number of records: 15 Target uuid : ----------------------- #01 (224)SKIP START marker 2 (flags=0x05, v2.12.0.0) general 'at_min' Tue Feb 26 12:28:57 2019-Tue Feb 26 12:29:08 2019 #02 (104)SKIP set_param 0:general 1:at_min=200 2:lctl #03 (224)SKIP END marker 2 (flags=0x06, v2.12.0.0) general 'at_min' Tue Feb 26 12:28:57 2019-Tue Feb 26 12:29:08 2019 #04 (224)marker 3 (flags=0x01, v2.12.0.0) general 'at_min' Tue Feb 26 12:29:08 2019- #05 (104)set_param 0:general 1:at_min=200 2:lctl #06 (224)END marker 3 (flags=0x02, v2.12.0.0) general 'at_min' Tue Feb 26 12:29:08 2019- #07 (224)SKIP START marker 2 (flags=0x05, v2.12.0.0) OSS 'ost.OSS.ost_io.nrs_policies' Wed Mar 6 10:48:11 2019-Wed Mar 6 10:50:01 2019 #08 (120)SKIP set_param 0:OSS 1:ost.OSS.ost_io.nrs_policies=tbf 2:lctl #09 (224)SKIP END marker 2 (flags=0x06, v2.12.0.0) OSS 'ost.OSS.ost_io.nrs_policies' Wed Mar 6 10:48:11 2019-Wed Mar 6 10:50:01 2019 #10 (224)SKIP START marker 3 (flags=0x05, v2.12.0.0) OSS 'ost.OSS.ost_io.nrs_policies' Wed Mar 6 10:50:01 2019-Wed Mar 6 10:50:50 2019 #11 (128)SKIP set_param 0:OSS 1:ost.OSS.ost_io.nrs_policies=fifio 2:lctl #12 (224)SKIP END marker 3 (flags=0x06, v2.12.0.0) OSS 'ost.OSS.ost_io.nrs_policies' Wed Mar 6 10:50:01 2019-Wed Mar 6 10:50:50 2019 #13 (224)marker 4 (flags=0x01, v2.12.0.0) OSS 'ost.OSS.ost_io.nrs_policies' Wed Mar 6 10:50:50 2019- #14 (120)set_param 0:OSS 1:ost.OSS.ost_io.nrs_policies=tbf 2:lctl #15 (224)END marker 4 (flags=0x02, v2.12.0.0) OSS 'ost.OSS.ost_io.nrs_policies' Wed Mar 6 10:50:50 2019-
Also when running the following on the MGS this should push out the settings all servers.
lctl set_param -P ost.OSS.ost_io.nrs_policies="tbf" lctl set_param -P ost.OSS.ost_io.nrs_tbf_rule="start css gid={1128} rate=10000"