[smartmontools-support] smartd attribute logs for NVMe devices?

Konstantin Shalygin k0ste at k0ste.ru
Wed Feb 10 12:22:54 CET 2021


Hi, my smartd 7.2 started with options:

/usr/sbin/smartd -n --attributelog /var/log/smartd/ --interval 3600

smartd.conf have only one string:

DEVICESCAN -a


My startup logs:

Feb 10 14:47:48 ceph-mon0 systemd[1]: Starting Self Monitoring and Reporting Technology (SMART) Daemon...
Feb 10 14:47:48 ceph-mon0 smartd[369413]: smartd 7.2 2021-01-17 r5170 [x86_64-linux-3.10.0-1127.18.2.el7.x86_64] (local build)
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Copyright (C) 2002-20, Bruce Allen, Christian Franke, www.smartmontools.org
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Opened configuration file /etc/smartmontools/smartd.conf
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Configuration file /etc/smartmontools/smartd.conf was parsed, found DEVICESCAN, scanning devices
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/sda, type changed from 'scsi' to 'sat'
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/sda [SAT], opened
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/sda [SAT], ADATA SP600, S/N:2G4620092818, WWN:5-707c18-1003d3139, FW:5.8, 32.0 GB
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/sda [SAT], found in smartd database: JMicron/Maxiotek based SSDs
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/sda [SAT], can't monitor Offline_Uncorrectable count - no Attribute 198
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/sda [SAT], is SMART capable. Adding to "monitor" list.
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/bus/0 [megaraid_disk_00], type changed from 'megaraid,0' to 'sat+megaraid,0'
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/bus/0 [megaraid_disk_00] [SAT], opened
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/bus/0 [megaraid_disk_00] [SAT], ADATA SP600, S/N:2G4620092818, WWN:5-707c18-1003d3139, FW:5.8, 32.0 GB
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/bus/0, same identity as /dev/sda, ignored
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/nvme0, opened
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/nvme0, INTEL SSDPEDMD400G4, S/N:CVFT73560017400BGN, FW:8DV101H0
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Device: /dev/nvme0, is SMART capable. Adding to "monitor" list.
Feb 10 14:47:48 ceph-mon0 smartd[369413]: Monitoring 1 ATA/SATA, 0 SCSI/SAS and 1 NVMe devices
Feb 10 14:47:48 ceph-mon0 systemd[1]: Started Self Monitoring and Reporting Technology (SMART) Daemon.


Every hour /var/log/smartd/ADATA_SP600-2G4620092818.ata.csv is updated. Perfect!
How-to achieve something for NVMe devices, especially for media errors monitoring?


Thanks,
k


More information about the Smartmontools-support mailing list