July 29, 20232 yr 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
December 2, 20232 yr I am also trying to do this. Does anyone know of a way to disable the spin down via the command line so it can be included in a script? Thanks very much in advance.
November 30, 20241 yr On 7/30/2023 at 1:53 AM, chmp2k said: 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. This is because doing a Parity check effectively completes an extended SMART check of all your protected pool drives. So just use the scheduled Parity check option in unRAID.
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.