From owner-freebsd-questions@FreeBSD.ORG Thu Mar 24 06:49:43 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C92A16A4CE for ; Thu, 24 Mar 2005 06:49:43 +0000 (GMT) Received: from wproxy.gmail.com (wproxy.gmail.com [64.233.184.196]) by mx1.FreeBSD.org (Postfix) with ESMTP id DAD7543D31 for ; Thu, 24 Mar 2005 06:49:42 +0000 (GMT) (envelope-from gary.smithe@gmail.com) Received: by wproxy.gmail.com with SMTP id 70so386937wra for ; Wed, 23 Mar 2005 22:49:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:references; b=Ij560LlDukFCqQSMbPGlS1m0CSdxQTrROJDreBF98bKAnRboTzYe/XyE72Q5aPGM0TJxk76edxjAELaPq+zaEnolP8/PQEynaB5jGL+y/J29Maoykp+/uNWktozx/9XkVC81q8x2X4VwpWtZmdp4Gobi8G0kTVlGSf7bJRupThI= Received: by 10.54.100.12 with SMTP id x12mr1062091wrb; Wed, 23 Mar 2005 22:49:42 -0800 (PST) Received: by 10.54.41.29 with HTTP; Wed, 23 Mar 2005 22:49:42 -0800 (PST) Message-ID: Date: Thu, 24 Mar 2005 00:49:42 -0600 From: Gary Smithe To: freebsd-questions@freebsd.org In-Reply-To: <1735169762.20050324050924@wanadoo.fr> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit References: <1735169762.20050324050924@wanadoo.fr> Subject: Re: What's an easy way to replace a drive? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gary Smithe List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 24 Mar 2005 06:49:43 -0000 On Thu, 24 Mar 2005 05:09:24 +0100, Anthony Atkielski wrote: > The continuing problems I'm having with my SATA drives seem to center on > only one of the two drives, /dev/ad10, and since both drives are > identical (Western Digital WD1200JD 120-GB SATA drives), this is a good > indicator that the drive itself might be failing. So I've decided to > spend $83 and buy a replacement drive to see if that fixes the problem. > > Now, what's the easiest way to replace the drive? The drive I want to > replace contains only /var and /tmp. Are these mounted in single-user > mode? I was thinking perhaps I can just replace the drive, set up > identical slices on the new drive, then restore /var and /tmp from the > latest backup. Can I restore from tape in single-user mode? > > I don't have any extra connectors to which I can attach this drive > without removing one of the other drives, so I'm looking for a way to > fix it up by just removing the old drive and putting in the new one, > without the need to have both old and new drives online at the same > time. > > -- > Anthony > May not be the best answer, but if the drive's data is still intact (i.e. readable) and the replacement will be identical, maybe try DD or similar from a bootable "rescue" cd, like freesbie? If not that, then you may be able to copy the data between the 2 drives using same said bootable CD after creating the partitions. It doesn't meet the requirements of not removing drives unnecessarily, but it's an option. My 1 1/2 cents. GS