Upgrade disk but other disk failed during rebuild. How to recover?


fuzzby

Recommended Posts

I have 10 disks in my array, 8 of them data disks. 

I upgraded Disk10 from 5TB to 8TB last night but during the rebuild another disk, Disk7 started spitting out 400Million errors. The rebuild finished but Disk7 was kicked out of the array and I am running in emulated mode. Furthermore, the data on the new Disk10 is corrupted.

 

Can I reinsert my old Disk10 back into my array to affect a recovery of Disk7? Would I use NEWCONFIG after putting in my original Disk10? How would I indicate in the newconfig that Disk7 is bad? Or can I set a newconfig with a missing disk7?

 

Thanks for taking the time to read this.

Edited by fuzzby
Link to comment
Furthermore, the data on the new Disk10 is corrupted.

That's expected

 

Can I reinsert my old Disk10 back into my array to affect a recovery of Disk7?

Yes if the array data was unchanged since the upgrade, this includes VMs and/or docker being off if they use the array, and for best results you'd need a same size spare disk to replace disk7.

 

 

Link to comment
1 minute ago, fuzzby said:

Also I do have changes since the upgrade but not many.

 

This will result on on some or a lot of files being rebuilt corrupt, and not necessarily newer files, impossible to know which ones unless you have checksums.

 

If you still want to proceed follow this, if not on latest unRAID update to v6.3.5 as you don't mention what release you're on and some older ones have issues with the trust parity procedure.

 

-Tools -> New Config -> Retain current configuration: All -> Apply
-assign any missing disk(s) including the new disk7
-check both "parity is already valid" and "maintenance mode" before starting the array
-start the array
-stop array, unassign disk7
-start array, check emulated disk7 mounts and contents look correct
-stop array, reassign disk
-start array to begin rebuild

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

 

This will result on on some or a lot of files being rebuilt corrupt, and not necessarily newer files, impossible to know which ones unless you have checksums.

 

If you still want to proceed follow this, if not on latest unRAID update to v6.3.5 as you don't mention what release you're on and some older ones have issues with the trust parity procedure.

 

-Tools -> New Config -> Retain current configuration: All -> Apply
-assign any missing disk(s) including the new disk7
-check both "parity is already valid" and "maintenance mode" before starting the array
-start the array
-stop array, unassign disk7
-start array, check emulated disk7 mounts and contents look correct
-stop array, reassign disk
-start array to begin rebuild

Thank you for these instructions! 

Link to comment
Sorry, to be clear I have two cache disks in mirror mode. I only have one parity

 

OK, so, and if disk7 is really bad, i.e., it didin't drop out because of a dodgy cable or similar, the above is your best option, still if the array data changed there will be some corruption on the the rebuilt disk, maybe you can also use the old one to recover some data.

 

 

  • Like 1
Link to comment
19 minutes ago, johnnie.black said:

 

OK, so, and if disk7 is really bad, i.e., it didin't drop out because of a dodgy cable or similar, the above is your best option, still if the array data changed there will be some corruption on the the rebuilt disk, maybe you can also use the old one to recover some data.

 

 

Thank you thank you thank you! It's always reassuring to discuss a battle plan with a combat vet! 

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.