Tags
webcam vindaloo version vegan unix unicef trojan todo thinkpad textmate testing tagging syntax svn subversion sphinx spaces solaris sitemap sinatra sheet security search schema_info SchemaInfo ruby rinari relationships refresh rdiff-backup ramaze railsconf08 railsconf07 rails protools production power placeboeffect pink floyd PIC perl overheat outbreak osx os x NYHS NYC netbeans nanophotonics mysql music MPEG-4 model migration microvolunteer macbook mac log linux less leopard keynote JAX javascript java imunizator highlighting Handbrake haml hacks google geocoding genghistron gem gaming gabrielle's funny functional fun friends food fixes fixed firefox FF3 ferret fantasy' emacs DV donate datarecovery database D&D converter conference computing cheat capistrano business bribesThe Fixer said on Wed Sep 26 11:19:11 +0000 2007 | permalink
Tagged: linux datarecovery
Hard drive recovery
My home server’s hard drive and the backup drive failed on the same day, so I’m trying to extract whatever I can from the bad disk. Here are my notes so far:
Boot the dead machine with a Linux live CD; the failed drive won’t mount because the main superblock is one of the sectors that failed.
Make a disk image on a remote machine:
$sudo dd if=/dev/hda bs=512 conv=noerror,sync | ssh user@othermachine:server_hd_backup
conv=noerror tells dd to skip over bad sectors; conv=sync tells it to pad the holes with zeros, so that the resulting disk image will still have everything that it can read in the right place.