Jump to content

[SOLVED] Parity drive toast


Recommended Posts

8 minutes ago, Theldron said:

Hi all,

 

How do I replace the parity drive? Do i need to do a parity check before replacing it?

 

image.png.11aedd846bf100b89ff594c700ca4d78.png

 

Any help would be appreciated

Just stop the array, assign the new parity drive in place of the old one and restart the array to build parity onto the new drive.    No point in doing a parity check as you are about to discard the current contents.

 

Link to comment
1 hour ago, Theldron said:

Sorry just to double check is the process the same as a data drive? With stopping the array unassigning the disk, power down, replace drive, start server, assign parity drive, start array?

 

Thanks mate.  Do you think there is a chance of data corruption?

Yes - that is the correct procedure.    The only difference is that in this case it will be building new parity based on the data drives rather than trying to rebuild the data on to an array data drive.    

 

There should be no corruption unless you already have corruption on the data drives.    Parity will be built to correspond to whatever is already on those drives.

Link to comment
3 hours ago, Theldron said:

Do you think there is a chance of data corruption?

Rebuilt disk will likely have some corrupt data, unless by chance the read errors on parity coincided with empty sectors on disk2, if you still have the old disk use it to re-sync with a new parity then upgrade again.

Link to comment
49 minutes ago, johnnie.black said:

Rebuilt disk will likely have some corrupt data, unless by chance the read errors on parity coincided with empty sectors on disk2, if you still have the old disk use it to re-sync with a new parity then upgrade again.

I missed the fact the parity drive failed during rebuild :(.

 

if the original 1TB drive is still intact then it might be best to assume the rebuilt drive2 has nothing useful on it?   You can check if the 1TB drive mounts under Unassigned devices and appears to contain the expected data..    In which case the thing to do will be to get the array back into a useable state with valid parity and then reformat disk2 to set it back to empty and copy the data from the 1TB drive.

Link to comment

 

1 hour ago, johnnie.black said:

Rebuilt disk will likely have some corrupt data, unless by chance the read errors on parity coincided with empty sectors on disk2, if you still have the old disk use it to re-sync with a new parity then upgrade again.

Hi both, thanks for that.  I still have the 1TB drive, in a USB docking station ready to clear - glad I held off.  How would I go about doing a re-sync?

 

31 minutes ago, itimpi said:

I missed the fact the parity drive failed during rebuild :(.

 

if the original 1TB drive is still intact then it might be best to assume the rebuilt drive2 has nothing useful on it?   You can check if the 1TB drive mounts under Unassigned devices and appears to contain the expected data..    In which case the thing to do will be to get the array back into a useable state with valid parity and then reformat disk2 to set it back to empty and copy the data from the 1TB drive.

From what I remember the 2nd drive was barely used in the array. I still have the 1TB drive - phew!!!  So could I copy the data straight from the 1TB to the 2nd 2TB drive in the array once it is all back up and running, from the docking station as I am using all my sata ports on the motherboard?

 

I have just ordered a new 2TB drive to replace the parity.

 

Link to comment
3 hours ago, itimpi said:

Yes - that is the correct procedure.    The only difference is that in this case it will be building new parity based on the data drives rather than trying to rebuild the data on to an array data drive.    

 

There should be no corruption unless you already have corruption on the data drives.    Parity will be built to correspond to whatever is already on those drives.

Should I format the 2nd 2TB drive in the array before replacing the parity drive so the corrupt data is not copied?

Link to comment
Just now, johnnie.black said:

-Tools -> New Config -> Retain current configuration: All -> Apply

-Assign old disk2 as disk2

-Assign new parity

-Start array to begin parity sync

 

Note: Any data written to disk2 after the upgrade will be lost

Right sorry I am very new with Unraid, please bare with me.  So I would assign the old 1TB drive replacing the new 2TB drive that I put in yesterday. Assign the new parity drive and let the parity sync to the new parity drive.  Then when that is done, I could replace the 1TB with the new 2TB in the array?  Is that right?

Link to comment
7 minutes ago, johnnie.black said:

Yep.

Thanks mate.

 

17 minutes ago, johnnie.black said:

-Tools -> New Config -> Retain current configuration: All -> Apply

-Assign old disk2 as disk2

-Assign new parity

-Start array to begin parity sync

 

Note: Any data written to disk2 after the upgrade will be lost

Sorry I know I am a pain. Would I retain current configuration before I unassigned the new array 2TB disk and replaced it with the old 1TB or after?

 

So I would unassign the parity drive and new 2tb drive - retain current config - power down, replace parity drive and put in old 1tb drive - power up assign 1TB drive to disk2 - assign parity start array?

 

Sorry again.

Link to comment

Sorry just had a thought. I don't know how long it will take for the new 2TB drive to come with all the delays in deliveries etc.

 

So the new 2TB (current disk2) i have has already been precleared and confirmed OK. Could I reuse that after I pull it as the new parity drive and use the 1TB in the array until my new 2TB comes and then replace that for the 1TB drive?

Link to comment
  • JorgeB changed the title to [SOLVED] Parity drive toast

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