Version 1 (modified by Alex Samorukov, 4 years ago) (diff)

initial version

Smartmontools NVMe support

About NVMe

VM Express, NVMe, or Non-Volatile Memory Host Controller Interface Specification (NVMHCI), is a logical device interface specification for accessing non-volatile storage media attached via PCI Express (PCIe) bus. Some links related to the standard and vendor-specific implementations provided below:

Development notes

Development and debugging could be performed using QEMU fork which can emulates NVMe device with most of the features supported, including SMART log pages, namespaces, etc. Tested with Linux and FreeBSD, full list of the options could be found in the source code.

Linux OS NVMe support

Smartmontools supports NVMe in Linux OS using using standard ioctl API. Other utilities to manage NVMe devices in Linux:

  • nvme-cli - NVM-Express user space tool for Linux
  • nvme-user - another open source user space NVMe management utility

FreeBSD NVMe support

Smartmontools supports NVMe in the FreeBSD using ioctl API. NVMe devices in the FreeBSD can be managed using nvmecontrol utility.

Windows NVMe support

OS X NVMe support

Smartmontools currently not is not supporting monitoring of the NVMe devices on OSX/Darwin.

  • Kind of official support added from 10.10.3, closes source, not documented, only apple-branded NVMe devices are supported. Implements NVMeSMARTClient library, however API is not documented.
  • MacVidCards NVMe driver - third party closed-source driver, coming with closed-source nvme-cli management utility, which is based on open-source one.

Solaris NVMe support

Smartmontools currently not is not supporting monitoring of the NVMe devices on Solaris.