Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 14 Jan 2005 09:13:29 -0600
From:      Nathan Kinkade <nkinkade@ub.edu.bz>
To:        Drumslayer2 <drumslayer2@yahoo.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: How can I speed up a dd copy?
Message-ID:  <20050114151329.GU3639@gentoo-npk.bmp.ub>
In-Reply-To: <20050114003814.27395.qmail@web42109.mail.yahoo.com>
References:  <20050114003814.27395.qmail@web42109.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--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--



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050114151329.GU3639>