From owner-freebsd-questions@FreeBSD.ORG Fri Jan 14 15:13:35 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 5691316A4CE for ; Fri, 14 Jan 2005 15:13:35 +0000 (GMT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id AD72743D46 for ; Fri, 14 Jan 2005 15:13:33 +0000 (GMT) (envelope-from nkinkade@fastmail.fm) Received: from frontend2.messagingengine.com (frontend2.internal [10.202.2.151]) by frontend1.messagingengine.com (Postfix) with ESMTP id 9E427C4DCB6; Fri, 14 Jan 2005 10:13:32 -0500 (EST) X-Sasl-enc: l8FY6JKDKpB0IMJcSO2eIg 1105715611 Received: from gentoo-npk.bmp.ub (unknown [206.27.244.136]) by www.fastmail.fm (Postfix) with ESMTP id 9B8A7570159; Fri, 14 Jan 2005 10:13:30 -0500 (EST) Received: from nkinkade by gentoo-npk.bmp.ub with local (Exim 4.21) id 1CpT8j-0003FS-2X; Fri, 14 Jan 2005 09:13:29 -0600 Date: Fri, 14 Jan 2005 09:13:29 -0600 From: Nathan Kinkade To: Drumslayer2 Message-ID: <20050114151329.GU3639@gentoo-npk.bmp.ub> Mail-Followup-To: Drumslayer2 , freebsd-questions@freebsd.org References: <20050114003814.27395.qmail@web42109.mail.yahoo.com> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="cwkDooxwsqZYNC1z" Content-Disposition: inline In-Reply-To: <20050114003814.27395.qmail@web42109.mail.yahoo.com> User-Agent: Mutt/1.5.6i Sender: cc: freebsd-questions@freebsd.org Subject: Re: How can I speed up a dd copy? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Nathan Kinkade List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 14 Jan 2005 15:13:35 -0000 --cwkDooxwsqZYNC1z Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Jan 13, 2005 at 04:38:14PM -0800, Drumslayer2 wrote: > =20 > Hello > When I am performing a dd between (2) 36 Gig 160 > disks (to duplicate them) it takes about 2.5 hrs. Is > there any way I can speed this up? Is there any better > way I can clone a bootable main disk? >=20 > Thanks >=20 > NH. Using dump(8) and restore(8) works well for me and it eliminates the need that the disks should be the same size. It may seem like a lot of work at first, but once you have done it a few times it can be done very fast. The benefit being that you don't waste massive amounts of time copying null blocks from disk to disk. A few months ago I wrote up a quick howto for the guys where I work. I make no guarantee that the directions are perfect for everyone, but they work fine here. It also assumes you are booting to a good installation of 5.x whose version of dump supports the dumping of "live" filesystems (I don't think the version with 4.x supported this, or at least not 4.8 - someone correct me if I'm wrong). However, you could just as easily boot to one of the FreeBSD install disks and eliminiate the need for a "live" dump in the first place. For reference, you can take a look at the short instructions I wrote up at: http://206.27.244.136:8080/ub/cloning.txt Nathan --cwkDooxwsqZYNC1z Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (GNU/Linux) iD8DBQFB5+GYO0ZIEthSfkkRAsZSAKCt05gQ4lBObFYyMNdY6jwKc8lP2gCgj5PV 1TdhQD2NDK6vaGFi7VDHCXo= =990S -----END PGP SIGNATURE----- --cwkDooxwsqZYNC1z--