Evan Martin (evan) wrote in evan_tech,
Evan Martin
evan
evan_tech

disk recovery, end

(Since this will be the last post on the subject, here's the brief recap: I had all my data on a mirrored RAID and then both disks failed within a few weeks of each other. My fault, stupid planning, etc. but it had pretty much everything that mattered to me. Here we are, a year later:)

I mailed caladri about libufs ('cause her name's on it) and she made the (in retrospect) obvious observation that I really should just try mounting the image in FreeBSD. So after a few failed attempts with different boot CDs, I found FreeSBIE, a FreeBSD live CD that includes gvinum. Then I mounted the image (man mdconfig), let gvinum recognize it, and ran an fsck on /dev/gvinum/raid. (I hadn't run an fsck back when the disk started going bad because you don't want to cause a bunch of writes on a failing disk...)

As far as I can tell, almost everything's back, hooray! It's been a year since I've seen this data, and I had pretty much thought it was gone for good.

This fiasco made me realize I was going about data protection the wrong way. It goes back to threat models, sorta: what was I trying to protect against? Mirrored RAID protects against disk failure in a high-availability sort of way, but e.g. a power supply hiccup or bad controller (or even user error) and the data's gone anyway. Much better is a real backup strategy, and though it's not nearly as fun as dorking around with vinum/LVM/etc. it can be done with comparable cost and effort.

And finally, the whole situation drives home a point that's been a recurring theme in my life: there's all this junk (memories, data, things) that seems like it'd be awful if you lost it, but really, it's not so bad. Ultimately it's just stuff, and all of the interesting bits are in my head.
Tags: disk recovery
Subscribe

  • blog moved

    As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • treemaps

    I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.

  • Post a new comment

    Error

    default userpic
    When you submit the form an invisible reCAPTCHA check will be performed.
    You must follow the Privacy Policy and Google Terms of use.
  • 11 comments

  • blog moved

    As described elsewhere, I've quit LiveJournal. If you're interested in my continuing posts, you should look at one of these (each contains feed…

  • dremel

    They published a paper on Dremel, my favorite previously-unpublished tool from the Google toolchest. Greg Linden discusses it: "[...] it is capable…

  • treemaps

    I finally wrote up my recent adventures in treemapping, complete with nifty clickable visualizations.