smartmontools for NVMe devices

Indraneel Mukherjee <[email protected]>
Newsgroups gmane.linux.utilities.smartmontools
Message-ID <[email protected]>
Hi,
NVMe Spec provides for a SMART/Health Log Page. We would like to use
smartctl for reading the Health Log Page as it is a standard OSS util for
monitoring disks. I have some very basic queries related to that.

- Does smartmontools have any support/plan for NVMe devices?

- When I run smartctl on my NVMe device, I get the following output:

#smartctl -d scsi --all /dev/nvme0n1

-- snip snip --- (after displaying some basic device info)
SMART support is:     Unavailable - device lacks SMART capability.
-- snip snip --- (after displaying device temperature)
Error Counter logging not supported
[GLTSD (Global Logging Target Save Disable) set. Enable Save with '-S on']
Device does not support Self Test logging


Does this mean that the device needs to implement something like Section
4.21 in
http://www.t13.org/documents/UploadedDocuments/docs2008/D1699r6a-ATA8-ACS.pd
f ?

- Is it possible to support reading NVMe devices SMART/Health Log Page if
there is no support for SMART in the device?
Will be happy to provide a patch if there is some way to implement this for
NVMe devices without SMART support.

TIA,
-Indro


------------------------------------------------------------------------------
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.