Parity Drive Failing & Replace Procedure


Recommended Posts

My current array consists of a total of 9 drives (5 X 8TB, 2 X 3TB, 1 X 4TB and 60GB SSD cache). Obviously my parity drive is one of the 8TB models. I started getting notices the other day that the 4TB and the 8TB parity drives were throwing errors. Specifically that the parity had 198 errors with current pending sectors at 8 and offline correctable at 1. The  4TB has 768 errors. The 4TB was marked as being offline and is no longer able to be mounted. Furthermore, I performed a read check on the 8TB parity drive and it finished with 128 errors after some 18 hours running.

 

1812808578_Unraiddrivestatus.thumb.png.f27d0f80a0ef09f788ac12aa518bf2f2.png

1602400437_UnraidparitydriveSMARTreport.thumb.png.5867defb941de27cd316a6579bf64a13.png

 

My question is this: one of my 8TB drives shows as only having a few (under 10) gigabytes written to it. Can I have that drive safely take over for the 8TB parity drive without losing any information or do I need to go purchase a new 8TB drive and add it to take over the parity. In either case, what is the procedure to do this safely? I looked at two articles from the wiki (the parity swap procedure & replacing a data drive) but am unsure which applies here.

 

TIA for any and all input..

Link to comment

Thanks for your reply

 

OK...Makes sense. 2 thoughts come to mind though. a) I don't know how to mount it and the GUI will not let me and b) to the best of my knowledge no data has been written to it as of yet. Doesn't my config write up to 50% of each drive sequentially through to the end of the array? For instance disk4, 5 & 7 have no data written to them yet since disk3 has not reached 50% full yet. Picture below to illustrate.

 

1488454252_Unraidvisualdrivestats.thumb.png.97a3b548463ac53ddaa0302137f5638c.png

 

 

Link to comment

The disabled but emulated disk6 does seem to be mostly empty but it is still part of parity. I don't see the disk in your diagnostics though. Do you still have it? If you could attach it we could take a look and see if there is anything wrong with it.

 

The only way to maintain the parity you already have would be to rebuild disk6. And parity swap doesn't apply in your current situation

 

You could copy the data from that 8TB you mentioned (and also the data from the emulated disk6) to another disk then set a New Config without disk6 and with that other 8TB assigned as parity.

Link to comment

I don't understand what you mean about mounting the disk. The disk is emulated and the emulated disk is showing the xfs filesystem so you should be able to read the emulated disk6 even if you dropped the actual physical disk6 in a well.

 

Are you saying you have tried to manually mount the disk some way, or are you just confused about the meaning of some of these terms?

Link to comment
Just now, johnnie.black said:

Since parity is failing and there's no data on disk6 IMO you should just do a new config with the remaining disks, or use a new disk for disk6, and resync using a new parity drive.

 

He wanted to use one of his data disks to replace parity so

 

1 hour ago, trurl said:

You could copy the data from that 8TB you mentioned (and also the data from the emulated disk6) to another disk then set a New Config without disk6 and with that other 8TB assigned as parity.

 

Link to comment
1 minute ago, trurl said:

You could copy the data from that 8TB you mentioned (and also the data from the emulated disk6) to another disk then set a New Config without disk6 and with that other 8TB assigned as parity.

That's a good plan, and since disk6 is empty no need to copy the data from the emulated disk.

Link to comment
Just now, johnnie.black said:

That's a good plan, and since disk6 is empty no need to copy the data from the emulated disk.

I wasn't sure if it was empty from looking at diags. Could be his disk7 is empty too. I assume that is the one he wants to use as parity.

 

OP, you can click on the folder icon at the far right of disk6 and disk7 to see if there are any contents.

Link to comment
2 hours ago, trurl said:

I don't understand what you mean about mounting the disk. The disk is emulated and the emulated disk is showing the xfs filesystem so you should be able to read the emulated disk6 even if you dropped the actual physical disk6 in a well.

 

Are you saying you have tried to manually mount the disk some way,

I cannot figure out how to actually access it via the GUI as shown here. 

1848149512_UnraiderrormessageonDisk6.png.379d1a5daa7bb2e1e8f2181123400bf1.png

2 hours ago, trurl said:

 

or are you just confused about the meaning of some of these terms?

That is extremely likely TBH. But from what I am understanding now, is since disk6 is emulated that when I click on folder contents it is an actual representation of that drive. Is that correct? And that by doing the same for disk7 that it is also void of any files?

2109823816_UnraidcontentsofDisk6.png.043ac48b119bbe9405dbfd53b6afd98b.png380643783_UnraidcontentsofDIsk7.png.fcbcb558e23a9cc73d4fdd29ef885167.png

 

Hopefully I am making enough sense to help you help me. I very much appreciate all the questions everyone is asking to clarify the situation. Thank you for not getting frustrated by my lack of understanding. 

Link to comment

We should try to remember to check the physical disk6 later after everything else is square just so we can decide if the disk is worth keeping for some possible future use.

 

But for now, make careful note of each of the disk serial numbers. The screenshot you already posted is a good record, or you can print out that page. And we can also see them in the diagnostics you already posted. So they aren't in any danger of getting lost. But you will need to know them yourself when you complete the next steps.

 

This is somewhat from memory and somewhat from how I know it needs to work, so if you have any questions as you go ask.

 

Go to Tools in the webUI then New Config - Retain All. You will get a chance to change your disk assignments before starting the array.

 

Set disk6 and disk7 to Not Assigned.

 

Set the parity slot to your new parity disk, the disk that was the former disk7.

 

Do NOT check the box saying parity is valid. If it also presents you with a box to Format anything, do NOT check it but come back here with a screenshot.

 

Start the array to begin parity build.

 

Link to comment

Sorry it has taken me through today to address this. I have the array stopped and am in the new config menu with the retain all setting checked. I am presented with this rather ominous warning however.695329701_2018-12-1014_34_20-NASNASHURRAY_NewConfig.thumb.png.80d7d52c2f32329247f4817f0f79f88b.png

 

I'm a little hesitant to move forward. However, in the interim the amount of errors on the parity drive has exploded to this1394699851_Unraidmoreparityerrors.thumb.png.541151bbfcb0170e5cf1ecda012cdf6d.png

 

I guess my ultimate question is how much danger am I in of losing everything on this array?

 

Link to comment
46 minutes ago, someoneotherthanyou said:

I am presented with this rather ominous warning however.

Yes, but you're no trying to replace a drive, you're trying to remove a drive from the array, and a new config is needed for that.

 

40 minutes ago, someoneotherthanyou said:

Addendum to above: I mistakenly thought that the array had stopped. It has been attempting to stop the array unsuccessfully for over 45 minutes now but keeps having issues unmounting disk shares. 

Make sure nothing else is using the disks and no terminal/ssh session is idle on one of the mounted devices, close them all.

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.