sscargal / pmemchk

MIT License
0 stars 1 forks source link

[Rule] [Optane] [ipmctl_show_-a_-dimm] PoisonErrorInjectionsCounter & PoisonErrorClearCounter > 0 #42

Closed sscargal closed 2 years ago

sscargal commented 2 years ago

Analyzer Module: Optane Input File: ipmctlshow-a_-dimm Parameter: ReservedCapacity Applies to: Optane 100 or later Description: This rule should fail when the error count is > 0.

Expect:

   PoisonErrorInjectionsCounter=0
   PoisonErrorClearCounter=0

If the number of injected errors == the number of cleared errors, then it's okay, but should be reported. Otherwise, somebody forgot to clear the poison.

Test outcome:

Man page entry

      PoisonErrorInjectionsCounter
           This counter is incremented each time the set poison error is successfully executed.

       PoisonErrorClearCounter
           This counter is incremented each time the clear poison error is successfully executed.