Hello!
I am trying to set up automated extended SMART checks for my server on a schedule (every few months).
However I was not able to find out a solution that is already available - e.g. native unraid tool.
Thus, I want to set it up via user scripts and a snippet that I found:
for i in {b..o}; do
smartctl --test=long /dev/sd$i
done
This snippet works well with short SMART tests.
However I could not find a solution to disable the spin down of my hard drives programmatically - which would be necessary, since I don't want to disable it manually every time a SMART test is scheduled.
Do you have a nice solution for that, or maybe you know how to set the spin down settings via terminal?
Thanks in advance!
Greetings