Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 20 Jun 2008 10:28:36 -0300
From:      "D G Teed" <donald.teed@gmail.com>
To:        "Brad Mettee" <bmettee@pchotshots.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: clone a drive, no raid involved
Message-ID:  <dd4da0390806200628ge562aafm880fd44fc966aeea@mail.gmail.com>
In-Reply-To: <4.3.2.7.2.20080619115705.02c0f750@mail.agoron.net>
References:  <4.3.2.7.2.20080619115705.02c0f750@mail.agoron.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jun 19, 2008 at 1:08 PM, Brad Mettee <bmettee@pchotshots.com> wrote:

> I'm setting up a pair of machines with almost identical OS config, and
> completely identical hardware. One is a primary DNS server, the other is
> secondary. NS1 will also serve web, NS2 will be a mail server. Both are low
> volume/loads.
>
> It looks like I can use DD to copy an entire drive, but it's a 500G drive
> and that's going to take a really long time (especially since it's brand new
> with no data besides base OS).
>
> My question: Is there a better way to duplicate a drive including boot
> info?


You've got lots of useful answers on duplicating the system other ways,
but I thought I'd mention that dd's performance can be enhanced by
providing a blocksize.  You might want to time some reads and writes
with a set of numbers that divides evenly into the byte count of your disk.
Years ago I found I could write a 40 GB laptop (4200RPM) disk in
21 minutes rather than one hour.

--Donald



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