sscargal / pmemchk

MIT License
0 stars 1 forks source link

[Rule] optane_check_dimm_overwrite_status: Re-word response #131

Closed sscargal closed 2 years ago

sscargal commented 2 years ago

The rule currently shows:

[ INFO     ] optane_check_dimm_overwrite_status : All PMem modules have a definite OverwriteStatus

This could be more meaningful if it reported the actual status. From the ipmctl-show-device(1) man page, the possible values are:

       OverwriteStatus
           The overwrite PMem module operation status for the PMem module. One of:

           •   Unknown - The overwrite PMem module operation status cannot be determined. This may occur if the status gets overwritten due to a different long operation running on this PMem module.

           •   Not started - An overwrite PMem module operation was not started on the last boot.

           •   In progress - An overwrite PMem module operation is currently in progress.

           •   Completed - An overwrite PMem module operation completed and a reboot is required to use the PMem module.

example:

[ INFO     ] optane_check_dimm_overwrite_status : All PMem modules reported OverwriteStatus == <Unknown|Not started|In progress|Completed>"