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

-----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

Hi Anton, Thanks for the details. Does the destination partition need to be exactly the same size? I am worried about trying to read the old drive... Oh, and yes, I am sending from OE but that is because of a utility I needed to use that spawned the default mail client which was, drum roll, a server-hosted Eudora install. I had to set this up temporarily (and oh do I mean temporarily!) Anywho, I will be back shortly. I have to go downtown to get the spare drive... Madison ----- Original Message ----- From: "Anton Markov" <anton-F0u+EriZ6ihBDgjK7y7TUQ at public.gmane.org> To: <tlug-lxSQFCZeNF4 at public.gmane.org> Sent: Monday, December 29, 2003 12:07 PM Subject: Re: [TLUG]: Data recovery emergency on a downed server... Help please!!
-----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
-- 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
participants (2)
-
anton-F0u+EriZ6ihBDgjK7y7TUQ@public.gmane.org
-
linux-5ZoueyuiTZhBDgjK7y7TUQ@public.gmane.org