Jump to content

How can I know the files about the parity check errors.


Recommended Posts

1 hour ago, traciemiglionico said:

Unraid finished the parity check and 870 errors found.

How can I know which files relate with the errors?

Maybe I can rebuild the files if I can find them.

You cannot know which files are involved.   You can find what sectors were involved by looking at the syslog, but not what drive those sectors were on. 

 

Have you had any unclean shutdowns - if so then a smallish number of errors are expected.  Since Unraid does not know what files are involved when you run a correcting parity check Unraid updates parity to match the data drives as it is most likely they are OK and it is parity at fault.

 

If you use XFS as the array file system then you need to have check-sums of your files to identify any that might be corrupt.  The File Integrity plugin can help with this going forward.  If you are using BTRFS (or ZFS with 6.12) then running a check on a drive will cause any corrupt files to be listed in the syslog as those file systems have built-in check-summing on all reads or writes to a file.

Link to comment

Yes, I think so.

One day there was an unexpected power failure, and the system was still running normally after restarting.

However, after the next scheduled parity check, some errors ware indicated in the log.

 

PS: My data drivers running with BTRS file system.

 

You said "running a check on a drive will cause any corrupt files to be listed in the syslog". Do you mean running the SCRUB check in each data driver?

 

image.thumb.png.ff74d0a9a3f45ea7f069d2d887440216.png

Link to comment
  • 2 weeks later...
  • 3 months later...
15 minutes ago, Hutschipferd said:

Unraid is doing a parity check and is comparing all drives, and thus the files on there, against the parity.

That is not quite correct - it is comparing the sectors on each drive against parity.    It has no idea of what the contents of those sectors means.  

 

17 minutes ago, Hutschipferd said:

If Unraid now finds an error its unable to tell me as a user which file or even which drive it was?

 

That is the way parity works and is not Unraid specific.     You need a different system that has checksums to detect more locally any corruption.  That is one reason people might use BTRFS as the file system on the array as it has built-in check-summing of the all data so can detect corruption and tell you exactly which file is affected.

Link to comment
3 minutes ago, itimpi said:

it is comparing the sectors on each drive against parity.    It has no idea of what the contents of those sectors means. 

 

If it reads a sector of a drive to check against the parity, unraid doesnt know what drive that sector it is checking comes from? Where is it pulling the sector from, thin air?

 

I dont want to sound mean, it just sounds baffling.

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