From owner-freebsd-isp@FreeBSD.ORG Thu Dec 11 12:03:31 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 683F916A4CE for ; Thu, 11 Dec 2003 12:03:31 -0800 (PST) Received: from inferno.eagle.ca (inferno.eagle.ca [209.167.16.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id A0C1B43D37 for ; Thu, 11 Dec 2003 12:02:50 -0800 (PST) (envelope-from iaccounts@northnetworks.ca) Received: from [192.168.1.150] (sfw.eagle.ca [209.167.16.15]) by inferno.eagle.ca (8.12.8/8.12.3) with ESMTP id hBBJxKiE004889; Thu, 11 Dec 2003 14:59:20 -0500 (EST) (envelope-from iaccounts@northnetworks.ca) From: Steve Bertrand To: "Arie J. Gerszt" In-Reply-To: References: Content-Type: text/plain Message-Id: <1071172916.478.27.camel@ptp.northnetworks.ca> Mime-Version: 1.0 X-Mailer: Ximian Evolution 1.4.5 Date: Thu, 11 Dec 2003 15:01:57 -0500 Content-Transfer-Encoding: 7bit cc: freebsd-isp@freebsd.org Subject: Re: disk error / failure: need help! (smart failure predicted) X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Dec 2003 20:03:31 -0000 > in one of our servers we have a disk where the bios reports > > failure predicted (SMART) > > unfortunately this happens to be our start volume (ad0) which has > several slices/partitions. > > At the moment the disk works (still). What is the easiest way to > copy everything from this disk to another new one (including boot > mgmr, mbr) > > the system has in total 3 disks, but only the first (the broken one) > is bootable. > Put in another disk drive temporarily, and since this is only a one time thing, you can use dd. Try to eliminate most, if not all access to the box: # dd if=/dev/ad0 of=/dev/ad4 Substitute ad4 with the dev name of the temporary drive. Once dd is done, take out the primary disk and replace it with the new clone. Read man dd(8) as I don't know off the top of my head what the optimal options would be for dd in this case. Steve > thanks, > arie > > _______________________________________________ > freebsd-isp@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-isp > To unsubscribe, send any mail to "freebsd-isp-unsubscribe@freebsd.org" -- Steve Bertrand President/CTO, Northumberland Network Services t: 905.352.2688 w: www.northnetworks.ca