Since Intrepid Ibex doesn’t support dmraid, and thanks also to a bug in the bootloader installation at the end of the procedure, my new Intrepid /boot partition wasn’t properly read at startup (the system kept on reading the old hardy partition).
Because of this, I had to find my way manually. But, in the middle of the process, I stupidly executed a command ( dmraid -rE /dev/sda ) which destroyed all my first disk metadata partition.
My raid setup was an Intel based Raid 0.
My /dev/sdb metadata is intact, anyone knows a way (or a tool) to restore my raid ? Seems like I lost everything
.












I never actually had to run it (thankfully!) but I found the following in the dmraid man pages:
”
If -E is added to -r the RAID metadata on the devices gets conditionally erased. Useful to erase old metadata after new one of different type has been stored on a device in order to avoid discovering both. If you enter -E option -D will be enforced in order to have a fallback in case the wrong metadata got erased. Manual copying back onto the device is needed to recover from erasing the wrong metadata using the dumped files devicename_formatname.dat and devicename_formatname.offset. Eg, to restore all *.dat files in the working directory to the respective devices:
for f in *.dat
do
dd if=$f of=/dev/${f%%.dat} \
seek=’cat ${f%%dat}offset’ bs=1
done
If device-path(s) is/are given on the command line, the above actions are restricted to those listed. Add -c to display RAID device names only and -cc for CSV column output of RAID device properties. See description of -c above for FIELD identifiers.
Here’s a link to the manpages: http://linux.die.net/man/8/dmraid
Hopefully it will help.
Sadly I don’t have the metadata of the drive, only the metadata of the other one.