From owner-freebsd-questions Thu Jul 22 1:43:46 1999 Delivered-To: freebsd-questions@freebsd.org Received: from thoth.mch.sni.de (thoth.mch.sni.de [192.35.17.2]) by hub.freebsd.org (Postfix) with ESMTP id 3372114DE1 for ; Thu, 22 Jul 1999 01:43:37 -0700 (PDT) (envelope-from ust@cert.siemens.de) X-Envelope-Sender-Is: ust@cert.siemens.de (at relayer thoth.mch.sni.de) Received: from mail1.siemens.de (mail1.siemens.de [139.23.33.14]) by thoth.mch.sni.de (8.9.3/8.9.3) with ESMTP id KAA18363; Thu, 22 Jul 1999 10:43:36 +0200 (MET DST) Received: from mars.cert.siemens.de (ust.mchp.siemens.de [139.23.201.17]) by mail1.siemens.de (8.9.3/8.9.3) with ESMTP id KAA01992; Thu, 22 Jul 1999 10:43:29 +0200 (MET DST) Received: from alaska.cert.siemens.de (alaska.cert.siemens.de [139.23.202.134]) by mars.cert.siemens.de (8.9.3/8.9.3/Siemens CERT [ $Revision: 1.9 ]) with ESMTP id KAA70585; Thu, 22 Jul 1999 10:43:35 +0200 (CEST) Received: (from ust@localhost) by alaska.cert.siemens.de (8.9.3/8.9.3/alaska [ $Revision: 1.2 ]) id IAA09338; Thu, 22 Jul 1999 08:43:35 GMT (envelope-from ust) Date: Thu, 22 Jul 1999 10:43:35 +0200 From: Udo Schweigert To: Alexander Maret Cc: "'freebsd-questions@freebsd.org'" Subject: Re: Is it possible to clone a hard disk? Message-ID: <19990722104335.A9310@alaska.cert.siemens.de> References: <91DA20EC3C3DD211833400A0245A4EA9BA1087@erlangen01.axis.de> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Mailer: Mutt 0.95.6i In-Reply-To: <91DA20EC3C3DD211833400A0245A4EA9BA1087@erlangen01.axis.de>; from Alexander Maret on Thu, Jul 22, 1999 at 10:01:43AM +0200 X-Operating-System: FreeBSD 3.2-STABLE Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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