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.

[Plugin] Parity Check Tuning

Featured Replies

  • Replies 1.1k
  • Views 183.8k
  • Created
  • Last Reply

Top Posters In This Topic

Most Popular Posts

  • I am currently working on the code to allow array operations to be restarted (resumed) from where they were as long as: the array was shutdown cleanly there have been no changes to the

  • i have been working through all cases where this can happen in the code and I think I now have them all fixed in the version running on my test server.  There was a number of places in the code where

  • I have just pushed what I hope is the ‘fixed’ version of the plugin to GitHub.    Let me know if you notice any further anomalies/bugs.

Posted Images

  • Author

Thanks - I see what is the issue now and have reproduced it?     That notification is erroneously being generated as you are stopping the array without doing a full shutdown or reboot as I am getting an event from Unraid I did not expect during the stopping sequence.   All my recent testing concentrated on using the Stop or Reboot buttons to get a tidy shutdown or deliberately forcing an unclean shutdown.  I had been a bit lazy and skipped doing the simple array stop/start thinking it was not relevant to unclean shutdowns :( 

 

Can you confirm that you are getting the notifications while stopping the array?

 

I will work on an update that will fix this issue.

 

 

 

14 minutes ago, itimpi said:

Thanks - I see what is the issue now and have reproduced it?     That notification is erroneously being generated as you are stopping the array without doing a full shutdown or reboot as I am getting an event from Unraid I did not expect during the stopping sequence.   All my recent testing concentrated on using the Stop or Reboot buttons to get a tidy shutdown or deliberately forcing an unclean shutdown.   Can you confirm that you are getting the notifications while stopping the array?

 

I will issue an update shortly that will fix this issue.

 

Great that you found something. For me, the unnecessary notification came after updating my server to 6.12.4. That is,
1) Run the update to 6.12.4
2) Shutdown
3) Boot up the server
4) Start array manually
--> notification

  • Author
17 minutes ago, Ruato said:

 

Great that you found something. For me, the unnecessary notification came after updating my server to 6.12.4. That is,
1) Run the update to 6.12.4
2) Shutdown
3) Boot up the server
4) Start array manually
--> notification


Going through a reboot sequence should not generate the notification spuriously so it is possible in your case the notification was genuine.    The issue I have found relates to stopping and then restarting the array without going through a shutdown or reboot sequence.

14 hours ago, itimpi said:

Going through a reboot sequence should not generate the notification spuriously so it is possible in your case the notification was genuine.    The issue I have found relates to stopping and then restarting the array without going through a shutdown or reboot sequence.

 

I will test the this with the upcoming new version as soon as I get back home. I will stop the array before shutdown to guarantee clean shutdown.

  • Author
4 hours ago, Ruato said:

 

I will test the this with the upcoming new version as soon as I get back home. I will stop the array before shutdown to guarantee clean shutdown.

 

Just posted the update.   If it still goes wrong then try and get me diagnostics with the Testing mode logging active in the plugin.

  • Author

@Ruato @dopeytree

Just thought I would check whether the lack of new reports is good sign and means your issues are now resolved since the last release of the plugin, or is that you have simply not been in a position where a check is running so you would notice if there is still a problem.

Seems good have been powering down and restarting the array a lot lately while tuning some settings. Thanks for the fix 🙂

  • Author
6 minutes ago, dopeytree said:

Seems good have been powering down and restarting the array a lot lately while tuning some settings. Thanks for the fix 🙂

Thanks for the feedback.   

 

Always glad to have confirmation that the issue seems to have been resolved and something new has not immediately popped up :) 

 

On 9/21/2023 at 11:29 AM, itimpi said:

@Ruato @dopeytree

Just thought I would check whether the lack of new reports is good sign and means your issues are now resolved since the last release of the plugin, or is that you have simply not been in a position where a check is running so you would notice if there is still a problem.

 

Have been travelling (too much) and have not been able to test this. Very good that @dopeytree confirmed the fix. Great work @itimpi!

  • 2 weeks later...

Quick question.  I've got my Parity Check set to run once a month and Parity Check Tuning ensures it runs between 1am and 9am each day.  It's also set to pause when Appdata Backup is running (@4am each day) but it does not automatically resume once Appdata Backup concludes (usually around 5am each day).  The tooltip suggests that it should resume as it is still within the increment window of 1am to 9am.  Have I misunderstood?

  • Author
10 hours ago, SirCadian said:

Quick question.  I've got my Parity Check set to run once a month and Parity Check Tuning ensures it runs between 1am and 9am each day.  It's also set to pause when Appdata Backup is running (@4am each day) but it does not automatically resume once Appdata Backup concludes (usually around 5am each day).  The tooltip suggests that it should resume as it is still within the increment window of 1am to 9am.  Have I misunderstood?


It should, and if it is not that is a bug.   It has been resuming in my test environment.

 

if you want me to try and work out why it is not working for you then enable the testing mode logging in the plugin settings and then post your diagnostics after you have managed to recreate the issue.

3 hours ago, itimpi said:


It should, and if it is not that is a bug.   It has been resuming in my test environment.

 

if you want me to try and work out why it is not working for you then enable the testing mode logging in the plugin settings and then post your diagnostics after you have managed to recreate the issue.

Will do. Thanks. 

  • Author

@SirCadian  I have just pushed out release 2023-10-07 as a typo in the last release was identified that might explain why the check was not resuming.    Please update to this one to see if your problem is still occurring

18 hours ago, itimpi said:

@SirCadian  I have just pushed out release 2023-10-07 as a typo in the last release was identified that might explain why the check was not resuming.    Please update to this one to see if your problem is still occurring

Will do.  I ran with test logging enabled last night to provide you with the diagnostics.  Parity Check Tuning updated overnight at 5.15am but not until after Appdata Backup concluded at 4.50am.  Parity Check did not resume but that's probably because PCT hadn't been updated at the point Appdata Backup finished.  I'll leave everything as is and see if the new update fixes things and if not, I'll dm you the diagnostics.  I'll post here either way.  Thanks.

  • Author
1 minute ago, SirCadian said:

Will do.  I ran with test logging enabled last night to provide you with the diagnostics.  Parity Check Tuning updated overnight at 5.15am but not until after Appdata Backup concluded at 4.50am.  Parity Check did not resume but that's probably because PCT hadn't been updated at the point Appdata Backup finished.  I'll leave everything as is and see if the new update fixes things and if not, I'll dm you the diagnostics.  I'll post here either way.  Thanks.

If you still have them then the diagnostics would probably tell me if you had encountered the problem that yesterdays release fixed.

3 minutes ago, itimpi said:

If you still have them then the diagnostics would probably tell me if you had encountered the problem that yesterdays release fixed.

Sent via DM.  Thanks for this.

  • 3 weeks later...

Parity check tuning is not stopping anymore on disk overheat. Everything is activated, but the array rebuild just keeps going.

Led to 4 completely overheated disks with Smart failure, as disks are very slowly overheating after some hours and cooling cannot be improved unfortunately :(

  • Author
1 hour ago, Zerginator said:

Parity check tuning is not stopping anymore on disk overheat. Everything is activated, but the array rebuild just keeps going.

Led to 4 completely overheated disks with Smart failure, as disks are very slowly overheating after some hours and cooling cannot be improved unfortunately :(

 

Not sure why that should have broken as nothing has changed there for some time, but it is very difficult to test that option on my system as my drives never overheat so it is always possible that something slips through.   

 

If you can enable the Testing mode of logging in the plugin settings then get diagnostics at a point where you think the check should have been paused but it has not I should be able to see why it has not paused.

52 minutes ago, itimpi said:

 

If you can enable the Testing mode of logging in the plugin settings then get diagnostics at a point where you think the check should have been paused but it has not I should be able to see why it has not paused.

 

This is the line where the temperature value is triggered

partity3.png

  • Author

I can see that something has gone wrong in that the script has exited prematurely but not exactly why.    If you can go to Tools->PHP Settings and set the error reporting to All Categories then it will hopefully give me the exact line in the code that is causing the problem and why it is a problem.

9 hours ago, itimpi said:

I can see that something has gone wrong in that the script has exited prematurely but not exactly why.    If you can go to Tools->PHP Settings and set the error reporting to All Categories then it will hopefully give me the exact line in the code that is causing the problem and why it is a problem.

 

This is what the PHP Settings error log tells me:

2023-10-26 10_06_43-NAS_PHPsettings – Mozilla Firefox.png

  • Author
2 hours ago, Zerginator said:

 

This is what the PHP Settings error log tells me:

2023-10-26 10_06_43-NAS_PHPsettings – Mozilla Firefox.png


Thanks - that was exactly what I needed.    On that line it should be ‘$temp’ rather than simply ‘temp’.   At some point the $ must have been accidentally removed because at one point that code was definitely working.    It makes sense that it shows up for you as that is a bit of code that is only executed when drives are detected to actually overheat.    
 

I will make a quick fix; do a quick test; and push out an update later today.   When I have done so it would be very useful if you could confirm the plugin is now working as expected or if there is something else for me to track down.

1 minute ago, itimpi said:

I will make a quick fix; do a quick test; and push out an update later today.   When I have done so it would be very useful if you could confirm the plugin is now working as expected or if there is something else for me to track down.

 

Sure, I will update as soon as you have pushed it and give it a test run.

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.