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.

Spin up/down drives

Featured Replies

Hi,

 

There are any log or something that i can use to know what are spin up my drives?

I have installed dockers

Plex(Scans 1 time per day)

CrashPlan(Scans 1 time per day)

rutorrent(To cache drive..)

btsync(Cache drive)

 

Thanks!

  • Community Expert

I do not believe that this information is available.

 

The drives will be spun up any time an attempt is made to access files (or folders) on them.  This is done at the OS level and as far as I know unRAID is not directly aware that this has happened (unless the md driver reports it in some way)..

 

Since unRAID can obviously detect the spinup/spindown status of a disk as this information is displayed in the GUI, it might be a nice feature if it was possible to request a message was logged when the spinup/spindown status was detected as changed.  This would not necessarily tell you what caused it although the timing might provide a clue.

This is something I would love if it were possible. At the moment I have drives spin up "seemingly randomly" when nothing is really using them or, for example, I will open up my mapped drives to look for something to watch and in the process 3 drives will spin up before anything has even been opened (at the folder level too - no thumbnails or anything). Perhaps I need cache_dirs to mitigate this?

 

It'd be awesome if there was a way for the syslog to add an entry when a disk is spun up and (if possible) the first file accessed on that disk. This would make diagnosing random spin ups a lot easier.

  • Community Expert

This is something I would love if it were possible. At the moment I have drives spin up "seemingly randomly" when nothing is really using them or, for example, I will open up my mapped drives to look for something to watch and in the process 3 drives will spin up before anything has even been opened (at the folder level too - no thumbnails or anything). Perhaps I need cache_dirs to mitigate this?

If you do not have cache_dirs installed and these drives are mapped to a user Share then it would be quite normal for all drives potentially involved in the share to be spun up just to read the directory information.  Cache-dirs. is all about not spinning up drives for directory information, but instead only when files on a particular disk are referenced. 

 

Having said that if you have your system set to display thumbnails then it is highly likely that disks will end up being spun up just to get the information to display the thumbnails.  This will also slow down opening folders.

 

Since with v6 it so easy to install cache_dirs via the relevant dynamix plugin I am surprised that not everyone does it.  I guess at some point this becomes moot when the relevant capability is integrated into the standard build.

try:

inotifywait -mr -e access -e modify /mnt/disk1

you do have to install the inotify from unmenu i believe.

But this way you should be able to find out what files are being accessed or modified.

  • Author

Thanks for the answers.

 

About cache_dir, i try to install plg plugin but when i acces through web gui the option appear blank :S

 

Is only available for unraid v5?

 

inotifywait command not found :(

I'm runing 6.0-beta14b

  • Community Expert

About cache_dir, i try to install plg plugin but when i acces through web gui the option appear blank :S

 

Is only available for unraid v5?

 

inotifywait command not found :(

I'm runing 6.0-beta14b

Did you follow the instructions from this thread that covers dynamix plugins for v6? 

inotifywait command not found :(

I'm runing 6.0-beta14b

Like i said, you have to install the inotify pkg, e.g. from unmenu.

  • Author

I'm installed unMenu but I don't see the option to in package manager to install inotify.

 

I try to install manually but ..

-bash: /usr/bin/inotifywait: cannot execute binary file

 

What I'm doing bad?

 

Sorry I'm newbie on linux/unRaid.

 

Thanks for the support guys.

 

 

No need for unmenu. I think that is primarily for v5 with 32bit plugins which will cause issues on v6 since its 64bit.

 

For inotifywait, I think thats part of the NerdPack Plugin, so install that.

  • Community Expert

No need for unmenu. I think that is primarily for v5 with 32bit plugins which will cause issues on v6 since its 64bit.

 

For inotifywait, I think thats part of the NerdPack Plugin, so install that.

unMenu does work with v6, and will only offer to install 64bit pkgs on v6. inotify is not one that has been added to PKG Manager for 64bit.

 

Nerd Tools does include inotify-tools as you say.

  • 1 year later...
On 24/03/2015 at 0:29 AM, BRiT said:

No need for unmenu. I think that is primarily for v5 with 32bit plugins which will cause issues on v6 since its 64bit.

 

For inotifywait, I think thats part of the NerdPack Plugin, so install that.

 

Is there a current (6.3+)  best practice for diagnosing spin up issues? I seem to find my HDDs reluctant to sleep and they get too toasty when left on all the time.. plus I can hear something spinning one like crazy which I want to stop!!

2 minutes ago, methanoid said:

 

Is there a current (6.3+)  best practice for diagnosing spin up issues? I seem to find my HDDs reluctant to sleep and they get too toasty when left on all the time.. plus I can hear something spinning one like crazy which I want to stop!!

File Activity Plugin

Thank you Squid... Damn, you are quick... I am grateful... it is making life easier to be able to get this set up how I want...just so troubleshooting to get it right :-)

methanoid said:

plus I can hear something spinning one like crazy

 

That sounds more like a fan than a drive.

 

Edit: thanks Squid, I copied from the wrong post.  Plus my guess was far off, a lousy guess.

Edited by RobJ
correction

17 minutes ago, RobJ said:

 

That sounds more like a fan than a drive.

 

I may be dumb but not THAT dumb.. I know what my fans and HDDs sound like.. It was a HDD... I had a look with the Open Files and File Activity plugins.

 

Now I have silence.. 2 drives spun up.. Both parity drives? WHY? Parity is only updated at 1am or some such hour.

1 minute ago, methanoid said:

Now I have silence.. 2 drives spun up.. Both parity drives? WHY? Parity is only updated at 1am or some such hour.

Parity is updated in real time as writes to the array occur.  Depending upon the circumstance, not all writes go to the cache drive.  As to why they are currently running and not any data drives it could be different spin down times set up...

1 hour ago, methanoid said:

I may be dumb but not THAT dumb.. I know what my fans and HDDs sound like.. It was a HDD...

 

Sorry!  A lousy guess!

  • Community Expert
4 hours ago, methanoid said:

Parity is only updated at 1am or some such hour.

You must have this confused with the cache move schedule. As mentioned, parity is realtime.

 

Each user share has settings for whether and how it uses cache. The default setting is cache-no. If you created a user share and you didn't change that setting, then all writes to the share would go directly to the parity-protected array, and parity would be written at the same time.

On 14/03/2017 at 8:41 PM, trurl said:

You must have this confused with the cache move schedule. As mentioned, parity is realtime.

 

Each user share has settings for whether and how it uses cache. The default setting is cache-no. If you created a user share and you didn't change that setting, then all writes to the share would go directly to the parity-protected array, and parity would be written at the same time.

 

My user share is set to USe Cache Disk=Yes

My Appdata,Domains,System all to UseCacheDisk=ONLY

My ISOs set to No Cache, just Disk 8....

 

So surely my Parity disks should be idle except when mover runs? its 10am now and they are active but happy if I spin them down.. its as though they forget to spin down

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.