Lost all my data ;-)

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 :) .

This seems like a great time to subscribe my RSS !

2 responses to “Lost all my data ;-)”

  1. Matt Trudel

    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.

  2. Stefano Forenza

    Sadly I don’t have the metadata of the drive, only the metadata of the other one.

Leave a Reply

Bills

Don’t forget to Subscribe

Latest Activity

Posts

  • Google this is ridiculous
    Google you’re doing it wrong. Very wrong. This is utterly ridiculous. It’s a screenshot with a standard Firefox browser, in the standard screen resolution (1280×800), on Read More
  • A step back from the open source
    One month ago, I created my first Android app. While the app was a paid one, the reception has been outstanding. I’ve gotten a fair amount Read More
  • Facebook shuts down EventPress development.
    When you’re a big company, especially one that makes its money on free web services and advertising, it’s very easy to say you love open Read More
  • Why Android is laggy
    Great post from Andrew Munn explaining some key differences between Android and iPhone/iOs, especially when it comes to rendering and smoothness of animations and why Read More
  • Google Plus keeps your data as much as Facebook does
    When you delete an account from Google+, Google promises you to delete all the data associated with your G+ profile. Well, I deleted mine some time Read More