libnvme(9)
π NAME π
okay so bestie, this is libnvme(9), the API manual, and the main character is enum nvme_status_field π
. It defines all parts of the nvme status field: status code, status code type, and additional flags. That's the whole vibe, and yes, it ate β¨.
β¨ SYNOPSIS β¨
here's the enum in all its glory, copied exactly because code is sacred π«Ά:
enum nvme_status_field {
NVME_SCT_GENERIC ,
NVME_SCT_CMD_SPECIFIC ,
NVME_SCT_MEDIA ,
NVME_SCT_PATH ,
NVME_SCT_VS ,
NVME_SCT_MASK ,
NVME_SCT_SHIFT ,
NVME_SC_MASK ,
NVME_SC_SHIFT ,
NVME_SC_SUCCESS ,
NVME_SC_INVALID_OPCODE ,
NVME_SC_INVALID_FIELD ,
NVME_SC_CMDID_CONFLICT ,
NVME_SC_DATA_XFER_ERROR ,
NVME_SC_POWER_LOSS ,
NVME_SC_INTERNAL ,
NVME_SC_ABORT_REQ ,
NVME_SC_ABORT_QUEUE ,
NVME_SC_FUSED_FAIL ,
NVME_SC_FUSED_MISSING ,
NVME_SC_INVALID_NS ,
NVME_SC_CMD_SEQ_ERROR ,
NVME_SC_SGL_INVALID_LAST ,
NVME_SC_SGL_INVALID_COUNT ,
NVME_SC_SGL_INVALID_DATA ,
NVME_SC_SGL_INVALID_METADATA ,
NVME_SC_SGL_INVALID_TYPE ,
NVME_SC_CMB_INVALID_USE ,
NVME_SC_PRP_INVALID_OFFSET ,
NVME_SC_AWU_EXCEEDED ,
NVME_SC_OP_DENIED ,
NVME_SC_SGL_INVALID_OFFSET ,
NVME_SC_HOSTID_FORMAT ,
NVME_SC_KAT_EXPIRED ,
NVME_SC_KAT_INVALID ,
NVME_SC_CMD_ABORTED_PREMEPT ,
NVME_SC_SANITIZE_FAILED ,
NVME_SC_SANITIZE_IN_PROGRESS ,
NVME_SC_SGL_INVALID_GRANULARITY ,
NVME_SC_CMD_IN_CMBQ_NOT_SUPP ,
NVME_SC_NS_WRITE_PROTECTED ,
NVME_SC_CMD_INTERRUPTED ,
NVME_SC_TRAN_TPORT_ERROR ,
NVME_SC_PROHIBITED_BY_CMD_AND_FEAT ,
NVME_SC_ADMIN_CMD_MEDIA_NOT_READY ,
NVME_SC_INVALID_KEY_TAG ,
NVME_SC_HOST_DISPERSED_NS_NOT_ENABLED ,
NVME_SC_HOST_ID_NOT_INITIALIZED ,
NVME_SC_INCORRECT_KEY ,
NVME_SC_FDP_DISABLED ,
NVME_SC_INVALID_PLACEMENT_HANDLE_LIST ,
NVME_SC_SANITIZE_NS_FAILED ,
NVME_SC_SANITIZE_NS_IN_PROGRESS ,
NVME_SC_FAILED_TO_RESTORE_CONFIG ,
NVME_SC_LBA_RANGE ,
NVME_SC_CAP_EXCEEDED ,
NVME_SC_NS_NOT_READY ,
NVME_SC_RESERVATION_CONFLICT ,
NVME_SC_FORMAT_IN_PROGRESS ,
NVME_SC_INVALID_VALUE_SIZE ,
NVME_SC_INVALID_KEY_SIZE ,
NVME_SC_KV_KEY_NOT_EXISTS ,
NVME_SC_UNRECOVERED_ERROR ,
NVME_SC_KEY_EXISTS ,
NVME_SC_CQ_INVALID ,
NVME_SC_QID_INVALID ,
NVME_SC_QUEUE_SIZE ,
NVME_SC_ABORT_LIMIT ,
NVME_SC_ABORT_MISSING ,
NVME_SC_ASYNC_LIMIT ,
NVME_SC_FIRMWARE_SLOT ,
NVME_SC_FIRMWARE_IMAGE ,
NVME_SC_INVALID_VECTOR ,
NVME_SC_INVALID_LOG_PAGE ,
NVME_SC_INVALID_FORMAT ,
NVME_SC_FW_NEEDS_CONV_RESET ,
NVME_SC_INVALID_QUEUE ,
NVME_SC_FEATURE_NOT_SAVEABLE ,
NVME_SC_FEATURE_NOT_CHANGEABLE ,
NVME_SC_FEATURE_NOT_PER_NS ,
NVME_SC_FW_NEEDS_SUBSYS_RESET ,
NVME_SC_FW_NEEDS_RESET ,
NVME_SC_FW_NEEDS_MAX_TIME ,
NVME_SC_FW_ACTIVATE_PROHIBITED ,
NVME_SC_OVERLAPPING_RANGE ,
NVME_SC_NS_INSUFFICIENT_CAP ,
NVME_SC_NS_ID_UNAVAILABLE ,
NVME_SC_NS_ALREADY_ATTACHED ,
NVME_SC_NS_IS_PRIVATE ,
NVME_SC_NS_NOT_ATTACHED ,
NVME_SC_THIN_PROV_NOT_SUPP ,
NVME_SC_CTRL_LIST_INVALID ,
NVME_SC_SELF_TEST_IN_PROGRESS ,
NVME_SC_BP_WRITE_PROHIBITED ,
NVME_SC_INVALID_CTRL_ID ,
NVME_SC_INVALID_SEC_CTRL_STATE ,
NVME_SC_INVALID_CTRL_RESOURCES ,
NVME_SC_INVALID_RESOURCE_ID ,
NVME_SC_PMR_SAN_PROHIBITED ,
NVME_SC_ANA_GROUP_ID_INVALID ,
NVME_SC_ANA_ATTACH_FAILED ,
NVME_SC_INSUFFICIENT_CAP ,
NVME_SC_NS_ATTACHMENT_LIMIT_EXCEEDED ,
NVME_SC_PROHIBIT_CMD_EXEC_NOT_SUPPORTED ,
NVME_SC_IOCS_NOT_SUPPORTED ,
NVME_SC_IOCS_NOT_ENABLED ,
NVME_SC_IOCS_COMBINATION_REJECTED ,
NVME_SC_INVALID_IOCS ,
NVME_SC_ID_UNAVAILABLE ,
NVME_SC_INVALID_DISCOVERY_INFO ,
NVME_SC_ZONING_DATA_STRUCT_LOCKED ,
NVME_SC_ZONING_DATA_STRUCT_NOTFND ,
NVME_SC_INSUFFICIENT_DISC_RES ,
NVME_SC_REQSTD_FUNCTION_DISABLED ,
NVME_SC_ZONEGRP_ORIGINATOR_INVLD ,
NVME_SC_INVALID_HOST ,
NVME_SC_INVALID_NVM_SUBSYSTEM ,
NVME_SC_INVALID_CONTROLER_DATA_QUEUE ,
NVME_SC_NOT_ENOUGH_RESOURCES ,
NVME_SC_CONTROLLER_SUSPENDED ,
NVME_SC_CONTROLLER_NOT_SUSPENDED ,
NVME_SC_CONTROLLER_DATA_QUEUE_FULL ,
NVME_SC_EXCEEDS_MAX_NS_SANITIZE ,
NVME_SC_MFG_DEFAULT_PERSONALITY_REQUIRED ,
NVME_SC_INVALID_POWER_LIMIT ,
NVME_SC_CROSS_CTRL_RESET_IN_PROGRESS ,
NVME_SC_CROSS_CTRL_RESET_LOG_FULL ,
NVME_SC_CROSS_CTRL_RESET_LIMIT_EXCEEDED ,
NVME_SC_CONTROLLER_ACTIVE ,
NVME_SC_INVALID_EXPORTED_ASSOCIATION ,
NVME_SC_INVALID_EXPORTED_CONFIG_STATE ,
NVME_SC_BAD_ATTRIBUTES ,
NVME_SC_INVALID_PI ,
NVME_SC_READ_ONLY ,
NVME_SC_CMD_SIZE_LIMIT_EXCEEDED ,
NVME_SC_INVALID_CMD_ID ,
NVME_SC_INCOMPATIBLE_NS ,
NVME_SC_FAST_COPY_NOT_POSSIBLE ,
NVME_SC_OVERLAPPING_IO_RANGE ,
NVME_SC_INSUFFICIENT_RESOURCES ,
NVME_SC_CONNECT_FORMAT ,
NVME_SC_CONNECT_CTRL_BUSY ,
NVME_SC_CONNECT_INVALID_PARAM ,
NVME_SC_CONNECT_RESTART_DISC ,
NVME_SC_CONNECT_INVALID_HOST ,
NVME_SC_DISCONNECT_INVALID_QTYPE ,
NVME_SC_DISCOVERY_RESTART ,
NVME_SC_AUTH_REQUIRED ,
NVME_SC_ZNS_INVALID_OP_REQUEST ,
NVME_SC_ZNS_ZRWA_RESOURCES_UNAVAILABLE ,
NVME_SC_ZNS_BOUNDARY_ERROR ,
NVME_SC_ZNS_FULL ,
NVME_SC_ZNS_READ_ONLY ,
NVME_SC_ZNS_OFFLINE ,
NVME_SC_ZNS_INVALID_WRITE ,
NVME_SC_ZNS_TOO_MANY_ACTIVE ,
NVME_SC_ZNS_TOO_MANY_OPENS ,
NVME_SC_ZNS_INVAL_TRANSITION ,
NVME_SC_WRITE_FAULT ,
NVME_SC_READ_ERROR ,
NVME_SC_GUARD_CHECK ,
NVME_SC_APPTAG_CHECK ,
NVME_SC_REFTAG_CHECK ,
NVME_SC_COMPARE_FAILED ,
NVME_SC_ACCESS_DENIED ,
NVME_SC_UNWRITTEN_BLOCK ,
NVME_SC_STORAGE_TAG_CHECK ,
NVME_SC_ANA_INTERNAL_PATH_ERROR ,
NVME_SC_ANA_PERSISTENT_LOSS ,
NVME_SC_ANA_INACCESSIBLE ,
NVME_SC_ANA_TRANSITION ,
NVME_SC_CTRL_PATH_ERROR ,
NVME_SC_HOST_PATH_ERROR ,
NVME_SC_CMD_ABORTED_BY_HOST ,
NVME_SC_CRD ,
NVME_SC_MORE ,
NVME_SC_DNR
};
π Constants π
okay, constant time. These are the constants and their descriptions, no skipping, every detail kept π«Ά.
NVME_SCT_GENERICβ generic errors applicable to multiple opcodes β¨NVME_SCT_CMD_SPECIFICβ errors associated to a specific opcode πNVME_SCT_MEDIAβ errors associated with media and data integrity πNVME_SCT_PATHβ errors associated with the paths connection πNVME_SCT_VSβ vendor specific errors πNVME_SCT_MASKβ mask to get the value of the Status Code Type πNVME_SCT_SHIFTβ shift value to get the value of the Status Code Type πNVME_SC_MASKβ mask to get the value of the status code πNVME_SC_SHIFTβ shift value to get the value of the status code πNVME_SC_SUCCESSβ successful completion: the command completed without error β¨NVME_SC_INVALID_OPCODEβ invalid command opcode: a reserved coded value or an unsupported value in the command opcode field πNVME_SC_INVALID_FIELDβ invalid field in command: a reserved coded value or an unsupported value in a defined field πNVME_SC_CMDID_CONFLICTβ command ID conflict: the command identifier is already in use πNVME_SC_DATA_XFER_ERRORβ data transfer error: transferring the data or metadata associated with a command experienced an error πNVME_SC_POWER_LOSSβ commands aborted due to power loss notification: it indicates that the command was aborted due to a power loss notification β‘NVME_SC_INTERNALβ internal error: the command was not completed successfully due to an internal error π«NVME_SC_ABORT_REQβ command abort requested: the command was aborted due to an Abort command being received that specified the Submission Queue Identifier and Command Identifier of this command πNVME_SC_ABORT_QUEUEβ command aborted due to SQ deletion: the command was aborted due to a Delete I/O Submission Queue request received for the Submission Queue to which the command was submitted ποΈNVME_SC_FUSED_FAILβ command aborted due to failed fused command: the command was aborted due to the other command in a fused operation failing π₯NVME_SC_FUSED_MISSINGβ aborted due to missing fused command: the fused command was aborted due to the adjacent submission queue entry not containing a fused command that is the other command π«₯NVME_SC_INVALID_NSβ invalid namespace or format: the namespace or the format of that namespace is invalid π«NVME_SC_CMD_SEQ_ERRORβ command sequence error: the command was aborted due to a protocol violation in a multi-command sequence π§¨NVME_SC_SGL_INVALID_LASTβ invalid SGL segment descriptor: the command includes an invalid SGL Last Segment or SGL Segment descriptor π§©NVME_SC_SGL_INVALID_COUNTβ invalid number of SGL descriptors: there is an SGL Last Segment descriptor or an SGL Segment descriptor in a location other than the last descriptor of a segment based on the length indicated π’NVME_SC_SGL_INVALID_DATAβ data SGL length invalid: this may occur if the length of a Data SGL is too short. This may occur if the length of a Data SGL is too long and the controller does not support SGL transfers longer than the amount of data to be transferred as indicated in the SGL Support field of the Identify Controller data structure πNVME_SC_SGL_INVALID_METADATAβ metadata SGL length invalid: this may occur if the length of a Metadata SGL is too short. This may occur if the length of a Metadata SGL is too long and the controller does not support SGL transfers longer than the amount of data to be transferred as indicated in the SGL Support field of the Identify Controller data structure πNVME_SC_SGL_INVALID_TYPEβ SGL descriptor type invalid: the type of an SGL Descriptor is a type that is not supported by the controller π·NVME_SC_CMB_INVALID_USEβ Invalid Use of Controller Memory Buffer π the controller is literally saying "bestie, I do not support that use of the Controller Memory Buffer," so the attempted use just isn't a thing it can do.NVME_SC_PRP_INVALID_OFFSETβ PRP Offset Invalid π the Offset field for a PRP entry is invalid, no cap.NVME_SC_AWU_EXCEEDEDβ Atomic Write Unit Exceeded β¨ the length you specified exceeds the atomic write unit size β too much, babe.NVME_SC_OP_DENIEDβ Operation Denied π«Ά the command got denied due to lack of access rights. check the appropriate security specification, iykyk.NVME_SC_SGL_INVALID_OFFSETβ SGL Offset Invalid π¦ the offset specified in a descriptor is invalid. this one can pop up when using capsules for data transfers in NVMe over Fabrics implementations and an invalid offset in the capsule is specified.NVME_SC_HOSTID_FORMATβ Host Identifier Inconsistent Format π the NVM subsystem detected the simultaneous use of 64-bit and 128-bit Host Identifier values on different controllers. messy.NVME_SC_KAT_EXPIREDβ Keep Alive Timer Expired β° the Keep Alive Timer expired, periodt.NVME_SC_KAT_INVALIDβ Keep Alive Timeout Invalid π the Keep Alive Timeout value you specified is invalid.NVME_SC_CMD_ABORTED_PREMEPTβ Command Aborted due to Preempt and Abort π₯ the command was aborted due to a Reservation Acquire command.NVME_SC_SANITIZE_FAILEDβ Sanitize Failed π the most recent sanitize operation failed and no recovery action has been successfully completed.NVME_SC_SANITIZE_IN_PROGRESSβ Sanitize In Progress π§ the requested function (e.g., command) is prohibited while a sanitize operation is in progress β just wait, bestie.NVME_SC_SGL_INVALID_GRANULARITYβ SGL Data Block Granularity Invalid π the Address alignment or Length granularity for an SGL Data Block descriptor is invalid.NVME_SC_CMD_IN_CMBQ_NOT_SUPPβ Command Not Supported for Queue in CMB π the implementation does not support submission of the command to a Submission Queue in the Controller Memory Buffer or command completion to a Completion Queue in the Controller Memory Buffer.NVME_SC_NS_WRITE_PROTECTEDβ Namespace is Write Protected π the command is prohibited while the namespace is write protected as a result of a change in the namespace write protection state as defined by the Namespace Write Protection State Machine.NVME_SC_CMD_INTERRUPTEDβ Command Interrupted π command processing was interrupted and the controller is unable to successfully complete the command. the host should retry the command β literally just try again.NVME_SC_TRAN_TPORT_ERRORβ <orange>Transient Transport Error</orange> π¦ a transient transport error was detected. if the command is retried on the same controller, the command is likely to succeed. a command that fails with a transient transport error four or more times should be treated as a persistent transport error that is not likely to succeed if retried on the same controller β so like, know when to stop.NVME_SC_PROHIBITED_BY_CMD_AND_FEATβ Command Prohibited by Command and Feature Lockdown π«Ά the command was aborted due to command execution being prohibited by the Command and Feature Lockdown.NVME_SC_ADMIN_CMD_MEDIA_NOT_READYβ Admin Command Media Not Ready β the Admin command requires access to media and the media is not ready. it's giving "not yet, love."NVME_SC_INVALID_KEY_TAGβ invalid KEYTAG π the command was aborted due to an invalid KEYTAG field value.NVME_SC_HOST_DISPERSED_NS_NOT_ENABLEDβ Host Dispersed Namespace Support not enabled π the command is prohibited while the Host Dispersed Namespace Support (HDISNS) field is not set to1hin the Host Behavior Support feature.NVME_SC_HOST_ID_NOT_INITIALIZEDβ Host Identifier Not Initialized π yeah, that's it β Host Identifier Not Initialized.NVME_SC_INCORRECT_KEYβ incorrect key π the command was aborted due to the key associated with the KEYTAG field being incorrect.NVME_SC_FDP_DISABLEDβ Flexible Data Placement disabled π§ command is not allowed when Flexible Data Placement is disabled.NVME_SC_INVALID_PLACEMENT_HANDLE_LISTβ invalid Placement Handle List π the Placement Handle List is invalid due to invalid Reclaim Unit Handle Identifier or valid Reclaim Unit Handle Identifier but restricted, or the Placement Handle List number of entries exceeded the maximum number allowed.NVME_SC_SANITIZE_NS_FAILEDβ Sanitize Namespace Failed π the most recent namespace sanitize operation failed and no recovery action has been successfully completed.NVME_SC_SANITIZE_NS_IN_PROGRESSβ Sanitize Namespace In Progress β³ the requested function (e.g., command) is prohibited while a namespace sanitize operation is in progress.NVME_SC_FAILED_TO_RESTORE_CONFIGβ Failed to Restore Configuration π« the command was aborted due to the command failing to restore configuration.NVME_SC_LBA_RANGEβ LBA Out of Range π the command references an LBA that exceeds the size of the namespace β out of bounds, bestie.NVME_SC_CAP_EXCEEDEDβ Capacity Exceeded π₯ execution of the command has caused the capacity of the namespace to be exceeded.NVME_SC_NS_NOT_READYβ Namespace Not Ready πΈ the namespace is not ready to be accessed as a result of a condition other than a condition that is reported as an Asymmetric Namespace Access condition.NVME_SC_RESERVATION_CONFLICTβ Reservation Conflict π the command was aborted due to a conflict with a reservation held on the accessed namespace.NVME_SC_FORMAT_IN_PROGRESSβ Format In Progress β° a Format NVM command is in progress on the namespace.NVME_SC_INVALID_VALUE_SIZEβ invalid value size π the value size is not valid.NVME_SC_INVALID_KEY_SIZEβ invalid KV key size π the KV key size is not valid.NVME_SC_KV_KEY_NOT_EXISTSβ KV key does not exist π¦ the Store If Key Exists (SIKE) bit is set to exists.NVME_SC_UNRECOVERED_ERRORβ unrecovered error π there was an unrecovered error when reading from the medium.NVME_SC_KEY_EXISTSβ KV key exists π the Store If No Key Exists (SINKE) bit is set to'1'in the Store Option field and the KV key exists.NVME_SC_CQ_INVALIDβ Completion Queue Invalid π the Completion Queue identifier specified in the command does not exist.NVME_SC_QID_INVALIDβ Invalid Queue Identifier π§ the creation of the I/O Completion Queue failed due to an invalid queue identifier specified as part of the command. an invalid queue identifier is one that is currently in use or one that is outside the range supported by the controller.NVME_SC_QUEUE_SIZEβ Invalid Queue Size π the host attempted to create an I/O Completion Queue with an invalid number of entries.NVME_SC_ABORT_LIMITβ Abort Command Limit Exceeded π₯ the number of concurrently outstanding Abort commands has exceeded the limit indicated in the Identify Controller data structure.NVME_SC_ABORT_MISSINGβ Abort Command is missing π the abort command is missing. where is she.NVME_SC_ASYNC_LIMITβ Asynchronous Event Request Limit Exceeded β the number of concurrently outstanding Asynchronous Event Request commands has been exceeded.NVME_SC_FIRMWARE_SLOTβ Invalid Firmware Slot π¦ the firmware slot indicated is invalid or read only. this error is indicated if the firmware slot exceeds the number supported.NVME_SC_FIRMWARE_IMAGEβ Invalid Firmware Image π the firmware image specified for activation is invalid and not loaded by the controller.NVME_SC_INVALID_VECTORβ Invalid Interrupt Vector π the creation of the I/O Completion Queue failed due to an invalid interrupt vector specified as part of the command.NVME_SC_INVALID_LOG_PAGEβ Invalid Log Page π the log page indicated is invalid. this error condition is also returned if a reserved log page is requested.NVME_SC_INVALID_FORMATβ Invalid Format π the LBA Format specified is not supported.NVME_SC_FW_NEEDS_CONV_RESETβ Firmware Activation Requires Conventional Reset π the firmware commit was successful, however, activation of the firmware image requires a conventional reset.NVME_SC_INVALID_QUEUEβ Invalid Queue Deletion π invalid I/O Completion Queue specified to delete.NVME_SC_FEATURE_NOT_SAVEABLEβ Feature Identifier Not Saveable π«Ά the Feature Identifier specified does not support a saveable value.NVME_SC_FEATURE_NOT_CHANGEABLEβ Feature Not Changeable π the Feature Identifier is not able to be changed.NVME_SC_FEATURE_NOT_PER_NSβ Feature Not Namespace Specific πΈ the Feature Identifier specified is not namespace specific. the Feature Identifier settings apply across all namespaces.NVME_SC_FW_NEEDS_SUBSYS_RESETβ Firmware Activation Requires NVM Subsystem Reset π the firmware commit was successful, however, activation of the firmware image requires an NVM Subsystem.NVME_SC_FW_NEEDS_RESETβ Firmware Activation Requires Controller Level Reset π the firmware commit was successful; however, the image specified does not support being activated without a reset.NVME_SC_FW_NEEDS_MAX_TIMEβ Firmware Activation Requires Maximum Time Violation β° the image specified if activated immediately would exceed the Maximum Time for Firmware Activation (MTFA) value reported in Identify Controller.NVME_SC_FW_ACTIVATE_PROHIBITEDβ Firmware Activation Prohibited π« the image specified is being prohibited from activation by the controller for vendor specific reasons.NVME_SC_OVERLAPPING_RANGEβ Overlapping Range π¦ the downloaded firmware image has overlapping ranges β messy, but make it firmware.
okay bestie we are still in the error-code zone and this list is LONG, but every single one matters so buckle up π
NVME_SC_NS_INSUFFICIENT_CAPβ Namespace Insufficient Capacity: creating the namespace needs more free space than is currently available. sorry babe, no room πNVME_SC_NS_ID_UNAVAILABLEβ Namespace Identifier Unavailable: you've exceeded the number of namespaces supported. the limit said no πNVME_SC_NS_ALREADY_ATTACHEDβ Namespace Already Attached: the controller is already attached to the namespace you specified. it's giving committed πNVME_SC_NS_IS_PRIVATEβ Namespace Is Private: the namespace is private and already attached to one controller. exclusive, no plus-ones πNVME_SC_NS_NOT_ATTACHEDβ Namespace Not Attached: your detach request could not be completed because the controller is not attached to the namespace. can't break up a relationship that doesn't exist πNVME_SC_THIN_PROV_NOT_SUPPβ Thin Provisioning Not Supported: the controller simply does not support thin provisioning. periodt β¨NVME_SC_CTRL_LIST_INVALIDβ Controller List Invalid: the controller list provided contains invalid controller ids.NVME_SC_SELF_TEST_IN_PROGRESSβ Device Self-test In Progress: the controller or NVM subsystem already has a device self-test operation in process. one self-test at a time, queen πNVME_SC_BP_WRITE_PROHIBITEDβ Boot Partition Write Prohibited: the command is trying to modify a locked Boot Partition. not today πNVME_SC_INVALID_CTRL_IDβ Invalid Controller Identifier: that's the whole note, no extra lore, iykyk.NVME_SC_INVALID_SEC_CTRL_STATEβ Invalid Secondary Controller State: same deal, label only.NVME_SC_INVALID_CTRL_RESOURCESβ Invalid Number of Controller Resources: again, just the label, nothing more in the source.NVME_SC_INVALID_RESOURCE_IDβ Invalid Resource Identifier: yep, label only πNVME_SC_PMR_SAN_PROHIBITEDβ Sanitize Prohibited While Persistent Memory Region is Enabled: literally what it says, bestie.NVME_SC_ANA_GROUP_ID_INVALIDβ ANA Group Identifier Invalid: the ANA Group Identifier (ANAGRPID) you specified is not supported in the submitted command.NVME_SC_ANA_ATTACH_FAILEDβ ANA Attach Failed: the controller is not attached to the namespace as a result of an ANA condition.NVME_SC_INSUFFICIENT_CAPβ Insufficient Capacity: the requested operation requires more free space than is currently available.NVME_SC_NS_ATTACHMENT_LIMIT_EXCEEDEDβ Namespace Attachment Limit Exceeded: attaching the ns to a controller causes the max number of ns attachments allowed to be exceeded. greedy behaviour πNVME_SC_PROHIBIT_CMD_EXEC_NOT_SUPPORTEDβ Prohibition of Command Execution Not Supported.NVME_SC_IOCS_NOT_SUPPORTEDβ I/O Command Set Not Supported.NVME_SC_IOCS_NOT_ENABLEDβ I/O Command Set Not Enabled.NVME_SC_IOCS_COMBINATION_REJECTEDβ I/O Command Set Combination Rejected.NVME_SC_INVALID_IOCSβ Invalid I/O Command Set.NVME_SC_ID_UNAVAILABLEβ Identifier Unavailable.NVME_SC_INVALID_DISCOVERY_INFOβ the discovery information provided in one or more extended discovery information entries is not applicable for the type of entity selected in the Entity Type (ETYPE) field of the Discovery Information Management command data portion's header. mismatch vibes πNVME_SC_ZONING_DATA_STRUCT_LOCKEDβ the requested Zoning data structure is locked on the CDC.NVME_SC_ZONING_DATA_STRUCT_NOTFNDβ the requested Zoning data structure does not exist on the CDC. (yes,NOTFNDis spelled like that, it's canon, don't come for me)NVME_SC_INSUFFICIENT_DISC_RESβ the number of discover information entries provided in the data portion of the Discovery Information Management command for a registration task (i.e., TAS field cleared to0h) exceeds the available capacity for new discovery information entries on the CDC or DDC. this may be a transient condition πNVME_SC_REQSTD_FUNCTION_DISABLEDβ Fabric Zoning is not enabled on the CDC.NVME_SC_ZONEGRP_ORIGINATOR_INVLDβ the NQN contained in the ZoneGroup Originator field does not match the Host NQN used by the DDC to connect to the CDC.NVME_SC_INVALID_HOSTβ Invalid Host: the Manage Exported NVM Subsystem Send Grant/Revoke Host Access operation specified a host entry that could not be processed.NVME_SC_INVALID_NVM_SUBSYSTEMβ Invalid NVM Subsystem: the Manage Exported NVM Subsystem Send Grant/Revoke Host Access operation specified an Exported NVM Subsystem entry that could not be processed.NVME_SC_INVALID_CONTROLER_DATA_QUEUEβ (yup,CONTROLER, keeping the spelling exactly as-is π«Ά) this error indicates that the specified Controller Data Queue Identifier is invalid for the controller processing the command.NVME_SC_NOT_ENOUGH_RESOURCESβ this error indicates that there are not enough resources in the controller to process the command. broke behaviour πNVME_SC_CONTROLLER_SUSPENDEDβ the operation requested is not allowed if the specified controller is suspended.NVME_SC_CONTROLLER_NOT_SUSPENDEDβ the operation requested is not allowed if the specified controller is not suspended. opposite gatekeeping, love that for us β¨NVME_SC_CONTROLLER_DATA_QUEUE_FULLβ the controller detected that a Controller Data Queue became full.NVME_SC_EXCEEDS_MAX_NS_SANITIZEβ Request Exceeds Maximum Namespace Sanitize Operations In Progress (Sanitize Namespace command specific status). π¨ numerically identical toNVME_SC_FW_NEEDS_MAX_TIME(Firmware Commit) β command specific status is scoped per opcode, so this collision is expected; use only when decoding the completion of a Sanitize Namespace command.NVME_SC_MFG_DEFAULT_PERSONALITY_REQUIREDβ Manufacturing Default Personality Required: the Firmware Commit command was aborted due to the firmware image being incompatible with the current personality settings; the settings of each affected personality are required to be compatible with the current personality settings for the firmware image to be committed. it's giving "we need to talk about your personality settings" πNVME_SC_INVALID_POWER_LIMITβ Invalid Power Limit: the power limit specified for the Power Limit feature is invalid because that power limit prohibits all operational power states.NVME_SC_CROSS_CTRL_RESET_IN_PROGRESSβ Cross-Controller Reset in Progress: there is already an in-progress Cross-Controller Reset operation that this controller caused to be initiated for the Impacted Controller.NVME_SC_CROSS_CTRL_RESET_LOG_FULLβ Cross-Controller Reset Log Page Full: the Cross-Controller Reset log page already contains the maximum number of entries. no more entries, the log said what it said πNVME_SC_CROSS_CTRL_RESET_LIMIT_EXCEEDEDβ Cross-Controller Reset Limit Exceeded: the number of simultaneous in-progress Cross-Controller Reset operations this controller caused to be initiated is greater than or equal to the Cross-Controller Reset Limit field in the Identify Controller data structure.NVME_SC_CONTROLLER_ACTIVEβ Controller Active: for a Manage Exported NVM Subsystem Send Delete operation, an Underlying Controller in the specified Exported NVM Subsystem is able to process commands. For an Associate Controllers operation, an Underlying Controller being associated with an Exported NVM Subsystem was in a state that could process commands.NVME_SC_INVALID_EXPORTED_ASSOCIATIONβ Invalid Exported Association: an Underlying Controller being associated with an Exported NVM Subsystem has Underlying Namespaces attached that are not associated with that Exported NVM Subsystem, or the association otherwise conflicts with an existing one.NVME_SC_INVALID_EXPORTED_CONFIG_STATEβ Invalid Exported Configuration State: invalid data was found in the Exported Configuration State provided with the Set Exported Configuration State management operation.NVME_SC_BAD_ATTRIBUTESβ Conflicting Dataset Management Attributes.NVME_SC_INVALID_PIβ Invalid Protection Information.NVME_SC_READ_ONLYβ Attempted Write to Read Only Range. read only means read only bestie πΈNVME_SC_CMD_SIZE_LIMIT_EXCEEDEDβ Command Size Limit Exceeded.NVME_SC_INVALID_CMD_IDβ Invalid Command ID: for the Cancel command, the specified Command Identifier (CID) matched the CID of the Cancel command itself. iconic self-own π«NVME_SC_INCOMPATIBLE_NSβ Incompatible Namespace or Format: at least one source namespace and the destination namespace have incompatible formats.NVME_SC_FAST_COPY_NOT_POSSIBLEβ Fast Copy Not Possible: the Fast Copy Only (FCO) bit was set toβ1βin a Source Range entry and the controller was not able to use fast copy operations to copy the specified data.NVME_SC_OVERLAPPING_IO_RANGEβ Overlapping I/O Range: a source logical block range overlaps the destination logical block range.NVME_SC_INSUFFICIENT_RESOURCESβ Insufficient Resources: a resource shortage prevented the controller from performing the requested copy.NVME_SC_CONNECT_FORMATβ Incompatible Format: the NVM subsystem does not support the record format specified by the host.NVME_SC_CONNECT_CTRL_BUSYβ Controller Busy: the controller is already associated with a host. taken πNVME_SC_CONNECT_INVALID_PARAMβ Connect Invalid Parameters: one or more of the command parameters. (the source note literally trails off right there β not me, i'm just the messenger π)NVME_SC_CONNECT_RESTART_DISCβ Connect Restart Discovery: the NVM subsystem requested is not available.NVME_SC_CONNECT_INVALID_HOSTβ Connect Invalid Host: the host is either not allowed to establish an association to any controller in the NVM subsystem, or the host is not allowed to establish an association to the specified controller.NVME_SC_DISCONNECT_INVALID_QTYPEβ Invalid Queue Type: the command was sent on the wrong queue type. wrong chat, bestie π«ΆNVME_SC_DISCOVERY_RESTARTβ Discover Restart: bestie, the snapshot of the records is now invalid or out of date. it's giving expired story πNVME_SC_AUTH_REQUIREDβ Authentication Required: NVMe in-band authentication is required and the queue has not yet been authenticated. no ID, no entry, periodt πͺͺNVME_SC_ZNS_INVALID_OP_REQUESTβ Invalid Zone Operation Request: the operation requested is invalid. this can happen for a bunch of reasons, like: trying to allocate a ZRWA when a zone is not in theZSE:Emptystate; or an invalid Flush Explicit ZRWA Range Send Zone Action operation. literally wrong place, wrong time πNVME_SC_ZNS_ZRWA_RESOURCES_UNAVAILABLEβ ZRWA Resources Unavailable: there are simply no ZRWAs available. empty shelves, sold out, come back later π«ΆNVME_SC_ZNS_BOUNDARY_ERRORβ Zone Boundary Error: the command specifies logical blocks in more than one zone. pick a zone and commit, bestie πNVME_SC_ZNS_FULLβ Zone Is Full: the accessed zone is sitting in theZSF:Fullstate. no room, no cap π΅NVME_SC_ZNS_READ_ONLYβ Zone Is Read Only: the accessed zone is in theZSRO:Read Onlystate. look, don't touch β¨NVME_SC_ZNS_OFFLINEβ Zone Is Offline: the accessed zone is in theZSO:Offlinestate. she's not taking visitors rn πNVME_SC_ZNS_INVALID_WRITEβ Zone Invalid Write: the write to a zone was not at the write pointer. missed the spot entirely πNVME_SC_ZNS_TOO_MANY_ACTIVEβ Too Many Active Zones: the controller does not allow additional active zones. the group chat is full πNVME_SC_ZNS_TOO_MANY_OPENSβ Too Many Open Zones: the controller does not allow additional open zones. too many tabs open, close some πNVME_SC_ZNS_INVAL_TRANSITIONβ Invalid Zone State Transition: the request is not a valid zone state transition. that glow-up pipeline does not exist, sorry π¦NVME_SC_WRITE_FAULTβ Write Fault: the write data could not be committed to the media. she tried and she failed πNVME_SC_READ_ERRORβ Unrecovered Read Error: the read data could not be recovered from the media. gone, and not in a cute way πNVME_SC_GUARD_CHECKβ End-to-end Guard Check Error: the command was aborted due to an end-to-end guard check failure. the vibes did not check out π©NVME_SC_APPTAG_CHECKβ End-to-end Application Tag Check Error: the command was aborted due to an end-to-end application tag check failure. wrong tag, wrong girl π·οΈNVME_SC_REFTAG_CHECKβ End-to-end Reference Tag Check Error: the command was aborted due to an end-to-end reference tag check failure. the reference didn't match, blocked π«NVME_SC_COMPARE_FAILEDβ Compare Failure: the command failed due to a miscompare during a Compare command. they were NOT the same picture, bestie πNVME_SC_ACCESS_DENIEDβ Access Denied: access to the namespace and/or LBA range is denied due to lack of access rights. you're not on the list, respectfully πͺNVME_SC_UNWRITTEN_BLOCKβ Deallocated or Unwritten Logical Block: the command failed because something tried to read from or verify an LBA range that contains a deallocated or unwritten logical block. reading a blank page fr fr πNVME_SC_STORAGE_TAG_CHECKβ End-to-End Storage Tag Check Error: the command was aborted due to an end-to-end storage tag check failure. tag said no πNVME_SC_ANA_INTERNAL_PATH_ERRORβ Internal Path Error: the command was not completed as the result of a controller internal error that's specific to the controller processing the command. it's a her problem, not a you problem π«NVME_SC_ANA_PERSISTENT_LOSSβ Asymmetric Access Persistent Loss: the requested function (e.g., command) can't be performed because of the relationship between the controller and the namespace being in the ANA Persistent Loss state. it's not working out between them πNVME_SC_ANA_INACCESSIBLEβ Asymmetric Access Inaccessible: the requested function (e.g., command) can't be performed because of the relationship between the controller and the namespace being in the ANA Inaccessible state. left on read π΅NVME_SC_ANA_TRANSITIONβ Asymmetric Access Transition: the requested function (e.g., command) can't be performed because of the relationship between the controller and the namespace transitioning between Asymmetric Namespace Access states. she's going through a phase, give her a sec πNVME_SC_CTRL_PATH_ERRORβ Controller Pathing Error: a pathing error was detected by the controller. the controller noticed the wrong turn πNVME_SC_HOST_PATH_ERRORβ Host Pathing Error: a pathing error was detected by the host. this time the host caught it πNVME_SC_CMD_ABORTED_BY_HOSTβ Command Aborted By Host: the command was aborted as a result of host action. host said "nvm" and meant it βNVME_SC_CRDβ a mask to get the value of the Command Retry Delay index. it's giving "which one is it" energy, use it to extract that value πNVME_SC_MOREβ More bit. if it's set, there's more status information for this command as part of the Error Information log, and you can retrieve it with the Get Log Page command. there's always more tea βNVME_SC_DNRβ Do Not Retry bit. if it's set, and if the same command gets re-submitted to any controller in the NVM subsystem, then that re-submitted command is expected to fail. so likeβ¦ don't bother, bestie, it's not gonna happen π
okay that's genuinely the whole thing, you made it to the end, so proud of you π₯Ήπ this was enum nvme_status_field from libnvme(9), dated October 2026. go forth and read your status codes with confidence, you absolute icon πβ¨π
π¦ where this page comes from
- arch rolling: nvme-cli 3.2-1 Β· GPL-2.0-or-later
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms