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.

Check parity only until the size of the largest drive

Featured Replies

I have a mix of 4, 8, and 10TB data drives.

I have two 18TB parity drives.

Every month, 8TB of parity is needlessly checked.

Is it possible to have parity finish at the 10TB mark?

  • Community Expert

This is done because it is also important that all of the parity drive beyond the size of the largest drive is all zeroes so that when you later add a larger data parity is correctly managed without having to write anything new to the parity drive.

 

I guess in theory it could be handled differently when adding larger drives by clearing the additional parity space before adding the larger drive but that would add complication to that process.   I think there is probably an assumption made that if you are using parity drives larger than the biggest drive you will soon be adding data drives of a similar size so zeroing that additional space up front keeps it simple.

  • Author

And I totally understand that, but I'd be curious to see how many people are in my situation.

 

Most people (I'd guess) expand their storage relatively infrequently, and given SATA ports are finite, I go for the biggest, reasonably priced €/TB drive to expand, and usually more than one at once.

This usually means I'm replacing parity first, and putting the previous parity drives in the array.

In this case, even replacing two smaller drives, I came away with 12TB more storage, and the ability to add 18TB disks in future, instead of 10TB ones.

 

This isn't huge on the priority list, obviously. I just thought I'd flag it, given that something like 40% of the check (3 days, with parity tuning) is wasted every month.

When you add a larger data disk at some stage, the integrity of the parity disk must be valid for the added data size.

Checking the parity disk in its total ensures this is the case.

 

  • Author

Agreed. An implication of my feature request would be that the remainder of the parity would have to be checked at some point before the new disk is added.

 

But I think on balance a bunch of parity reads one time - when a bigger data drive is added - is better than a bunch of parity reads at every parity check when you're not running big disks.

 

As I say, just food for thought.

  • Community Expert

This would invalidate one of the benefits of using preclear when adding new disks in that you only have to stop the array for a minute or so as when you add a precleared disk as Unraid can assume that there is no update required to the parity disks.  If Unraid could not assume that the parity beyond the largest drive was guaranteed to be all zeroes assumption would break if the disk was larger than any of the current array disks as then Unraid would have to write new parity information.

It would also give an issue when you replace an existing disk with a larger disk and a data rebuild is done. The rebuild relies on valid parity from start to finish.

 

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.