How do I set the build-in S.M.A.R.T. test to start at 00:30 AM? I can’t figure out how to set 30 minutes, using even hours works fine. Using 24.10.1 Scale
You don’t. SMART self-tests are scheduled using smartd
, which doesn’t support to-the-minute scheduling.
Well, that explains it…
It is very true, you cannot schedule a SMART test for anything other than on the hour (minutes=00) using the TrueNAS GUI,
If you really want to schedule SMART tests at any given time, you can run a new script I created called drive_selftest.sh
. It is new and I have version 1 published, and it has been tested by several people of the past few months. If this is what you desire, then head to my github account and grab the most current drive_selftest
file (as of this writing 10 Jan 2025) and the User Guide. Read the User guide before using it and if you have any questions, please ask. This would require you disabling SMART testing via TrueNAS GUI or you would have duplication.
This may not be what you desire, but if you state what it is you are looking to do, maybe this can be accommodated.
I also maintain Multi-Report if you are looking for something like that as well, but this topic right now is about getting you to test on the 30 minute mark vice whole hours.
The purpose of this new script is because I am hoping NVMe testing is going to happen in the next TrueNAS version, so I’m preparing for that. BTW, this script will test NVMe drives where TrueNAS currently does not.
Take care