Deyan Donovski
Cadet
- Joined
- Jul 25, 2017
- Messages
- 1
build: FreeNAS-9.10.2-U1 (86c7ef5)
The server was installed with RAID turned on. Can't go back now.
smartd is turned on and enabled on the disk device FreeNAS can see (RAID volume /dev/mfid1) the GUI.
smartd.conf is automatically generated:
smartd doesn't start because there is no SMART capability through this device file:
SMART is available on the pass-through devices:
The pass-through devices are not visible in the GUI so I don't see a way to configure SMART for these devices there (the preferred way) and
have the config stored in the configuration database.
Editing smartd.conf directly makes no sense since it will be overwritten on the next restart.
The only reasonable work-around I see is to add a post-init script that will overwrite smartd.conf and start smartd.
Any other ideas/advices?
The server was installed with RAID turned on. Can't go back now.
smartd is turned on and enabled on the disk device FreeNAS can see (RAID volume /dev/mfid1) the GUI.
smartd.conf is automatically generated:
~# cat /usr/local/etc/smartd.conf
################################################
# smartd.conf generated by /etc/ix.rc.d/ix-smartd
################################################
/dev/mfid1 -a -n never -W 0,0,0 -m root -M exec /usr/local/www/freenasUI/tools/smart_alert.py
smartd doesn't start because there is no SMART capability through this device file:
~# smartctl -i /dev/mfid1
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
/dev/mfid1: To monitor disks on LSI RAID load mfip.ko module and run 'smartctl -a /dev/passX' to show SMART information
Please specify device type with the -d option.
Use smartctl -h to get a usage summary
SMART is available on the pass-through devices:
~# smartctl -i -d sat /dev/pass1
smartctl 6.5 2016-05-07 r4318 [FreeBSD 10.3-STABLE amd64] (local build)
Copyright (C) 2002-16, Bruce Allen, Christian Franke, www.smartmontools.org
=== START OF INFORMATION SECTION ===
Model Family: Hitachi/HGST Ultrastar 7K4000
Device Model: HGST HUS724040ALE640
Serial Number: XXXXXXXXXXXXXXXXX
LU WWN Device Id: 5 000cca 23dc6c890
Firmware Version: MJAOA580
User Capacity: 4,000,787,030,016 bytes [4.00 TB]
Sector Sizes: 512 bytes logical, 4096 bytes physical
Rotation Rate: 7200 rpm
Form Factor: 3.5 inches
Device is: In smartctl database [for details use: -P show]
ATA Version is: ATA8-ACS T13/1699-D revision 4
SATA Version is: SATA 3.0, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is: Thu Jul 27 15:28:41 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
The pass-through devices are not visible in the GUI so I don't see a way to configure SMART for these devices there (the preferred way) and
have the config stored in the configuration database.
Editing smartd.conf directly makes no sense since it will be overwritten on the next restart.
The only reasonable work-around I see is to add a post-init script that will overwrite smartd.conf and start smartd.
Any other ideas/advices?