

Remember NVMe-CLI is powerful and can do almost anything that the NVMe specification calls out if used correctly. Here is the cheat sheet of the most commonly used commands. NVMe-CLI can be obtained as a package for all the Linux distributions.Ĭ3VkbyBhcHQtZ2V0IGluc3RhbGwgLXkgbnZtZS1jbGk=Ĭ3VkbyB5dW0gaW5zdGFsbCBudm1lLWNsaQ= The output will have abbreviations for the various fields, for instance, Model Number (MN) is displayed in NVMe-CLI as mn: You will see a lot of examples in this overview of the nvme-cli command and the table in the spec that details the options on a command. The man page should be referenced though for command structure within NVMe-CLI, which will hopefully be being continually updated and can be found here.įor instance, in section 5.15.3 Identify Controller data structure, you can send the command nvme-id-ctrl in NVMe-CLI.
#UBUNTU CHECK DISK HEALTH COMMAND LINE DOWNLOAD#
The man page or -help is not enough for understanding the capabilities of NVMe-CLI, but the good news is all the commands are written directly to match the spec! All you need to do is download a copy of the latest NVMe 1.4 specification to be able to interpret the abbreviations for the various commands.

You can learn about why SSDs fail and why NVMe technology monitoring, management, error reporting, and logging are so important in my recent blog post. It supports NVMe SSDs as well as NVMe™ over Fabrics (NVMe-oF™) architecture and offers optional vendor plugins for supplemental information above and beyond the specification. NVMe-CLI is an open source, powerful feature set that follows the NVMe specification and is supported by all major distributions.
#UBUNTU CHECK DISK HEALTH COMMAND LINE UPDATE#
The tool to manage NVMe SSDs in Linux is called NVMe Command Line Interface (NVMe-CLI).ĭata centers require many management functions to monitor the health of the SSD, monitor endurance, update firmware, securely erase storage and read various logs. NVM Express™ (NVMe™) technology has enabled a robust set of industry-standard software, drivers, and management tools that have been developed for storage. Strategic Planner / Product Manager, Intel By Jonmichael Hands, NVMe MWG Co-Chair, Sr.
