Jump to content
dlandon

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

155 posts in this topic Last Reply

Recommended Posts

It this plugin still functioning? I installed it, started it and nothing appears in the file activity.

Share this post


Link to post
11 minutes ago, Fuggin said:

It this plugin still functioning? I installed it, started it and nothing appears in the file activity.

Yes.  I guess you don’t have any file activity.

Share this post


Link to post
1 hour ago, Fuggin said:

nothing appears in the file activity.

It does sometimes take a couple of min to populate 

Share this post


Link to post
On 9/12/2019 at 10:15 PM, dlandon said:

Yes.  I guess you don’t have any file activity.

Snarky.

I was doing file transfers and I wanted to see how it worked. Nothing showed up.

Your move.

Share this post


Link to post
6 hours ago, Fuggin said:

Snarky.

I was doing file transfers and I wanted to see how it worked. Nothing showed up.

Your move.

Next time take a look at the log and see if it will tell you if there is a problem - It will.  Just posting that it doesn't work is not very productive and a waste of everyone's time.

Share this post


Link to post

I just installed this in v6.7.2. The file access seems to work after I press Refresh the file I had played showed up.

But, I have 5 out 8 disks that spin up every time I open the Share folder in Windows 7. I even tried with thumbnails disabled. And I have Dynamix Cache Dirs installed.

After the 5 disks spined up I noticed my total reads went up by 12. Why the heck are my drives spinning and reading just opening the share?

Share this post


Link to post

Firstly, thank you!

As a new UNRAID user, I find this plug-in to be invaluable. Whenever my HDDs spin up unexpectedly, this is my go-to utility.

 

My only gripe is that the four control buttons (stop, refresh, clear, done) are at the bottom of the activity list.  As more and more activity is reported, the four buttons are forced downward and we have to scroll down (perhaps, several pages) to get to the buttons.

 

Is it possible to anchor the four buttons to the top of the page?  And while we're at it, could the activity list be sorted in reverse order?  It would be nice to have the option of seeing the latest activity show up at the top of the list, instead of having to scroll to the bottom every time.

 

Any help is appreciated, and thanks again for a great plug-in!

 

Share this post


Link to post
15 hours ago, sjb217 said:

Is it possible to anchor the four buttons to the top of the page?  And while we're at it, could the activity list be sorted in reverse order?

That's not consistent with how other things work in Unraid.  This operates the same as the syslog.

Share this post


Link to post

is the log, which is shown in the UI, available as a text file in some folder maybe?

Can this be written to file periodically? daily for example?

I might try to load it into DB, so I can better analyse it, and optimize some jobs, so i can group the disk spin up/down activities better maybe

Share this post


Link to post
Posted (edited)

@LSL1337 did you found another log (or file) execpt the one in the UI. I try to figure out why one of my disk got constanly disk activity.

In the UI (see screenshot #1) the plugin stopps logging disk activity at about 21:00 ... but the sleep plugin keeps telling me, that there is disk activity?! (Screenshot #2)

And - what really crashes my brain - even NOW all disks seems to be spun down correctly in the UI. (Screenshot #3)

 

 

 

file_activity.PNGstill_disk_activity.PNG

all_spun_down.PNG

Edited by Maddeen

Share this post


Link to post

Is there a way to get this to show up in the Unraid GUI?  I'm assuming it should show up under Tools/Disk Utilities but there is no icon there.

I can get to it through the plugins section or by going directly to http://*.*.*.*./Tools/FileActivity so it's not such a huge issue, just would like it to be there to easily click on when needed.  Thanks for any info.

 

Share this post


Link to post
34 minutes ago, skoosht said:

I'm assuming it should show up under Tools/Disk Utilities but there is no icon there.

There is no Disk Utilities under Tools. Where are you seeing that?

 

File Activity is under Tools - System Information just as it says in the first post of this thread.

Share this post


Link to post
16 minutes ago, trurl said:

There is no Disk Utilities under Tools. Where are you seeing that?

 

File Activity is under Tools - System Information just as it says in the first post of this thread.

This is what I'm seeing, thanks.

unraid.PNG

Share this post


Link to post

Interesting.

 

I don't have preclear installed so I guess it creates that category. Maybe some other plugin you don't have installed creates the System Information category.

 

 

2020-07-28 16_44_20-unSERVER_Tools.png

Share this post


Link to post

yea interesting.  I'll try installing one of the plugins you have and see what happens :)

 

Share this post


Link to post
1 hour ago, skoosht said:

yea interesting.  I'll try installing one of the plugins you have and see what happens :)

I just released an update to fix this issue.

Share this post


Link to post
50 minutes ago, dlandon said:

I just released an update to fix this issue.

Awesome!  Success :)

 

unraid.PNG

Share this post


Link to post
2 hours ago, mrbusiness said:

Would it be possible to exclude certain paths and/or shares?

Currently the file activity is by physical device because it was intended to show activity on physical devices to help with spin up issues.  I have no plans on changing the way it works.

Share this post


Link to post
6 hours ago, mrbusiness said:

Would it be possible to exclude certain paths and/or shares?

What are you trying to accomplish? Maybe another plugin would work for you, such as Dynamix Active Streams or Open Files.

Share this post


Link to post

@dlandon would it be possible to only log deletes? or have an option to? I have been trying to track down rogue deletes for a long time and this plugin could greatly assist with that. or maybe add a notification upon a file delete?

 

Edit/update: I found where the log file was kept and I setup a script to run every minute to grep out the delete events and clear everything else, and then re-write the log file with only the delete events. This allows me to use the tool but only keep the deleted log events.  Awesome tool BTW!

Edited by icemansid

Share this post


Link to post
On 9/16/2020 at 2:53 PM, icemansid said:

@dlandon would it be possible to only log deletes? or have an option to? I have been trying to track down rogue deletes for a long time and this plugin could greatly assist with that. or maybe add a notification upon a file delete?

 

Edit/update: I found where the log file was kept and I setup a script to run every minute to grep out the delete events and clear everything else, and then re-write the log file with only the delete events. This allows me to use the tool but only keep the deleted log events.  Awesome tool BTW!

Can you point me towards where this log is stored?

Share this post


Link to post
8 hours ago, dtctechs said:

Can you point me towards where this log is stored?

/var/log/file.activity.log

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.

Guest
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.