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.

Drive spin up Question

Featured Replies

I have three drives connected outside the array.  Two are warm spares, and one is mounted with unassigned devices used as a backup drive.  I use User Scrips to set them to stay spun down with the following lines (changing the dev designation for each):

 

hdparm -S120 /dev/sdj
/usr/sbin/hdparm -y /dev/sdj

 

When I run the script they drives spin down, but something causes the warm spares to spin back up, while the mounted drive stays spun down.  In fact the mounted drive spins up once a day for Rclone to run the backup, and it times back down pert he script line.  I don't know how long it is till they spin up but hours later they always are.  

 

How can I figure out what is causing the unmounted drives to spin up?   

 

The configuration in my signature is current and Diagnostics attached.

 

Any help is appreciated.

todd-svr-diagnostics-20170915-2323.zip

  • Author

Still looking for a little help on this one if anyone has a thought.

7 hours ago, TODDLT said:

Still looking for a little help on this one if anyone has a thought.

 

Hi, I took skimmed the logs, no smoking gun but I can offer some suggestions.

 

1. This may not be related to your drive spin-down issue, but fix whatever cron job seems to be running every minute that's spamming your logs. 

 

2. I'd start the process of elimination by removing plug-ins. Which ones to start with? I'd pick Preclear and UD cause I know they have a periodic refresh of disks to identify them. Stop your rsync script from running in UserScripts. If that doesn't work, I'd keep going and not add any plug-in's back until you're finished ruling them all out.

 

Good luck!

 

UnRaid server components are now charged with pulling smart reports and possibly other data that the WebGUI used to pull for itself. What this means is these pulls now happen whether the WebGUI is running or not. There is a setting that will slow down the calls, to the point they won't run for a very very long time. I forget the name but it is pretty obvious. I'd try seeing that to a big number and see if it helps. I also generally find unassigned devices likes to spin up unassigned disks. Those two would be my first thoughts of culprits to rule out.

  • Author
5 hours ago, Lev said:

 

Hi, I took skimmed the logs, no smoking gun but I can offer some suggestions.

 

1. This may not be related to your drive spin-down issue, but fix whatever cron job seems to be running every minute that's spamming your logs. 

 

2. I'd start the process of elimination by removing plug-ins. Which ones to start with? I'd pick Preclear and UD cause I know they have a periodic refresh of disks to identify them. Stop your rsync script from running in UserScripts. If that doesn't work, I'd keep going and not add any plug-in's back until you're finished ruling them all out.

 

Good luck!

 

 

OK that didn't take too long.  Turns out to be Dynamix System Stats.  

 

I rarely used it, so not sure I'll miss it much, except I was getting some warning notifications by email that my cache disks hit 70% (related to plex transcoding and playback).  I'm not sure if the monitoring of disk space for notifications was part of System Stats.  If it was then I may want to figure out how to get it back.  

 

Thanks for the help with that.  

 

EDIT:  I found the warning notifications related to disk usage so no, it's not connected to System Stats so I'll probably just leave it off.

 

Edited by TODDLT

  • Author
2 hours ago, bjp999 said:

UnRaid server components are now charged with pulling smart reports and possibly other data that the WebGUI used to pull for itself. What this means is these pulls now happen whether the WebGUI is running or not. There is a setting that will slow down the calls, to the point they won't run for a very very long time. I forget the name but it is pretty obvious. I'd try seeing that to a big number and see if it helps. I also generally find unassigned devices likes to spin up unassigned disks. Those two would be my first thoughts of culprits to rule out.

 

It seems I recall the setting you refer to about queries for smart reports, but I can't find anything after digging around.  

 

It's only spinning up the two drives that aren't mounted and shared.  The one drive that is mounted by UD does not spin up, so it's possible it is something inside UD.   I'll probably post something in UD page and see if they have any thoughts. 

 

Is there a command line I could run in a script that would mount and share the backup drive (NTFS format outside the array) if I removed UD?  

 

Thanks.

Edited by TODDLT

Yes. The command is called mount. You'd have to look up the syntax and some examples.

Before removing UD, read the second post on the UD thread about spinning up drives.  It may help.

  • Author

dlandon helped me out in the UD forum.

 

Turns out it was the combination of UD and having notifications on. After formatting and mounting the warm spares, they now stay spun down too, so it seems.'

 

Thanks to all for the help.

 

 

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.