Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 22 Jul 1999 10:43:35 +0200
From:      Udo Schweigert <ust@cert.siemens.de>
To:        Alexander Maret <maret@axis.de>
Cc:        "'freebsd-questions@freebsd.org'" <freebsd-questions@FreeBSD.ORG>
Subject:   Re: Is it possible to clone a hard disk?
Message-ID:  <19990722104335.A9310@alaska.cert.siemens.de>
In-Reply-To: <91DA20EC3C3DD211833400A0245A4EA9BA1087@erlangen01.axis.de>; from Alexander Maret on Thu, Jul 22, 1999 at 10:01:43AM %2B0200
References:  <91DA20EC3C3DD211833400A0245A4EA9BA1087@erlangen01.axis.de>

next in thread | previous in thread | raw e-mail | index | archive | help
On Thu, Jul 22, 1999 at 10:01:43AM +0200, Alexander Maret wrote:
> Hi,
> 
> is it possible to clone only a slice and not the whole
> drive? I have a 3.2-R System with vinum-mirrored disks. Both
> drives are configured the same way. The only problem is that
> vinum doesn't mirror root slices. So I would like to
> clone only the root slice from time to time to keep
> the second drive up-to-date. Should I do this with dd or
> can I do a "cp /dev/da0a /dev/da1a" Both partitions have the
> same size and the same position on both drives.
> 

Hello,

i have done this (for a whole disk) with dd and it worked. I found that

dd if=/dev/rda0a of=/dev/rda1a bs=64k

is the fastest method (better use the raw-device!).

Regards
-------------------------------------------------------------------------------
Udo Schweigert              || Voice      : +49 89 636 42170
Siemens AG, Siemens CERT    || Fax        : +49 89 636 48000
ZT IK 3                     || email      : Udo.Schweigert@mchp.siemens.de
D-81730 Muenchen / Germany  ||            : ust@cert.siemens.de
PGP fingerprint             || 2A 53 F6 A6 30 59 64 02  6B C4 E0 73 B2 C9 6C E7
-------------------------------------------------------------------------------


To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-questions" in the body of the message




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