Data Rebuild - Parity Check


Go to solution Solved by clowncracker,

Recommended Posts

Do you think it's worth testing the parity drives even if they are brand new?  I wasn't having any issues until a drive failed mid-parity check (non-correcting), so it makes me think the parity drives cannot be the problem.  If I did want to test them, I should remove both parity disks and put in a new drive and rebuild parity?

Part of me is concerned about rebuilding the parity disks if one of the data disks might be an issue.  If another drive fails during a parity rebuild, then at that point won't I have corrupted data permanently?


If not testing parity, which disk do you think is most likely the culprit?  Disk 3 that was just recently replaced that started the whole problem?  Disk 4 that has some relocated sector counts? Or Disk 10, which is the newest disk in the array?

Edited by clowncracker
Link to comment
4 minutes ago, JorgeB said:

After a new config with a missing disk parity won't be valid, so you fir need to sync parity, then run a non correcting parity check

Based on my comments what do you think about checking the parity drives?  Do you think it's worth the risk, especially since they are essentially brand new?

Something else I'm curious about.  If I start the array with a new config and a disk missing, won't I just lose the data currently on the disk?  Since it isn't on the array and it won't be emulated since the disk doesn't exist in the new array.

Edited by clowncracker
Link to comment
On 11/9/2023 at 6:50 PM, clowncracker said:

Something else I'm curious about.  If I start the array with a new config and a disk missing, won't I just lose the data currently on the disk?  Since it isn't on the array and it won't be emulated since the disk doesn't exist in the new array.

Yes (as you also will not have valid parity at that point).

Link to comment
18 minutes ago, clowncracker said:


So I shouldn't be deselecting any drives then?  What is the functional difference between doing a sync by creating a new config and and just doing a correcting parity check?

Functionally they are identical.   

 

In one case you do not tick the Parity is Valid box after New Config so Unraid knows it has to rebuild parity with the new drive set and starts doing this as soon as you start the array.    In the other case you incorrectly check the Parity is Valid box so Unraid thinks it does not need to rebuild parity when you start the array, but when you run the correcting check it ends up having to correct sectors that do not agree with parity.   I have a feeling that there may be a slight performance difference in that the sync is likely to be slightly faster.

 

In both cases until you have valid parity your are not actually protected against a drive failing.

Link to comment
  • 3 weeks later...

I think I found the issue, it looks like mover started running during the parity check.  I thought that couldn't normally happen, but that explains the writes to drive 3 and the parity drives.  I noticed the amount of free storage on my cache was increasing, so I paused the parity check and sure enough mover was running.  Once mover is done I'll resume the parity check and see if that solves the problem.

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.