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.

Parity Checking while Writing to Array?

Featured Replies

Can someone point me in the direction and or maybe explain how performing a Parity Check while updating/writing data to the array works? I think I understand that a Parity Check is more or less a "verify process" more than a ""correct or fix process" where you might otherwise write new data to the array. When I'm reminded of Scheduled Parity Checks I tend to get paranoid about new data being randomly written to the array by misc docker containers and or guest vms etc... It seams like "Parity Corrections" are more or less "on the fly as detected" rather than during a Parity Check Process?

 

like, If a manual or scheduled Parity Check starts and somewhere about 35% or so parity check complete, I update and or write new data to the array, is the parity check effected at all? What if it checks a parity bit that I or a docker happen to be updating at the time? How does parity check now its valid or not other than being a 0 or 1 in the checking process?

 

How does Parity checking and or "writing corrections" work when performing a Parity Check?

 

Thanks for any info that can be provided!

 

~SOL

Solved by apandey

  • Solution
20 minutes ago, SomeoneOnLine said:

somewhere about 35% or so parity check complete, I update and or write new data to the array, is the parity check effected at all?

There should be no effect from data point of view. Parity needs to be valid at any point on every disk sector. The read write mechanism needs to be consistent and unraid guarantees that. You will be checking the state either before or after your ongoing writes, never an inbetween state. Same with writing corrections

 

You may still want to minimize array access during parity checks, because fast parity checks depend on sequential IO. If the drive heads have to move between parity read and data read often, that leads to very slow random IO. So there is a performance concern 

  • Author
12 minutes ago, apandey said:

You will be checking the state either before or after your ongoing writes, never an inbetween state. Same with writing corrections

Thank you! That is what I was hoping and thinkg was the case. I was just looking to verify.

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.