libnvme(2)
π NAME π
enum nvme_smart_egcw β the Endurance Group Critical Warning Summary, bestie β¨
π¦ SYNOPSIS π¦
enum nvme_smart_egcw {
NVME_SMART_EGCW_SPARE ,
NVME_SMART_EGCW_DEGRADED ,
NVME_SMART_EGCW_RO
};
π Constants π
okay so these are the three little flag vibes, and each one is a warning that's been set. Let's go one by one, no skipping π
NVME_SMART_EGCW_SPAREβ if this one is set, then the available spare capacity of one or more Endurance Groups has fallen below the threshold. like, the spare tank is looking thin, bestie πNVME_SMART_EGCW_DEGRADEDβ if this is set, then the reliability of one or more Endurance Groups has been degraded. and why? because of significant media related errors, or any internal error that degrades NVM subsystem reliability. it's giving "the vibes are off and it's hardware's fault" πNVME_SMART_EGCW_ROβ if this is set, then the namespaces in one or more Endurance Groups have been placed in read only mode. and hear me out β this is not because of a change in the write protection state of a namespace. so don't go blaming write protection, that's a different situation entirely π«Ά
fr fr, every single one of these is conditional β "if set" β so check whether the bit is actually on before you spiral π
that's the whole page, periodt π this one comes to you from enum nvme_smart_egcw in the libnvme(2) API Manual, dated July 2026 β go forth and monitor your Endurance Groups, you icon ππΈ
π¦ where this page comes from
- ubuntu stonking: libnvme-dev 1.16.2-1build1 Β· LGPL-2.1-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms