Replacing 2 drives


scottw

Recommended Posts

I have 5 2tb drives (including 1 parity) running on Unraid 6.5.3
I have a drive that is giving errors and looks to be failing. I bought 2 4tb drives to replace the failing drive and the parity. I started by replacing the parity because I cant replace the failing drive with a bigger drive before replacing the parity.
I am in the middle of a parity rebuild and it is taking forever because of the "bad" drive. It ran overnight and got to 35% and the ETA jumps between 9 hours and 350 days. Do I just leave it go or should I (can I) put the old parity back in and figure out how to replace the failing drive first?

 

Thanks,

Scott 

Link to comment

Thanks! Just trying to learn but how is putting the old drive back in better than syncing with this new drive? If I put the old drive back in, will it not try to rebuild that drive from scratch or will it use the data thats already on the old parity drive?

 

I plan to do what you said, just trying to learn :)

 

Thanks for the help,

Scott

Link to comment
17 minutes ago, scottw said:

If I put the old drive back in, will it not try to rebuild that drive from scratch or will it use the data thats already on the old parity drive?

By using the new config with the "trust parity" option, this assuming nothing changed on the array since you added the new parity, still:

1 hour ago, JorgeB said:

now old parity won't be 100% in sync

because of mounting the array without it, even if no data was changed.

 

 

 

Link to comment

Having a hard time starting the array. 

I shut down the machine, removed the "new" parity drive and put the old one back in. Started the machine and it has been stuck for 30 minutes trying to start the array. I think the failing drive may be causing issues with it. Can I remove the failing drive, boot up, re-assign the old parity disk and do the new config without losing data?

I am also trying to turn off the auto-start of the disks but it is not letting me change anything while the array is stuck starting.

 

Sorry for all of the questions,

Scott

Link to comment
23 minutes ago, scottw said:

Can I remove the failing drive, boot up, re-assign the old parity disk and do the new config without losing data?

You can use the invalid slot command if you have a spare disk of the same size or larger, I can post the instructions for that.

 

26 minutes ago, scottw said:

I am also trying to turn off the auto-start of the disks but it is not letting me change anything while the array is stuck starting

If you can't do it in the GUI disable array auto-start by editing disk.cfg on your flash drive (config/disk.cfg) and changing startArray="yes" to "no".

 

Link to comment

Again, thanks for your help. I put the original parity drive back in, did the New config and started the array with the "trust parity" option.

It took a while but I was able to get the array to start with the "old" (original parity drive) but the "bad" disk is now showing disabled.

image.thumb.png.1ef7651a813a27dbe71e5cb0f5438d31.png

 

I have 2 new 4tb drives but dont think I can replace that bad drive with one of those yet because my parity is only 2tb, right?

 

Just verifiing, before I cause anymore damage :), what I should do next.

 

Thanks again!!!

 

Scott

Link to comment

Running step 14 now but have question when it is done.

image.thumb.png.c2f320514a93229cbc94df3c1c798a93.png
I have a new 4tb drive in for the new parity and the old parity drive that I am copying from will be removed from the system. I have another 4tb drive that I am replacing the bad drive with. 

After step 14, can I power down, replace the old parity drive with the new 4tb and then resume to step 15. 

Or should I just follow the process and rebuld onto the old parity drive and then replace it after the entire process is done.

 

I hope that makes sense :)

 

Scott

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.