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.

Is it ok to pause a parity check and reboot the server on purpose?

Featured Replies

Parity check takes about ~22 hours....it's on hour #18 and I need to reboot to get video back to my LibreElec VM for movie night.  Can I reboot now and have the parity check resume where it left off?

No, you would waste the 18hrs and have to start all over again, as far as I know.

It won't pick up where it left off but I've had to do that before.  I just start the parity check again.  It was suggested as a feature request so it could be added in the future.

It won't pick up where it left off but I've had to do that before.  I just start the parity check again.  It was suggested as a feature request so it could be added in the future.

 

The danger is that even if one byte is changed on the drives while the array is paused it will invalidate the parity. It's a good feature but would be risky to use.

It won't pick up where it left off but I've had to do that before.  I just start the parity check again.  It was suggested as a feature request so it could be added in the future.

 

The danger is that even if one byte is changed on the drives while the array is paused it will invalidate the parity. It's a good feature but would be risky to use.

Not really, because if that byte was part of the section already checked then it'll get updated automatically, and if its not part of the section already checked then it would get checked when the checks resume.

 

Its fundamentally no different than running scheduled full checks once a month.

It won't pick up where it left off but I've had to do that before.  I just start the parity check again.  It was suggested as a feature request so it could be added in the future.

 

The danger is that even if one byte is changed on the drives while the array is paused it will invalidate the parity. It's a good feature but would be risky to use.

Since unRAID would know if something was written to the disk it only has to invalidate the check in progress and force a complete recheck - I don't see a real risk to the feature if it is implemented that way.

Isn't the implication here though (taken to an extreme) that unRaid itself is inherently risky if you don't run a full parity check every time a single byte gets written to the drive(s) because at that point you cannot be 100% sure that you can successfully rebuild a drive because you don't know if the disks and parity all reflect that changed byte?

 

It won't pick up where it left off but I've had to do that before.  I just start the parity check again.  It was suggested as a feature request so it could be added in the future.

 

The danger is that even if one byte is changed on the drives while the array is paused it will invalidate the parity. It's a good feature but would be risky to use.

Since unRAID would know if something was written to the disk it only has to invalidate the check in progress and force a complete recheck - I don't see a real risk to the feature if it is implemented that way.

Isn't the implication here though (taken to an extreme) that unRaid itself is inherently risky if you don't run a full parity check every time a single byte gets written to the drive(s) because at that point you cannot be 100% sure that you can successfully rebuild a drive because you don't know if the disks and parity all reflect that changed byte?

I removed my post because yours made more sense once I read it.
  • 2 years later...

Sorry to revive an old topic, but this is the first thread that comes up in Google...

 

I am wondering if pause and restart the server has ever been implemented for parity checks...

 

Thanks,

craigr

15 minutes ago, craigr said:

I am wondering if pause and restart the server has ever been implemented for parity checks...

Not currently.  Pause is implemented, but it won't pick up where it left off if you reboot

Just now, Squid said:

Not currently.  Pause is implemented, but it won't pick up where it left off if you reboot

That's what I thought.  Thanks!

 

craigr

  • 1 year later...

Hey guys, so if I accidentally restart my array, can I just start the parity again at 0% or do I need to preclear or format again?

1 hour ago, Pjrezai said:

Hey guys, so if I accidentally restart my array, can I just start the parity again at 0% or do I need to preclear or format again?

Need more information. Preclear is used either as a drive testing tool, or to prepare a drive to be added to an array with already valid parity in a new slot. Format writes a blank filesystem to a drive.

 

Neither concept has anything to do with pausing a parity check.

52 minutes ago, jonathanm said:

Need more information. Preclear is used either as a drive testing tool, or to prepare a drive to be added to an array with already valid parity in a new slot. Format writes a blank filesystem to a drive.

 

Neither concept has anything to do with pausing a parity check.

So I was running the first parity build, then i restarted the array, and the parity started from the beginning on the reboot of unraid - is that ok? since it is writing again on a drive that had already had been written on (when I was running the first parity that stopped)

  • Community Expert
3 minutes ago, Pjrezai said:

So I was running the first parity build, then i restarted the array, and the parity started from the beginning on the reboot of unraid - is that ok? since it is writing again on a drive that had already had been written on (when I was running the first parity that stopped)

Yes.   Until it gets to the point at which you restarted the array it will simply be over-writing the existing data with the same content (since Unraid will have forgotten you had already started the parity check), and past that point writing the parity information not previously written for the remainder of the drive.

7 minutes ago, itimpi said:

Yes.   Until it gets to the point at which you restarted the array it will simply be over-writing the existing data with the same content (since Unraid will have forgotten you had already started the parity check), and past that point writing the parity information not previously written for the remainder of the drive.

Thanks! Just wanted to double check that there wouldn't be an issue that i just restarted the parity creation right on top of the previously failed one

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.