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.

File Activity Plugin - How can I figure out what keeps spinning up my disks?

Featured Replies

4 hours ago, dlandon said:

It's an unassigned slot in the array.  I've made an update that will ignore a non-existent disk.

Well that's a quick turnaround!  Thanks!  I can confirm that it now skips over the missing disk2 and works fine unless I try to enable cache drives, in which case I'm getting the same error for `/mnt/cache2` now.  I do have two cache disks, but they're in a pool so there isn't a second mount point (assuming I haven't set this up weird (see screenshot below)).  I guess I should have looked more thoroughly at disks.ini and I might have seen that coming too.

Screenshot 2020-12-26 230446.png

  • Replies 512
  • Views 127.7k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • EDACerton
    EDACerton

    I have republished both this and open files.

  • Right now, I've decided that I'm not going to fork and republish the plugins.  At this time I do have far too much on my plate to take on any additional plugins.   I do not know why the author chose t

  • Due to some personal circumstances, I am unable to keep the pace I was working with Unraid. I would not resubmit the plugin if I could not maintain it. I said I would not be able to provide a lot of s

Posted Images

  • Author
4 hours ago, Sammy1Am said:

Well that's a quick turnaround!  Thanks!  I can confirm that it now skips over the missing disk2 and works fine unless I try to enable cache drives, in which case I'm getting the same error for `/mnt/cache2` now.  I do have two cache disks, but they're in a pool so there isn't a second mount point (assuming I haven't set this up weird (see screenshot below)).  I guess I should have looked more thoroughly at disks.ini and I might have seen that coming too.

Screenshot 2020-12-26 230446.png

Update and try again.

9 hours ago, dlandon said:

Update and try again.

Perfect, it works great now; thanks for the quick fixes!🙂

  • 4 weeks later...

I think I am having a similar problem... 

Jan 19 15:29:17 Tower file.activity: Starting File Activity
Jan 19 15:29:17 Tower inotifywait[30498]: Couldn't watch /mnt/disk4: No such file or directory

I don't have a disk4. What info do you need?

  • 2 months later...

small convenience request, would it be possible to move the start, stop, refresh, etc buttons in the file activity tab to above the list of activities?

 

 

6 hours ago, Alex.b said:

All my shares are set to "Cache Prefer".

@Alex.b

Very bad idea. That is going to make it try to put all your data on cache and move all your data to cache.

 

Go to Tools - Diagnostics and attach the complete Diagnostics ZIP file to your NEXT post in this thread.

  • 3 weeks later...

So I was hoping this plugin could help me determine what was pinging my Cache SSD every 30 minutes (almost on the dot) which was preventing my system from going to sleep.  But sadly the plugin doesn't detect anything.  Do you have any advice?   I already posted on the Dynamix thread.  

 

 

nas-ng-diagnostics-20210428-1559.zip

12 minutes ago, Marc_G2 said:

So I was hoping this plugin could help me determine what was pinging my Cache SSD every 30 minutes (almost on the dot) which was preventing my system from going to sleep.  But sadly the plugin doesn't detect anything.  Do you have any advice?   I already posted on the Dynamix thread.  

 

 

nas-ng-diagnostics-20210428-1559.zip 102 kB · 0 downloads

I suspect its because you have the following set for smart polling.  poll_attributes="1800" which will be 30mins. What is the time for your sleep? Try changing poll to 3600 to see if that fixes issue.

 

 

Edited by SimonF

1 hour ago, SimonF said:

I suspect its because you have the following set for smart polling.  poll_attributes="1800" which will be 30mins. What is the time for your sleep? Try changing poll to 3600 to see if that fixes issue.

That's a good theory, but it looks like changing that setting didn't make a difference.  I did recently change my default spin down time from 60 to 30 mins.  But increasing it to 45 min didn't fix it either.  For now I'll try a reboot to see if a setting isn't properly getting applied immediately or something.   This was never a problem when prior to updating to 6.9.2.  I only made a handful of small changes since that update.  But I can't think of anything else that would cause this.

Edited by Marc_G2

10 minutes ago, Marc_G2 said:

That's a good theory, but it looks like changing that setting didn't make a difference.  I did recently change my default spin down time from 60 to 30 mins.  But increasing it to 45 min didn't fix it either.  For now I'll try a reboot to see if a setting isn't properly getting applied immediately or something.   This was never a problem when prior to updating to 6.9.2.  I only made a handful of small changes since that update.  But I can't think of anything else that would cause this.

What is your sleep timer, may be best to raise a separate thread for this? I believe there have been some issues with S3 Sleep plugin on 6.9

14 minutes ago, SimonF said:

What is your sleep timer, may be best to raise a separate thread for this? I believe there have been some issues with S3 Sleep plugin on 6.9

At the moment it's set to 35 min after disks are spun down.  I'll create a new thread if I can't figure it out in the next day or so.

probably a noob question... is there any way to see what process actually opened files captured by this plugin?

 

just now I saw that something opened a bunch of music videos. i assume it was either plex or radarr, i just don't know why.

  • Author
8 hours ago, acosmichippo said:

probably a noob question... is there any way to see what process actually opened files captured by this plugin?

 

just now I saw that something opened a bunch of music videos. i assume it was either plex or radarr, i just don't know why.

No, only the file activity.  Not who created the activity.

  • 4 weeks later...
On 5/7/2021 at 12:14 PM, dlandon said:

No, only the file activity.  Not who created the activity.

Would it be possible to implement that? It would be infinitely more helpful to know the actual process responsible for the activity.

  • Author
1 hour ago, KnifeFed said:

Would it be possible to implement that? It would be infinitely more helpful to know the actual process responsible for the activity.

File activity uses inotify to monitor file activity.  There is no way to know which process accesses the file with inotify.

 

I am changing the inotify events to (file access, file open, file create, file delete, and file modify) for more activities to help in identifying which files are changing.  The downside is this will generate a lot of log activity, but might give more information on what is changing.  I've been reluctant to monitor too much, because working through a large log can be overwhelming.  I'm researching ways to be able to better manage finding what is relevant in the log.

 

It won't log directory access events because the log will be unmanageable.  The best way to handle this is to install the Cache Dirs plugin and only specify shares to be cached.  Don't use the Cache Dirs default settings.  It has a nasty habit of caching everything, which in many cases is way too much.  If it is set up correctly, directory accesses should not spin up disks.

  • Author

I've update the plugin with the following changes:

  • Add modify file activity.
  • Don't show directory access in the log.  The log becomes unmanageable with all the directory entries and doesn't provide any additional information.
  • Settable option to log events by disk or share.  The share logging should help identify who is accessing files based on the share being used.
  • 4 weeks later...

I installed the File Activity plugin, but when I go to start it, it acts like it is about to start, but never does.  After about 5 secs of it loading, it refreshes the screen and says it is stopped and never shows anything.  Thanks for any help!

  • 3 weeks later...

i've got exactly the same problem. the plugin does not start

On 6/27/2021 at 9:08 AM, cycodrama said:

it is stopped and never shows anything.

1 hour ago, Emanuel87 said:

same problem

 

Are all your plugins up-to-date? Do you have Nerd Tools installed?

hi. yes and yes 

4 hours ago, Emanuel87 said:

hi. yes and yes 

post diagnostics

ok... i don;t know hwat to say. i have it installed. 

 

image.thumb.png.31a5b819d4e3fc6e7df91beaa5f15d5b.png

 

 

image.thumb.png.3c2a06c2da356f7d3f344d7b948ef8eb.png

image.png

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.

Guest
Reply to this topic...

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.