From owner-freebsd-hackers Wed Oct 29 11:28:38 1997 Return-Path: Received: (from root@localhost) by hub.freebsd.org (8.8.7/8.8.7) id LAA07245 for hackers-outgoing; Wed, 29 Oct 1997 11:28:38 -0800 (PST) (envelope-from owner-freebsd-hackers) Received: from global.com (global.com [206.40.50.1]) by hub.freebsd.org (8.8.7/8.8.7) with ESMTP id LAA07240 for ; Wed, 29 Oct 1997 11:28:35 -0800 (PST) (envelope-from gopu@global.com) Message-ID: <34578D90.F83245A7@global.com> Date: Wed, 29 Oct 1997 11:25:04 -0800 From: Gopakumar H Pillai Organization: Global Automation Inc. X-Mailer: Mozilla 4.02 [en] (Win95; I) MIME-Version: 1.0 To: hackers@freebsd.org Subject: Help in data recovery Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Sender: owner-freebsd-hackers@freebsd.org X-Loop: FreeBSD.org Precedence: bulk I am a sysadmin, fairly new to the job. The OS is FreeBSD 2.2.2. I had a disk sd0s1e of 2GB and sd1s1e of 1GB. In the process of finding out the device name of the tape drive I did a "tar cvf rsd0 /tmp". The amount of data I have written over the raw disk is about 20K. This disk has /usr. I need to retrieve /usr, mainly my mails in /usr/home. How should I go about it? I retrieved sd1s1e, i.e. /var and got the /var/mail. I cannot mount or fsck this device since it complains, improper superblock. I have another machine with similar partitioning, would that help? Also how can I make an exact image of the ruined disk on another one of the same hardware configuration? -- --Gopu (gopu@global.com)