Main menu


Advertisements

Originally created as a place for me to store some notes, this blog comments on my daily encounters with technology and aims to share some of this knowledge with fellow systems administrators and technical architects across the 'net. Amazingly, it's become quite popular!

SmartFeed by FeedBurner Subscribe to the site feed.

If you find the information here useful, then please consider linking to this site.

Recent Contributions

Tag cloud

Active Directory Adobe ADSL Apache Apple BizTalk Server Blogger Blogging Bluetooth CA Certification Configuration Manager (SMS) Dell Desktop Search Digital photography DNS Domain names DRM Dynamics CRM E-mail Exchange Hosted Services Exchange Server File formats Flash Forefront Friends Front Row FTP Google Green computing Groove History Host Integration Server HP Humour IAG IBM/Lenovo IIS iLife Industry trends Instant messaging Internet iPhone iPod ISA Server iSight IT law IT Operations iTunes Java Linux Live Meeting Live/Office Communications Server Macintosh Mainframes Malware Microsoft Microsoft.NET MIIS Mobility Money Motoring MS-DOS NetWare Networking hardware Networks Novell Office OpenOffice Operations Manager OS deployment OS X Outlook P2P Parallels Desktop Patch management PC hardware Photography Photoshop Podcasts PowerPoint Press coverage Professional skills Project Proxy Server QOS QuickTime Real Player Remote access RFID RSS SAP Scripting Search Security Server hardware SharePoint Site notices Social networking SoftGrid Software licensing Solaris Spam SQL Server Storage Symantec System Center Tablet PCs TCP/IP Telephony TV Useful books Useful software Useful websites Virtual Infrastructure Virtual PC Virtual Server/Hyper-V Virtualisation Visio Visual Studio VMM VMware VMware Fusion VMware Player VMware Server VMware Workstation Waffle and randomness Web browsers Web services Website development Wi-Fi Windows Windows 2000 Windows 7 Windows 9x Windows Home Server Windows Live/MSN Windows Media Windows Mobile Windows NT Windows PE Windows Server 2003 Windows Server 2008 Windows Small Business Server 2003 Windows Vista Windows XP Word WordPerfect WordPress WWW XBox 360 Xen Zune

Calendar

May 2007
M T W T F S S
« Apr   Jun »
 123456
78910111213
14151617181920
21222324252627
28293031  

Archive

Recovering data after destroying the Mac OS X partition table

I’m not a religious man but every once in a while I do something stupid and find myself hoping for some divine intervention. Yesterday, I excelled in my stupidity with what was probably the single most careless thing that I have ever done in my entire computing life, accidentally re-initialising my external hard disk (containing, amongst other things, my iTunes library and irreplaceable digital photos of my children) and the backup disk.

In a mild state of panic, I called my friend Alex who gave me two excellent pieces of advice:

  • Do nothing with the corrupted disks. Sit tight. Calm down. Wait and see what turns up from researching similar scenarios on the ‘net.
  • Submit a post to some of the Mac forums (Mac OS X Hints, Apple Discussions, Mac Geekery) and see if anyone can recommend a suitable course of action.

Thank you Alex.

And thank you Stanley Horwitz, debaser626, Tom Larkin and Joe VanZandt for coming back to me with recommendations almost straightaway. Almost everyone suggested running a tool from Prosoft Engineering called Data Rescue II.

In addition to its primary role of recovering lost data on hard disks, this $99 utility (a small price in comparision to professional data recovery fees) has two especially important features: it is non-destructive as all restoration has to be to another volume; and it can be run in demo mode first to check that data is recoverable before having to be registered.

A quick scan turned up no recoverable files but a thorough scan was more useful. After a few hours reading 6 billion disk blocks and another couple analysing the data, it found my files. Unfortunately the progress bar gives no indication as to how many files might be recoverable whilst the scan is taking place, presumably because files may be spread across many disk blocks but it found my files!

The recovered files were marked as orphans, CBR (whatever that is) and then a whole load of them actually had their original file names and other metadata. After successfully recovering a single file, I bought a license and set about recovering the entire contents of the disk to another volume. Unfortunately it hung after failing to read one of the files but I repeated the operation (this time saving my scan results so that I can exit and relaunch the application if necessary) and successfully restored my digital photos. The relief is immense and I’m presently running a full restoration of the entire disk contents (I imagine that a large part of tomorrow will be spent working out which files I need, and which were actually deliberately deleted files recovered along with the lost data).

Other potentially useful tools, which I didn’t try but which might be useful to others, include:

  • GRC Spinrite - for proactive hard disk maintenance and recovery of data from failing hard disks (disk recovery - not partition recovery)
  • Alsoft DiskWarrior - for damaged directory structures (file system recovery - not partion recovery).
  • SubRosaSoft File Salvage - another partition recovery tool.

Note that I haven’t tried any of these tools myself - I’m simply alerting any poor soul who stumbles across this page to their existence.

I was lucky. Very lucky.

The moral of this story - don’t rely on a single backup that is overwritten nightly and permanently connected to your computer. I really must take more frequent DVD backups of crucial files and store a disk backup offsite.

I should know better.

Comments

1

Pingback from markwilson.it [formerly known as Mark’s (we)Blog] » Secure online backup from Mozy
Time: Saturday 13 October 2007, 23:38

[…] I was discussing backups with a couple of my colleagues. I’ve commented before that, despite nearly losing all of my digital photos and my entire iTunes library, I’m really bad at backing up my data (it’s spread across a load of PCs and I almost […]

2

Comment from Jennifer Brown
Time: Wednesday 18 June 2008, 1:06

Please help me. I have purchased Data Rescue II and an external harddrive. I managed to format my new harddrive so that the Mac will acknowledge the drive.

Data Rescue loads fine and when I chose which drive to scan, all the drives show up. But when I chose the working volume, it only shows the boot volume and my new external harddrive is not available. What am I doing wrong????

Write a comment

Please note the rules for comments and the privacy policy and data protection notice. I'm sorry but, because not everyone sticks to the rules, I've had to implement some spam prevention measures - if you're experiencing difficulties leaving a comment, please let me know.





The following XHTML tags may be used: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <code> <em> <i> <strike> <strong>