Project

General

Profile

Bug #28400

Workaround to start smartd when there is NVMe present

Added by William Grzybowski over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
Nice to have
Assignee:
William Grzybowski
Category:
Middleware
Target version:
Seen in:
Severity:
Reason for Closing:
Reason for Blocked:
Needs QA:
Yes
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

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 over 1 year ago

  • Copied from Bug #15534: Possible smartd mis-configuration for NVMe devices added

#2 Updated by William Grzybowski over 1 year ago

  • Status changed from Not Started to In Progress

#3 Updated by William Grzybowski over 1 year ago

  • Seen in changed from 9.10-STABLE-201605240427 to 11.1-U1

#4 Updated by Donny Davis over 1 year ago

+Following

#5 Updated by William Grzybowski over 1 year ago

  • Status changed from In Progress to Done
  • Needs Merging changed from Yes to No

#6 Updated by Dru Lavigne over 1 year ago

  • Needs Doc changed from Yes to No

#7 Avatar?id=14398&size=24x24 Updated by Kris Moore 3 months ago

  • Copied from deleted (Bug #15534: Possible smartd mis-configuration for NVMe devices)

Also available in: Atom PDF