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 occasion
  • NVME_PEL_TIMESTAMP_EVENT β€” the timestamp changed, clock said new me
  • NVME_PEL_POWER_ON_RESET_EVENT β€” power-on or reset happened, she woke up and chose chaos
  • NVME_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 logged
  • NVME_PEL_FORMAT_START_EVENT β€” Format NVM started, hold onto your data bestie
  • NVME_PEL_FORMAT_COMPLETION_EVENT β€” Format NVM finished, it's giving fresh start ✨
  • NVME_PEL_SANITIZE_START_EVENT β€” Sanitize began, the deep clean era
  • NVME_PEL_SANITIZE_COMPLETION_EVENT β€” Sanitize completed, squeaky clean, no cap
  • NVME_PEL_SET_FEATURE_EVENT β€” Set Feature happened, a setting got changed, iconic
  • NVME_PEL_TELEMETRY_CRT β€” Telemetry Log Create, the drive is collecting receipts 🧚
  • NVME_PEL_THERMAL_EXCURSION_EVENT β€” Thermal Excursion, she got HOT, temperature was not okay
  • NVME_PEL_SANITIZE_MEDIA_VERIF_EVENT β€” Sanitize Media Verification, double-checking the clean actually worked
  • NVME_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