I've just set up CentOS 7 on a server with NVMe drives, and was suprised not to be able to run smartctl on them:
# smartctl -a /dev/nvme0 /dev/nvme0: Unable to detect device type Please specify device type with the -d option. # smartctl -a /dev/nvme0 -d nvme /dev/nvme0: Unknown device type 'nvme' Then I noticed that CentOS ships with Smartmontools version 6.2, whereas Smartmontools supports NVMe starting from version 6.5.
How can I upgrade Smartmontools to version 6.5 on CentOS 7?
Their download page only offers Smartmontools 6.2 for CentOS 7.
Ideally, I don't want to compile from source, I would prefer a RPM, or better, a third-party repo that would include the latest Smartmontools, to get regular updates.
Alternative
I'm also open to suggestions if you know another tool, preferably included in CentOS 7, that could allow me to get SMART info from an NVMe drive.