April 1, 20197 yr Hi, I've made a complete mess of replacing a data drive to make more room. Any help appreciated. I have lost the array configuration, as I thought I needed to update it. Unraid now thinks all drives are new. The actual status of the drives is: Parity 2 is the parity 2 drive. Disk 2 is disk 2. Disk 1 is the old parity 1 drive (but a disk clear started before I could stop it). Is there a way to start the array so that Parity 2 and Disk 2 are accepted, and used to rebuild Disk 1? Is so, how? Thanks in advance, Glen cupboard-diagnostics-20190402-0706.zip
April 1, 20197 yr Community Expert 10 minutes ago, GlenM said: Is there a way to start the array so that Parity 2 and Disk 2 are accepted, and used to rebuild Disk 1? Is so, how? There is using the invalid slot command, but if you still have old disk1 it would e easier and less prone to mistakes configuring the array as was with the trust parity option, and then do a normal replace.
April 1, 20197 yr Community Expert You are going to have to tell us in detail exactly what you did. 13 minutes ago, GlenM said: I have lost the array configuration, as I thought I needed to update it. There isn't a procedure specifically described as "updating" the array configuration. Do you mean you used New Config? New Config would be more correctly described as "resetting" the array configuration. And there is some further missing details implied by this: 13 minutes ago, GlenM said: Disk 1 is the old parity 1 drive (but a disk clear started before I could stop it). since New Config by itself would not clear any disk. If you had set a New Config and then later added Disk1 then it would begin to clear it. And possibly there are a lot of other details you have left out that would impact parity2 (and maybe even disk2). so without further details I don't see how we can know whether parity2 and disk2 would be able to successfully rebuild disk1.
April 1, 20197 yr Author Full confession on steps below. On reflection, I have no idea why I did what I did... Array was originally: 2Tb parity 2Tb data (disk 1) 1Tb data (disk 2) 120Gb cache The plan was to put in a bigger parity drive and use the old parity drive to replace disk 2. Removed disk 1 and inserted new 4Tb Pre-cleared 4Tb Tried to mount Disk 1 again but was treated as a new disk. I didn't understand implications and disk rebuild started. For unknown reasons, server rebooted several times (it's an old machine). Couldn't find a reason for reboots, figured I'd corrupted disk 1, so went with copying parity (without fully understanding). No more issues with rebooting. Mounted 4Tb as Parity 2. Completed parity sync. Created new config with all disk assignments kept. Mounted Parity 2 in parity 1 slot (my OCD only exceeded by my ignorance), mounted old parity 1 as disk 1. Disk clear began on old parity 1. Read up on parity disks, tried to put parity 2 back - created new config but lost the assignment for all disks. Stopped and asked for help. Even if I can just recover Disk 2, that would be better than nothing. Edited April 1, 20197 yr by GlenM
April 1, 20197 yr Community Expert In some ways that's even more confusing than your original post. 1 hour ago, GlenM said: Removed disk 1 ... Tried to mount Disk 1 again but was treated as a new disk. This sounds as if you must have at least partially cleared the original disk1. 1 hour ago, GlenM said: figured I'd corrupted disk 1, so went with copying parity (without fully understanding). What do you mean by "copying parity". The only procedure that has "copy parity" is the parity swap procedure. Were you trying to follow some guide for the parity swap procedure? 1 hour ago, GlenM said: Mounted 4Tb as Parity 2. Completed parity sync. Created new config with all disk assignments kept. Mounted Parity 2 in parity 1 slot, mounted old parity 1 as disk 1. Disk clear began on old parity 1. Then you built parity2 after already making those other mistakes. So obviously parity2 can't possibly undo any of those mistakes. And then you tried to use parity2 as parity. Parity and parity2 aren't at all the same, they are based on different calculations so they will be independent, and they can't be exchanged. I don't see anything in your descriptions that suggests disk2 would have been affected by any of this, but I also have no confidence that your descriptions are accurate and complete. I would say disk1 data is lost. You might try a New Config with only disk2 assigned and see if you can see its data. That is my reading of the situation anyway. If you can add anything else maybe it would help, but at this point I doubt it. Or maybe someone else will have another idea.
April 1, 20197 yr Author I've remounted the original Disk 1 and 2 and at first glance, they seem to be OK. I'm hoping that when disk 1 was treated as a new disk and a small amount of the data was rebuilt from parity, it was just rewriting exactly the same data and the disk is fine. It's not critical data, so can take the risk. Thanks for help. Edited April 1, 20197 yr by GlenM
April 1, 20197 yr Community Expert I guess there's not much point in trying to really figure out exactly what you did. If you think your data is OK them maybe it is. So what would you like to do now? Please don't make any further changes without advice.
Archived
This topic is now archived and is closed to further replies.