From owner-freebsd-questions@FreeBSD.ORG Sat Oct 9 03:02:29 2004 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 A210616A4CE for ; Sat, 9 Oct 2004 03:02:29 +0000 (GMT) Received: from mproxy.gmail.com (rproxy.gmail.com [64.233.170.207]) by mx1.FreeBSD.org (Postfix) with ESMTP id 2002643D1D for ; Sat, 9 Oct 2004 03:02:28 +0000 (GMT) (envelope-from bkeating@gmail.com) Received: by mproxy.gmail.com with SMTP id 75so165295rnk for ; Fri, 08 Oct 2004 20:02:28 -0700 (PDT) Received: by 10.38.13.47 with SMTP id 47mr375738rnm; Fri, 08 Oct 2004 20:02:28 -0700 (PDT) Received: by 10.39.1.6 with HTTP; Fri, 8 Oct 2004 20:02:28 -0700 (PDT) Message-ID: <1d54d5440410082002a847a8f@mail.gmail.com> Date: Fri, 8 Oct 2004 20:02:28 -0700 From: "Benjamin P. Keating" To: Dean Hollister In-Reply-To: <20041009060531.D78165@odyssey.apana.org.au> Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <20041009060531.D78165@odyssey.apana.org.au> cc: FreeBSD Questions Subject: Re: Hard Disk failure X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: "Benjamin P. Keating" List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 09 Oct 2004 03:02:29 -0000 Hey Dean, Everything is a file in the UNIX world, so copying over file for file is no problem. be sure that you preserve permissions (aka 'archive mode') preseriving ownership and permissions is vital. '``cp'' should do everything you need in this case. Are you sure there are bad sectors? Can you attach your dmesg output (just relative section please). HTH Ben On Sat, 9 Oct 2004 06:07:27 +0800 (WST), Dean Hollister wrote: > > Dear All, > > A quick question, and I've searched the FAQ/Handbook to no avail... > > One of the machines I maintain has developed bad sectors on it's /usr > filesystem. I can mount the filesystem R/O, so is it possible to install a > new drive, partition it in an identical fashion to the faulty drive and > copy the filesystems across to the new drive and then boot from the new > drive? > > Is there a walkthrough on the best way to do this? > > Regards, > > d. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org" >