Version 5 (modified by Alex Samorukov, 8 years ago) ( diff )

Add NetBSD and OpenBSD to the table

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:

Smartmontools NVMe support

Smartmontools supports NVMe starting from version 6.5. Please note, that currently NVMe support is considered as experimental. Currently implemented features:

  • Basic information about controller name, firmware, capacity (smartctl -i)
  • SMART overall-health self-assessment test result and warnings (smartctl -H)
  • NVMe SMART attributes (smartctl -A)
  • NVMe error log (smartctl -l error[,NUM])
  • Ability to fetch any nvme log (smartctl -l nvmelog,N,SIZE)
  • The smartd daemon tracks health (-H), error count (-l error) and temperature (-W DIFF,INFO,CRIT)

Currently NVMe support is implemented on Linux, Windows and FreeBSD. Details about supported version/driver combinations are provided in the next section.

NVMe support in the different OS

OS and driverSupported by OSSupported by SmartmontoolsNative management toolsNotes
Linux, since kernel version 3.3nvme-cli, nvme-user
FreeBSD 9.2 or laternvmecontrol
NetBSD - - Plans to add NVMe support are in the NetBSD Storage Roadmap
OpenBSD - - See this thread
OSX 10.10.3 native NVMe support - Only Apple-branded NVMe devices are supported, monitoring API is implemented (NVMeSMARTClient) but not documented
OSX with MacVidCards NVMe driver - nvme-cli tool distributed with the driver IOCTL format is not documented
Solaris NVMe support - nvmeadm Interface is not documented
IllumOS NVMe support - not yet implemented no management interface/tool yet implemented
Windows with OpenFabric based driver ?? Devices are accessed via NVME_PASS_THROUGH I/O-control. This should work (at least) with NVMe drivers from Intel, OCZ and Samsung.
Windows with a Microsoft NVMe driver - ?? ??

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.

Note: See TracWiki for help on using the wiki.