Skip to content
View in the app

A better way to browse. Learn more.

Unraid

A full-screen app on your home screen with push notifications, badges and more.

To install this app on iOS and iPadOS
  1. Tap the Share icon in Safari
  2. Scroll the menu and tap Add to Home Screen.
  3. Tap Add in the top-right corner.
To install this app on Android
  1. Tap the 3-dot menu (⋮) in the top-right corner of the browser.
  2. Tap Add to Home screen or Install app.
  3. Confirm by tapping Install.

HDD spindown schedule

Featured Replies

Hi!

 

I have a feature I've been thinking about for a while.

First the problem.

I want to use the spindown on my HDDs, I work usually 8 hours a day, and I sleep 6-7 hours,  :) so that takes off a lot of time that I don't necessarily need the drives to be ready on the go. However when I do come home, and start to use the system I want it to be ready, without delay, as it is now, it's not. It always takes some time for me to access my files, also because I chose to fill up my least used drive, which makes my files spread out(I want it that way). My option today would be to turn off spindown, but it seems like such a waste since im gone most of the day.

 

So what I thought would be nice would be the possibility to allow spindown during a set time frame during the day. For me I'd probably set it to allow for spindown from 01:00-15:00 just to make sure I cover all my changing schedule in life :) What that would mean is that from 01:00 the spindown timer which can already be set today in unraid would start counting.

 

This would allow me to have the spindown in use most of the time, but when I'm home and awake the system would always be ready to go!

 

Thoughts?

Would probably be easier to script a read from all your disks to occur a few minutes before you need access to the machine.

  • Author

Could be, but I wanted to suggest it as a GUI option to make it more user friendly... :) but thanks for the suggestion, would probably work for me.

  • Community Expert

If you do it via a script then the User Scripts plugin can handle the editing and scheduling of the script(s) via the GUI.

Edited by itimpi

  • Author

What I'm going for is a solution that don't require every user to make their own script for this.

 

I'm not sure how to make a script like that on top of the head, I also use a plugin for caching the directories already which would make simple commands such as "ls" not causing the drives to read.

 

Okay, so I solved it, might as well post it here if someone else wants to use it.

 

script is:

#!/bin/bash
echo 1 > /mnt/disk1/awakedrive
echo 1 > /mnt/disk2/awakedrive
echo 1 > /mnt/disk3/awakedrive
echo 1 > /mnt/disk4/awakedrive
echo 1 > /mnt/disk5/awakedrive
echo 1 > /mnt/disk6/awakedrive

 

cronschedule is:

0 15-23 * * 1-5

 

I think I will add another one for weekends later.

Edited by Nischi
I added my script

Archived

This topic is now archived and is closed to further replies.

Account

Navigation

Search

Search

Configure browser push notifications

Chrome (Android)
  1. Tap the lock icon next to the address bar.
  2. Tap Permissions → Notifications.
  3. Adjust your preference.
Chrome (Desktop)
  1. Click the padlock icon in the address bar.
  2. Select Site settings.
  3. Find Notifications and adjust your preference.