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.

Question about cancelling a parity check prematurely

Featured Replies

My parity disk is 6 TB, but the largest disks in the array are 4 TB. Once a parity check goes beyond 4TB without errors, does it really matter if I cancel it?

I won't do so, since I only have another 2 hours to go, but I was just wondering about this in theory.

You should let it complete at least once to ensure the parity disk is indeed all good in the last 2TB (should all be zeroes).      But after that, there's no real harm in stopping it after the 4TB point.    You simply wouldn't know about it if one of the bits on the parity disk happened to "flip" in the last 2TB.

 

  • Author

Thanks! That's what I plan to do.

 

In theory though:

Even if the parity in the last 2 TB is not all zeroes, would that not get corrected when I have disks larger than 4 TB in my array and write to them? Or is there no real-time checking of parity as it's being written (ie it just "adds" to what is already there)?

It depends on how you add the new disk.

 

If you ADD a pre-cleared disk, it's assumed that there are no changes to parity, since the disk is "known" to be all zeroes.    So the first time you did a parity check after adding it, parity would THEN be corrected.

 

If you UPGRADE an existing disk to 6TB, the "extra space" at the end of the previous disk's size is actually computed from other disks => the result SHOULD always be a zero, but in the case of an erroneous parity bit, the corresponding bit on the expanded disk wouldn't be a zero.    In this case there wouldn't be an error on the next parity check, since the bit on the expanded disk was set to match what was there.

 

But in either case, it wouldn't really matter => in the first case, parity would simply be corrected;  in the second case, parity would suddenly be "correct" because the bit on the expanded disk was set to make it that way.

 

 

Thanks! That's what I plan to do.

 

In theory though:

Even if the parity in the last 2 TB is not all zeroes, would that not get corrected when I have disks larger than 4 TB in my array and write to them? Or is there no real-time checking of parity as it's being written (ie it just "adds" to what is already there)?

 

There is no real time checking of parity. UnRaid assumes parity is correct and seeks to maintain it with each write. Unlike traditional RAID, corrupted parity is completely silent. Even if it is completely FUBAR, a person's array would work with absolutely no sign of corruption. But if a disk were to fail, the lack of accurate parity would be drastically visible. Similarly, if a disk were replaced or upsized, the corruption would also be obvious. But in adding a new disk the corruption would not be evident. If parity is only minimally inaccurate, recognizing corruption becomes very difficult, unless something like md5s are maintained on each file.

 

So run a monthly parity check to ensure and give confidence that parity is accurate. I have run them for years and unRaid had proven itself quite accurate and capable in maintaining parity. The only exception is an extremely infrequent hard shutdown which sometimes generates a handful of sync errors (parity mismatches) which the parity check corrected by relying on the data disks.

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.