From owner-freebsd-hackers@FreeBSD.ORG Wed Jun 8 03:51:20 2005 Return-Path: X-Original-To: hackers@freebsd.org Delivered-To: freebsd-hackers@FreeBSD.ORG Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EDB7A16A41C for ; Wed, 8 Jun 2005 03:51:20 +0000 (GMT) (envelope-from sydoh@fidalgo.net) Received: from proxy1.mtvwa.fidalgo.net (proxy2.mtvwa.fidalgo.net [66.218.206.86]) by mx1.FreeBSD.org (Postfix) with ESMTP id B712D43D48 for ; Wed, 8 Jun 2005 03:51:20 +0000 (GMT) (envelope-from sydoh@fidalgo.net) Received: from [66.52.206.36] (port=3238 helo=huffakerw0m4f2) by proxy1.mtvwa.fidalgo.net with asmtp (Exim Citadel) id 1Dfrb5-0002vE-JW for hackers@freebsd.org; Tue, 07 Jun 2005 20:51:20 -0700 From: "Sydney Hole & Owen Huffaker" To: Date: Tue, 7 Jun 2005 20:50:50 -0700 Message-ID: <000001c56bdd$58f5b7d0$24ce3442@huffakerw0m4f2> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 (Normal) X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook CWS, Build 9.0.2416 (9.0.2911.0) Importance: Normal X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Authenticated-Sender: sydoh X-Mailman-Approved-At: Wed, 08 Jun 2005 12:06:31 +0000 Cc: Subject: Version 4.4 sick and dying X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: sydoh@fidalgo.net List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 08 Jun 2005 03:51:21 -0000 Hello, Wonder if you can give me a little advise. I don't have a background in freebsd. I maintained a Unix V5 system years ago and I have been called in to look at an installation that is ailing. This system is a 4.4 version that is acting as a web server. It has some web functionality on it which was refreshing unusually slow. They called me and I came in to look at it. I noticed that the logon was slow either directly on the console or through telnet. I suspected a hard drive issue. Since the system had been running for some time, I shut it down and I ran a hard drive test (Fujitsu drive and ran the proprietary fujitsu program) and it failed. No backup and no tape drive. They happen to have a few BSD books around so I figured out how to add a disk in place of the cdrom and I partition it with sysinstall. Then I used TAR and I copied all of the file systems to this new hard drive with exception of swap. Also I used the sysinstall and looked at the labels of the main (failing) drive and copied down all the sizes of the slices. I used a bsd 4.5 version on a separate machine I had lying around and was able to partition and slice/label a brand new drive with the same sizes as the old drive. My intentions were to copy the files to the new drive and then plug it in somehow. I thought I had some time. This all happened on Monday. Today the drive crashed. I am wondering what the best way to proceed. If I am thinking (but really sort of guessing) about this correct, the new machine has a 4.5 install on it and a drive that is sliced and labeled as per the original. I know this because during the install it let me do the partition and label and I took advantage of the opportunity. Does it make sense that I could put the backup drive in the new machine, and then mount it, copy all the files to the drive I partition and then maybe put the drive that I copied all the stuff to back in the original machine? But I don't know if I am going to run into trouble with existing files from the 4.5 install if they get overlayed or its going to be a big mess. I also noticed in one of the books about a fixit program on the cd. Would it be best to use that, mount both drives (newly partitioned and the backup) and copy stuff that way. The books don't go into the fixit much, just summary info. I am going to try this tomorrow morning and wondered if you might have some good advise. I do have a copy of BSD 4.5 and 5.o from a FreeBSD Unleashed book by Michael Urban and Brian Tieman. I also have the absolute BSD by Michael Lucas. Regards, Owen