From owner-freebsd-isp@FreeBSD.ORG Fri Dec 12 07:03:17 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 773BF16A4CE for ; Fri, 12 Dec 2003 07:03:17 -0800 (PST) Received: from mail.vineyard.net (k1.vineyard.net [204.17.195.90]) by mx1.FreeBSD.org (Postfix) with ESMTP id E881843D1D for ; Fri, 12 Dec 2003 07:03:14 -0800 (PST) (envelope-from ericx_lists@vineyard.net) Received: from localhost (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id A1C4191635; Fri, 12 Dec 2003 10:03:13 -0500 (EST) Received: from mail.vineyard.net ([127.0.0.1]) by localhost (king1.vineyard.net [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 90007-10; Fri, 12 Dec 2003 10:03:13 -0500 (EST) Received: from vineyard.net (loopback [127.0.0.1]) by mail.vineyard.net (Postfix) with ESMTP id 452B791632; Fri, 12 Dec 2003 10:03:13 -0500 (EST) Message-ID: <3FD9D86C.5010906@vineyard.net> Date: Fri, 12 Dec 2003 10:02:04 -0500 From: "Eric W. Bates" User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.0; en-US; rv:1.6b) Gecko/20031205 Thunderbird/0.4 X-Accept-Language: en-us, en MIME-Version: 1.0 To: freebsd-isp@freebsd.org References: <1071172916.478.27.camel@ptp.northnetworks.ca> <1071175781.478.57.camel@ptp.northnetworks.ca> In-Reply-To: <1071175781.478.57.camel@ptp.northnetworks.ca> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit X-Virus-Scanned: by AMaViS at Vineyard.NET cc: "Arie J. Gerszt" 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: Fri, 12 Dec 2003 15:03:17 -0000 We've successfully used dump/restore in this situation. I suspect that dd is faster, tho. In single user: dump 0fB - 10000000 / | (cd /newdisk; restore -rf -) Check the man pages. 10000000 is an arbitrarily large number to make sure that all blocks of the disk in question are read. Steve Bertrand wrote: >>>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. >> > > > I'm following a thread in questions right now, and I must agree with > some of the posts stating that using dd on the / filesystem could cause > grief if the partition is mounted. You may want to use a fixit floppy or > alternative boot method and then dd the disk to ensure no writes occur > whilst in transfer. > > Steve > > > > >>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"