Bug #28400
Workaround to start smartd when there is NVMe present
Description
Now that smartmontools 6.5 has landed, "/usr/local/etc/smartd.conf" now contains:
/dev/nvd0 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py
However, I'm worried that the device ID used is wrong because of the following:
---
smartctl -a /dev/nvd0
/dev/nvd0: Unable to detect device type
Please specify device type with the d option.
--
---
smartctl -d nvme -a /dev/nvd0
Smartctl open device: /dev/nvd0 failed: NVMe controller controller/namespace ids must begin with '/dev/nvme'
---
---
smartctl -a /dev/nvme0
=== START OF INFORMATION SECTION ===
Model Number: INTEL SSDPEDMD400G4
Serial Number: CVFT5343004C400BGN
Firmware Version: 8DV10171
PCI Vendor/Subsystem ID: 0x8086
IEEE OUI Identifier: 0x5cd2e4
Controller ID: 0
Number of Namespaces: 1
Namespace 1 Size/Capacity: 400,088,457,216 [400 GB]
Namespace 1 Formatted LBA Size: 512
Local Time is: Tue May 24 11:11:13 2016 EDT
Firmware Updates (0x02): 1 Slot
Optional Admin Commands (0x0006): Format Frmw_DL
Optional NVM Commands (0x0006): Wr_Unc DS_Mngmt
Maximum Data Transfer Size: 32 Pages
---
History
#1
Updated by William Grzybowski almost 3 years ago
- Copied from Bug #15534: Possible smartd mis-configuration for NVMe devices added
#2
Updated by William Grzybowski almost 3 years ago
- Status changed from Not Started to In Progress
#3
Updated by William Grzybowski almost 3 years ago
- Seen in changed from 9.10-STABLE-201605240427 to 11.1-U1
#4
Updated by Donny Davis almost 3 years ago
+Following
#5
Updated by William Grzybowski almost 3 years ago
- Status changed from In Progress to Done
- Needs Merging changed from Yes to No
#6
Updated by Dru Lavigne almost 3 years ago
- Needs Doc changed from Yes to No
#7
Updated by Kris Moore almost 2 years ago
- Copied from deleted (Bug #15534: Possible smartd mis-configuration for NVMe devices)