Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 11 Mar 2006 18:18:16 +0300
From:      "Andrew Pantyukhin" <infofarmer@gmail.com>
To:        "Grant Peel" <gpeel@thenetnow.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: dd - cloning a disk.
Message-ID:  <cb5206420603110718m3c671f91n147b1d3ab6aefac8@mail.gmail.com>
In-Reply-To: <001901c64517$9d891950$6701a8c0@GRANT>
References:  <001901c64517$9d891950$6701a8c0@GRANT>

next in thread | previous in thread | raw e-mail | index | archive | help
On 3/11/06, Grant Peel <gpeel@thenetnow.com> wrote:
> Hi all,
>
> Here is a simple (I think!) question for the I/O savy among you:
>
> If I had two identical disks, say, 73 GB Seagate 10K SCSIs, one completel=
y
> operational fully setup FreeBSD with all the trimmings, and the other bla=
nk,
> or perhaps loaded but no longer usable, is 'dd' and appropriate tool to
> completely clone the Good disk to the not so good disk....therefor making
> the second disk identical to the first? Bootable and all?

It is, with a few 'buts'. Firstly, the source should be mounted
read-only. Secondly, you should copy the drive device itself
(ie da0 to da1) instead of its partitions (ie da0c).



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