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.

dual parity: run "disk rebuild" and "parity check" at the same time

Featured Replies

I'm currently upgrading/rebuilding 1 disk. Using dual parity.

 

I'm noticing that unRAID reads both parity disks during the rebuiling process. Wondered why that was necessary? In order to just rebuild the disk, reading 1 parity disk should suffice, no?

 

But following that thought: If we have dual parity and are rebuilding just 1 disk, why not use the opportunity to run a parity check at the same time? So basically use parity 1 to rebuild the disk, and use parity 2 to double check that everything's perfect. That would be 2 jobs done at the same time, with the same speed and the same disk wear.

 

Thoughts?

Edited by madshi

  • madshi changed the title to dual parity: run "disk rebuild" and "parity check" at the same time
27 minutes ago, madshi said:

why not use the opportunity to run a parity check at the same time?

That's is what is already being done, hence why parity2 is being read.

  • Author

Oh, that's very cool, thanks for letting me know!

 

Why is there no "error" counter in the statistics, though? Normally, when doing a parity check there's an error counter, and it's nice to see it stay at 0.

 

Will there be an error or success report at the end of this simultaneous "disk rebuild + parity check" action that I have currently running? Can I assume that if unRAID reports no error, the state of the array can safely be considered "perfect", so I don't need to follow up the rebuild with another parity check?

Edited by madshi

There is no error counter but it will report any errors after it's done, be it rebuild errors or sync errors (or both together).

  • Author

That's fantastic, thank you!

 

So I would like to reduce my feature request to a very little change: Just add the "error" information to the dual parity rebuild statistics, so that the combined dual parity "rebuild+parity check" procedure looks the same as a normal parity check. This way everybody can intuitively understand that in addition to the disk rebuild, also a parity check is performed at the same time. Which is a *great* hidden feature of unRAID, IMHO, and a nice extra benefit of using dual parity.

  • Community Expert
31 minutes ago, madshi said:

Can I assume that if unRAID reports no error, the state of the array can safely be considered "perfect", so I don't need to follow up the rebuild with another parity check

What will not have been checked is that the disk being rebuilt can be read back without error.   All you will know is that no write errors were encountered.   You therefore might still want to carry out a (non-correcting) parity check as a confidence test.

  • Author

Ah yes, that does make sense, thanks.

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.