libnvme(2)
π NAME π
enum nvme_persistent_event_types β the persistent event log events, bestie. It's the whole roster of everything your NVMe drive can write down in its little diary of stuff that happened.
β¨ SYNOPSIS β¨
enum nvme_persistent_event_types {
NVME_PEL_SMART_HEALTH_EVENT ,
NVME_PEL_FW_COMMIT_EVENT ,
NVME_PEL_TIMESTAMP_EVENT ,
NVME_PEL_POWER_ON_RESET_EVENT ,
NVME_PEL_NSS_HW_ERROR_EVENT ,
NVME_PEL_CHANGE_NS_EVENT ,
NVME_PEL_FORMAT_START_EVENT ,
NVME_PEL_FORMAT_COMPLETION_EVENT ,
NVME_PEL_SANITIZE_START_EVENT ,
NVME_PEL_SANITIZE_COMPLETION_EVENT ,
NVME_PEL_SET_FEATURE_EVENT ,
NVME_PEL_TELEMETRY_CRT ,
NVME_PEL_THERMAL_EXCURSION_EVENT ,
NVME_PEL_SANITIZE_MEDIA_VERIF_EVENT ,
NVME_PEL_VENDOR_SPECIFIC_EVENT ,
NVME_PEL_TCG_DEFINED_EVENT
};
(okay yes there's a lil blank line before the closing brace, she's just like that, leave her alone π)
π Constants π
Not me listing every single one, because every single one MATTERS. Periodt. Here's the full lineup of event types your drive can log:
NVME_PEL_SMART_HEALTH_EVENTβ a snapshot of the SMART / Health Log, like your drive taking a selfie to check up on itself πNVME_PEL_FW_COMMIT_EVENTβ firmware commit went down, so the log is marking the occasionNVME_PEL_TIMESTAMP_EVENTβ the timestamp changed, clock said new meNVME_PEL_POWER_ON_RESET_EVENTβ power-on or reset happened, she woke up and chose chaosNVME_PEL_NSS_HW_ERROR_EVENTβ NVM Subsystem Hardware Error, aka the hardware is going through it πNVME_PEL_CHANGE_NS_EVENTβ namespace changed, glow-up or glow-down, either way it's loggedNVME_PEL_FORMAT_START_EVENTβ Format NVM started, hold onto your data bestieNVME_PEL_FORMAT_COMPLETION_EVENTβ Format NVM finished, it's giving fresh start β¨NVME_PEL_SANITIZE_START_EVENTβ Sanitize began, the deep clean eraNVME_PEL_SANITIZE_COMPLETION_EVENTβ Sanitize completed, squeaky clean, no capNVME_PEL_SET_FEATURE_EVENTβ Set Feature happened, a setting got changed, iconicNVME_PEL_TELEMETRY_CRTβ Telemetry Log Create, the drive is collecting receipts π§NVME_PEL_THERMAL_EXCURSION_EVENTβ Thermal Excursion, she got HOT, temperature was not okayNVME_PEL_SANITIZE_MEDIA_VERIF_EVENTβ Sanitize Media Verification, double-checking the clean actually workedNVME_PEL_VENDOR_SPECIFIC_EVENTβ vendor specific, the manufacturer's own little mystery iykyk π¦NVME_PEL_TCG_DEFINED_EVENTβ TCG Defined Event, the security girlies' contribution to the log πΈ
π lowkey important: that's the entire list. If you're looking for an event type that isn't here, it's not here, and no amount of manifesting is gonna add it.
and that's the whole page, bestie π«Ά this was enum nvme_persistent_event_types from the libnvme API manual (yes, manual section 2, the API one, we been knew), shipped with the July 2026 version. stan a persistent event log. πβπ
π¦ 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