Jump to content

Spin Down/Up Drives via Bash Script?

2 posts in this topic Last Reply

Recommended Posts


Hello all I am trying to find the command Unraid uses to spin down and up disks so that I can add this to a bash script. My use case is that I know after a certain time my server will not be accessed for usually 12~ hours so I would like to spin down the drives at that time as there is no need for them to be up. Does anybody know what the command is as I've scoured the forum but have not found anything up to date that works. 

Share this post

Link to post


mdcmd spindown x
mdcmd spinup x

But, simplest way is to simply set drive spindown timers in the drive's settings.  That way unRaid will spin down the drives when not accessed.

Share this post

Link to post

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.

Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.