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.

Does parity rebuild/sync/check create a PID file to notify us that it's running?

Featured Replies

My server does a parity check on the 1st of every month. I thought the mover script was setup to not run during that time. Until I woke up this morning to find the check at around 20% doing 2MB/s because mover is running.

 

I've cancelled the check until tomorrow night, after I've manually disabled the mover. Is there any notification on the system, that I can add to some kind of if statement in the mover script so that it never runs during a rebuild or check? Especially during a rebuild.

A status changes from /proc/mdcmd that could be queried in the mover script.

I don't know what it is off the top of my head, but I know there's a status change there.

  • Author

I'm still waiting on the mover to finish, I'll restart the parity check and see if any lines in that file change.

  • Author

In case anyone else is curious, I've added the code below to just after the comment header in the mover file.

 

if ! grep -Fxq "mdResync=0" /proc/mdcmd ; then
    echo mdResync=0 was not found, resync of some type is running.
    exit 0
fi

 

I've tested it against a regular parity check, I would expect the mdResync get's updated for rebuilds as I didn't notice any flags in there pertaining to "build".

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.