[SOLVED] Parity Swap Procedure


Recommended Posts

Hi Guys,

Ive just read the process online for this (https://wiki.lime-technology.com/The_parity_swap_procedure), I just have a question before I take the plunge. I currently have a failed data disk (3TB) and am taking the opportunity to upgrade the parity to 6TB and replace the faulty data disk with a 6TB also. As the existing data disk is faulty and says 'Contents Emulated', am I at risk of losing all of the disks data if I go about this process in the wrong order? ie if I swap out the parity, it will rebuild from the data drives, but drive 6 is faulty. So do I need to do the disk replace first, but unable to use the 6TB?

 

Apologies if this is a stupid question I just dont want to risk the data loss.

 

Thanks

 

 

Edited by shimee
solved
Link to comment

Thanks trurl,

I guess Im not doing exactly what that process speaks of, in that im not re-using the old parity as a data disk. I think if I was there would be no issue as the new parity drive is larger than the old one. 

 

I assume, probably incorrectly, that when a disk says Contents Emulated, it means the data on the parity drive is being referenced as the data for that disk? If so, I am assuming when the parity is rebuild from disk data, I'd lose my faulty disk data.

 

 

Link to comment
7 hours ago, shimee said:

I assume, probably incorrectly, that when a disk says Contents Emulated, it means the data on the parity drive is being referenced as the data for that disk? If so, I am assuming when the parity is rebuild from disk data, I'd lose my faulty disk data.

Not entirely sure I understand what you meant, but it does seem mostly incorrect. unRAID emulates a disk by reading parity plus all the other disks. Parity by itself doesn't have the capacity to reconstruct any and all disks in your array, obviously.

 

And the parity swap procedure doesn't rebuild parity at all. It copies parity and then rebuilds the data disk.

 

Parity isn't particularly complicated, and understanding it can help make a lot of things about unRAID make much more sense.

 

See here for a better understanding of how parity works:

 

https://wiki.lime-technology.com/UnRAID_Manual_6#Parity-Protected_Array

Link to comment

Aah ok, aside from the misunderstanding of the way parity works, I was mostly worried that the parity swap would do a parity rebuild.

 

Thank you for the help, now the long journey begins....preclear has started :)

 

 

Edited by shimee
Link to comment
6 hours ago, johnnie.black said:

IIRC you can replace the disk to rebuild with a a different one before starting when unRAID pauses after the parity copy.

 

Wasn't sure about this, but I was wrong, you'll need to rebuild to the old parity, only after that can o upgrade that disk, unRAID pauses before the rebuild but it doesn't allow to rebuild to a different disk.

Edited by johnnie.black
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.