Recover raid 5 array + LVM2
I explain what hapened last day. I had a raid 5 + lvm 2 array and lost a disk. While it was recovering the array, the power was down and recovery stopped.
When I recovered the power and start the machine the array was unable to start, it was degraded and the states were different between disks. Every disk watched the array in a different way. I put you the states:
So I did that and it started to recover, it took abaout 9 hours until it finished but the array didn't started of course... :(
I post you the new raid devices states:
Another thing is tha all the devices say that there is no superblock
It seems that 3 disks are "active sync" but the states of the others doesn't match between them. And /dev/sdd1 is spare, the disk I added manually at first to start the recovery process.
Can I do something to recover the array? Have I lost my data?
I am totally lost and I don't know what to do next.
Thanks all and I am waitng for your answers.
Have you tried recovering the superblock? I've done it once or twice with similar issues but I can't remember all the steps I did. I used knoppix to fix the problem.
Thanks for your answer, I stopped doing tests over the array because I don't want to break it definitely.
If I try to recover the superblock, will it ruin the array or the data?
Well after a month of the disaster, finally I manage to recover the array.
I put the link where it is explained how to do it and the most important, the situation the things happened. It is very important to know what happened and the order of them.
Just to sum up, I lost 2 disks from a 4 disk array. First I lost one due a power failure and while it was recovering another started to fail with i/o errors.
I hope it will help somebody else.
|All times are GMT -5. The time now is 04:18 PM.|