<div dir="ltr"><div>Hello all,</div><div><br></div><div>Thanks a lot for constantly working and improving smartmontools, really appreciate that!</div><div><br></div><div>I'm trying to figure out the value of the "Critical Warning" attribute in NVMe devices.</div><div>In the source code (<a href="https://github.com/smartmontools/smartmontools/blob/e3fdde7aff4cd069e629ee987bf33ac8ccd621ad/smartmontools/nvmeprint.cpp#L300">https://github.com/smartmontools/smartmontools/blob/e3fdde7aff4cd069e629ee987bf33ac8ccd621ad/smartmontools/nvmeprint.cpp#L300</a>) I can find the following relevant information:</div><div><br></div><div><table class="gmail-highlight gmail-tab-size gmail-js-file-line-container"><tbody><tr><td id="gmail-LC309" class="gmail-blob-code gmail-blob-code-inner gmail-js-file-line"> <ul><li>0x01 = available spare has fallen below threshold</li><li>0x02 = temperature is above or below threshold</li><li>0x04 = NVM subsystem reliability has been degraded</li><li>0x08 = media has been placed in read only mode</li><li>0x10 = volatile memory backup device has failed</li><li>0x1f = unknown critical warning(s)</li></ul><span class="gmail-pl-k"></span></td></tr><tr></tr></tbody></table></div><div><br></div><div>So far so good, that's understandable and is translated by smartctl itself into the self-assessment health. <br></div><div><br></div><div>But according to the NVMe specification, it is possible that multiple alerts are set at the same time:</div><div><br></div><div>> This field indicates critical warnings for the state of the
controller.Each bit corresponds to a critical warning type; multiple
bits may be set</div><div><br></div><div>Did anyone ever see such a case where two thresholds were reached? For example it is possible that 0x01 and 0x02 can happen at the same time. How will this affect the value and how will smartctl cope with it? Will it just appear as "unknown critical warning(s)"?</div><div><br></div><div>Thanks<br></div></div>