April 4, 201214 yr Can i reconstruct a data drive with the parity drive in an invalid state??? I believe the parity drive shows invalid only because it doesn't know of any previous parity checks. I had a data drive fail on me and I did not realize it was a bad drive at first (all drives were green)...thought it had something to do with an addon. I wiped the USB flash drive and reloaded Unraid 4.7 which is why I believe the parity drive shows invalid. I later realized it was a bad data disk and attempted to replace it but having trouble getting it to start the reconstruct procedure. When I install the disk, the LED indicator on the drive is RED and will stay RED. When I start the reconstruct procedure, I see all the other drives blink once, but then stop and I hear no drive activity.
April 4, 201214 yr Author I think I found it on another post....looks like it is working, which if it does will save me....lol ---------------------- initconfig command. then, BEFORE starting the array type; /root/mdcmd set invalidslot 1 to force unRAID to think disk1 is the disk to be rebuilt. Joe L. -----------------------
April 4, 201214 yr It won't work. You first needed to partition the drive. The easiest way this can be done is by assigning it as the only data drive and starting the array. The last person I helped made a spare flash drive and used it to partition the drive so he didn't screw up the working flash drive. Are you sure you didn't start a parity build?
April 4, 201214 yr Author It shows it is writing to disk1 and reading all other drives. While trying to figure out how to do it, I accidentally started a parity synch, however I stopped it quickly, it wrote 1415 writes before I stopped it. Screen shots attached.
April 4, 201214 yr Author Just took this one, the 1415 writes to parity was when I started the array before and it started synching parity, I stopped it, then found that command that tells it disk1 needs to be synched and started the array again and it took off writing to disk1 and reading all others.
April 4, 201214 yr Author Probly lost some of it, but I believe the vast majority should be there right?....what commands will I need to run to fix the file system and salvage what I can?
April 4, 201214 yr I'm not sure of the exact commands. You likely have to create the partition and then run reiserfsck on the partition using something like the --scan-whole-partition switch to find "lost" files. There is a utility around here somewhere to create valid unraid partitions and the basic reiserfsck commands are described in the wiki.
Archived
This topic is now archived and is closed to further replies.