Jump to content

Parity Check Errors


Go to solution Solved by JorgeB,

Recommended Posts

Hello! Long time Unraid users and I have never encountered this issue before. A recent scheduled parity check reported 8 sync errors. According to the Unraid scheduler settings, this was a non-correcting parity check. I would really appreciate some guidance to understand the steps I need to take. Thanks! Diagnostics attached. 

tower-diagnostics-20231031-2142.zip

Edited by JPunraid
Link to comment

Thanks very much for the assistance.

 

I ran another non-correcting parity check as instructed. New diagnostics attached. 

 

I looked through the logs and it looks like the parity check found the errors in the same sectors. The only error I can't be certain of is the very first error, as it was logged ahead of all the log spam. I noted the sectors from each check below. 

 

I also just ran short smart tests on all disks and no errors were thrown. 

 

image.png.f8c61eb908843903cd6e6a21d3c3d74c.png

 

Is there a way to determine which files these errors are associated with? Or is there a way to determine whether the errors are on the array drives versus the parity drive?

 

Thanks so much for the assistance!

tower-diagnostics-20231104-0903.zip

Link to comment
12 minutes ago, JPunraid said:

Is there a way to determine which files these errors are associated with? Or is there a way to determine whether the errors are on the array drives versus the parity drive?

No practical way to find what files might be affected (if any).

 

Since the write order is data drives before parity then as long as you do not have a hardware error you have to assume it is the parity drives that are out of sync.   The remedial action is to run a correcting parity check.   This should report the same number of ‘errors’ but it corrects them so that subsequent checks should find 0 errors.

  • Thanks 1
Link to comment

Understood, thanks very much for the input and insight. 

 

In the last year or so, I have been generating md5 hash files for anything I add to my server. Coincidentally, the server was off for most of the month of October, so I don't actually have that many new files to check. I run parity checks every month, so, presumably I should be able to check the new files that have been added to the array since the last known good check.

 

Either way, I will take the suggested action and run a correcting parity check and then a non-correcting check to validate that things were fixed. 

 

Appreciate all of the help on this.  

 

 

Edited by JPunraid
Link to comment

If you have checksums that is the way to confirm whether any files that are corrupt.

 

If you are using btrfs or ZFS as the format of drives in the array these format have built-in check-summing of files.   However XFS is more frequently used on array drives as it is more performant and less prone to file system corruption.

  • Thanks 1
Link to comment

I verified the checksums of every file I could find that was dated with a creation date after my last known good parity check. All checksums matched. 

 

I also ran a correcting parity check, and on this run the same 8 errors with matching sector locations were found and corrected. 

 

I just kicked off a non-correcting parity check. 

Link to comment

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...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...