Zorac (zorac) wrote,
Zorac
zorac

  • Mood:

Fun with hard disks

Ah, the joys of data recovery! First we have a disk that's causing it's server to throw errors left, right and centre. After replacing it, we had to try and retrieve it's contents: The disk came from a FreeBSD system, and was originally part of a RAID set-up, so had ended up as a 1-disk array. We had to do the recovery on a Linux box - which uses a different partitioning system and doesn't recognise the left-over RAID crud at all. The trick was to create a loopback device onto the raw disk with an offset to skip over the raid header, thusly: losetup /dev/loop0 /dev/hdd1 -o 8192. This gave us a virtual device with the actual data partition in it, which could then be mounted by mount -tufs -oro,ufstype=44bsd /dev/loop0 /mnt/hd. The data could then be copied off to the new system.

The second duffer came from an NT box, but the BIOS wouldn't even recognise it, so we had to give that up as a lost cause. About 5 seconds after binning it, I realised that I've always wanted to dissect a hard drive - as did everyone else in the office. I've taken apart plenty of dead floppies in my time, but this was much more fun. Blithely ignoring the "Warranty Void if removed" stickers (some of which could only be seen after disassembling half the drive), we broke it down to it's component parts. Highlights include the disks themselves - possibly the most perfect mirrors I've ever seen (until they acquired grubby pawmarks), the heads (but they're so tiny) and a pair of surprisingly powerful magnets (as in you can barely pry them apart). Much fun was had by all.
Subscribe

  • Eat, drink, and be merry!

    ...for tomorrow we diet. And by "tomorrow", I mean in two or three weeks when the assorted left-overs, snacks and sweetmeats have finally met their…

  • ...is on holiday

    So, I've been in the south of France for a few days now. Naturally, I've chosen the first week in ages where the weather is sub-par. Thankfully it's…

  • "May you live in interesting times"

    Well, this has been an Interesting week. As regards interesting item one, I will say no more than to quote Morpheus: "Fate, it seems, is not without…

  • Post a new comment

    Error

    Comments allowed for friends only

    Anonymous comments are disabled in this journal

    default userpic

    Your reply will be screened

    Your IP address will be recorded 

  • 0 comments