Data recovery emergency on a downed server... Help please!!

Anton Markov anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org
Mon Dec 29 17:07:15 UTC 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1


You should use:

# dd if=/dev/hda5 of=/dev/hdxx bs=512 conv=noerror,sync

where xx is the drive and partition (of same size)

That should copy the data exactly, and the "noerror" option will ignore
physically corrupt areas (if any).  You should first create the new
partition with /sbin/fdisk or /sbin/parted.

Here is one of the origional helpful documents I used when I had to
recover data:
<http://www.unixwiz.net/techtips/recovering-ext2.html>
Most of the article is about recovering the partition table, which you
probably don't need to do (what does "/sbin/fdisk -l" say?), but the
beginning is interesting.

If I ever find the other articles I've used (kick myself for forgetting
to bookmark, I'll post the links.


ps. I don't know how to fix your tape drive problems.


Madison Kelly wrote:
> I do have an identical spare drive but how can I make an exact copy of a
> drive with a messed up file system and also, how can I be sure that the
> copy is non-destructive? If I can do this, it'd be wonderful!
>
> Madison
>
> PS - I got a dd of th last tape that ran (finally) and it is about 3.6GB
> (about right). I extracted it as a tar.gz (which should work) but it fails
> claiming to not be a gzip archive... Any ideas on that front by chance?
>
>

- -- 
Anton Markov <("anton" + "@" + "truxtar" + "." + "com")>

GnuPG Key fingerprint =
5546 A6E2 1FFB 9BB8 15C3  CE34 46B7 8D93 3AD1 44B4

 "The difference between insanity and genius is measured only by success."
 - Some bad guy from 007
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)
Comment: Using GnuPG with Thunderbird - http://enigmail.mozdev.org

iD8DBQE/8F9MRreNkzrRRLQRAtyXAKCfRZpfTpcnmNG4TscVM4gSJ5yQ0gCfV0nF
t57QJMZzwChXsd9SXNY/Sv8=
=TCCS
-----END PGP SIGNATURE-----
--
The Toronto Linux Users Group.      Meetings: http://tlug.ss.org
TLUG requests: Linux topics, No HTML, wrap text below 80 columns
How to UNSUBSCRIBE: http://tlug.ss.org/subscribe.shtml





More information about the Legacy mailing list