SOLVED Can't schedule SMART tests on boot devices

Status
Not open for further replies.

nifoc

Dabbler
Joined
May 13, 2015
Messages
32
Today, I switched my boot devices from two mirrored USB sticks to two mirrored SSDs.
Here is what I did:
  1. Create configuration backup
  2. Shutdown machine, add SSDs and remove (old) boot sticks
  3. Install FreeNAS to the two SSDs (mirror)
  4. Upload and restore the configuration backup
All of that worked just fine. However, the GUI won't allow me to schedule SMART tests on the two SSDs, even though SMART is definitly supported.

The two devices (da0 and da1) do not show up in the "Disks" selection when I try to add or edit a SMART test.

Since my old boot USB sticks obviously did not support SMART, I never bothered to even try to schedule SMART tests on them. So I'm not sure if it's normal for the boot devices to not show up in the GUI selection or if I've run into a legitimate bug here.

da0

Code:
Device Model:	 WDC WDS120G1G0A-00SS50
Firmware Version: Z3311000
User Capacity:	80,000,000,000 bytes [80.0 GB]
Sector Size:	  512 bytes logical/physical
Rotation Rate:	Solid State Device
Form Factor:	  2.5 inches
Device is:		Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:	Fri Jul 14 23:54:16 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled


da1

Code:
Device Model:	 WDC WDS120G1G0A-00SS50
Firmware Version: Z3311000
User Capacity:	80,000,000,000 bytes [80.0 GB]
Sector Size:	  512 bytes logical/physical
Rotation Rate:	Solid State Device
Form Factor:	  2.5 inches
Device is:		Not in smartctl database [for details use: -P showall]
ATA Version is:   ACS-2 T13/2015-D revision 3
SATA Version is:  SATA 3.2, 6.0 Gb/s (current: 6.0 Gb/s)
Local Time is:	Fri Jul 14 23:54:47 2017 CEST
SMART support is: Available - device has SMART capability.
SMART support is: Enabled
 

BigDave

FreeNAS Enthusiast
Joined
Oct 6, 2013
Messages
2,479

Hazimil

Contributor
Joined
May 26, 2014
Messages
172
Hi, while you waiting for the above "bug/feature", you can do this manually, which is what I currently do.

If you create a shell script with the following:

Code:
#!/bin/sh
smartctl -t short /dev/ada8

or

Code:
#!/bin/sh
smartctl -t long /dev/ada8


Change "ada8" to whatever your boot device is. "short" is the short SMART test, and "long" is the extended SMART test.

You can then just schedule a cron job to run the above script, whenever you want it to run.

Yours
Jonathan
 
Status
Not open for further replies.
Top