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.

Parity check after every shutdown and restart - presumably due to an unclean shutdown. Tried various suggestions here but to no avail

Featured Replies

Hello, new unraid user here on a 6.11.5 trial, running 3 x 18tb drives, one of which is a parity drive, plus one 1tb M.2 cache drive. Relatively tech savvy, but not IT professional / sysadmin levels of experience. I'm having trouble with my brand new unraid install restarting my parity check after every shutdown or restart, presumably due to an unclean shutdown. It also doesn't manually start my array, even though I have it set to do so.

 

I've found the following advice here and tried it all, to no avail:

 

  • Changed my shutdown timer from 90 to 420 seconds.
  • Disabled all docker plugins and uninstalled all apps (except Community and Tips and Tweaks).
  • Manually stopped my array and cancelled the parity check before restarting. I'm not running any VMs, this is just a data storage and Plex server.
  • Plugged the USB stick into a USB 2 port, instead of a USB 3 port.
  • I already have ssh,bash in the  "Processes to kill before Array is Stopped" field in Tips and Tweaks plugin - it seems to be there by default now.

 

Other notes:

  • One comment said to manually stop your array, time how long it takes, then set a shutdown timer based on that with a buffer for safety. I timed my array stop time at around 25 seconds, so 420 seconds should presumably be plenty of buffer for this.
  • Based again on me manually timing itself, Shutdown / restart itself appears to take less than 420 seconds (~240 seconds for the login screen to show up again), so it doesn't appear to be the shutdown timer that's causing the problem.
  • The pinned topic on unclean shutdowns says "If an unclean shutdown does occur because the overall "Shutdown time-out" was exceeded, Unraid will attempt to write diagnostics to the /log/ folder on the flash drive.  When you ask for help with an unclean shutdown, post the /log/diagnostics.zip file.". I've checked this folder and I can't find an auto generated log, although I can see a couple of manual logs I exported.
  • tma-1-diagnostics-20221211-1149.zip
  • tma-1-diagnostics-20221211-1212.zip

Edited by ukmal
Added attachments

  • Author

Edited original post to link to logs locally, removed google drive links

  • Community Expert

There's no unclean shutdown detected, but your parity is not yet valid, i.e., it was never fully synced, you just need to let if finishe syncing one time before shutting down or rebooting the server.

  • Community Expert

You could also try installing the Parity Check Tuning plugin that is able to restart parity operations from the point previously reached after a reboot.   Standard Unraid always restarts from the beginning.

  • Author

Aaah, so if you haven't completed a parity check before shutdown, it won't save the progress so will always restart the check until you complete it? I didn't realise that.

 

I'll look into the Parity Check Tuning plugin too.


Thanks both.

  • Community Expert
8 hours ago, ukmal said:

you haven't completed a parity check before shutdown

Yes, though first one is a parity sync to create parity, only once that's done can you do a parity check.

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.