Borja Marcos
Contributor
- Joined
- Nov 24, 2014
- Messages
- 125
Hi
I´ve installed FreeNAS on a SuperMicro with 10 Intel P3500 NVME disks to do some tests.
I´ve seen that this version includes an updated version of smartmontools with NVME support. Unfortunately smartd doesn´t work out of the box due to a configuration problem.
The smartd.conf file generated by the system is:
However, smartmontools don't access the pseudo-disks (/dev/nvd?) but the NVME controllers (/dev/nvme?).
Replacing the nvd entries by nvme works. And indeed smartctl requires a nvme device.
However, so far I don't know how to map nvd? devices to nvme?. I don't know if the number is conserved or, at some point, they can be shuffled.
I´ve installed FreeNAS on a SuperMicro with 10 Intel P3500 NVME disks to do some tests.
I´ve seen that this version includes an updated version of smartmontools with NVME support. Unfortunately smartd doesn´t work out of the box due to a configuration problem.
The smartd.conf file generated by the system is:
Code:
################################################ # smartd.conf generated by /etc/ix.rc.d/ix-smartd ################################################ /dev/nvd0 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd1 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd2 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd3 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd4 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd5 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd6 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd7 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd8 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py /dev/nvd9 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py
However, smartmontools don't access the pseudo-disks (/dev/nvd?) but the NVME controllers (/dev/nvme?).
Replacing the nvd entries by nvme works. And indeed smartctl requires a nvme device.
Code:
[root@freenas] ~# smartctl -H /dev/nvd0 smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-RELEASE-p3 amd64] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org /dev/nvd0: Unable to detect device type Please specify device type with the -d option. Use smartctl -h to get a usage summary [root@freenas] ~# smartctl -H /dev/nvme0 smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-RELEASE-p3 amd64] (local build) Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org === START OF SMART DATA SECTION === SMART overall-health self-assessment test result: PASSED
However, so far I don't know how to map nvd? devices to nvme?. I don't know if the number is conserved or, at some point, they can be shuffled.