chmp2k Posted July 29, 2023 Share Posted July 29, 2023 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 1 Quote Link to comment
John K Posted December 2, 2023 Share Posted December 2, 2023 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. Quote Link to comment
Recommended Posts
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.