From owner-freebsd-questions Thu Apr 22 11:27:49 1999 Delivered-To: freebsd-questions@freebsd.org Received: from resnet.uoregon.edu (resnet.uoregon.edu [128.223.144.32]) by hub.freebsd.org (Postfix) with ESMTP id 48FAD1535C for ; Thu, 22 Apr 1999 11:27:45 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Received: from localhost (dwhite@localhost) by resnet.uoregon.edu (8.8.8/8.8.8) with ESMTP id LAA28577; Thu, 22 Apr 1999 11:25:09 -0700 (PDT) (envelope-from dwhite@resnet.uoregon.edu) Date: Thu, 22 Apr 1999 11:25:08 -0700 (PDT) From: Doug White To: Patrick Seal Cc: freebsd-questions@FreeBSD.ORG Subject: Re: Hard drive failure In-Reply-To: Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG On Wed, 21 Apr 1999, Patrick Seal wrote: > I deleted doug's reply to this, but he said there was almost no hope to > recover the data myself. > > For the heck of it I just re-fdisk'd the disk and then mounted wd0s1 on > /mnt > > everything seems to be there. (at least the root slice) but everything > under /usr and /var only show the immediate directory structure. I guess > this is because I mounted the compatibility slice?? How can I get the > stuff under /usr? I would just re-label the drive, but will that destroy > my data? I also can't remember exactly how many MB are in each slice, so > that would be a problem too. > > If anyone knows how I can get this stuff it would be *very* appreciated. > If not, I only lost a weeks worth of code :( Well, you grabbed the root directory. Can you mount /dev/wd0s1e or /dev/wd0s1f? Those shuld contain /var and /usr, respectively, assuming the disklabel wasn't completely spammed. If you feel lucky, you can try relabling the slice, as long as you have the *exact* sizes of the partitions. Doug White Internet: dwhite@resnet.uoregon.edu | FreeBSD: The Power to Serve http://gladstone.uoregon.edu/~dwhite | www.freebsd.org To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message