From owner-freebsd-questions@FreeBSD.ORG Fri Feb 10 14:44:42 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0033416A420 for ; Fri, 10 Feb 2006 14:44:41 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: from web60020.mail.yahoo.com (web60020.mail.yahoo.com [209.73.178.68]) by mx1.FreeBSD.org (Postfix) with SMTP id C54FB43D78 for ; Fri, 10 Feb 2006 14:44:36 +0000 (GMT) (envelope-from petermatulis@yahoo.ca) Received: (qmail 6574 invoked by uid 60001); 10 Feb 2006 14:44:35 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.ca; h=Message-ID:Received:Date:From:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=YW/joRmBJTrgrfjRMSan8asa+0C1hbnB7eZFaP6pYtMSlvqGHzmWSbDVoxiQ1JWYTuZjHL3Qv55Q3cACz45caSVM1jvrH4OIH4cy8ZJhMIrwQ8rUhMFryySwpzxpmzDDT1QAMsL0eqJRin6AJeLtIc156/b7nkdfcfK8+OphGdw= ; Message-ID: <20060210144435.6572.qmail@web60020.mail.yahoo.com> Received: from [216.252.84.55] by web60020.mail.yahoo.com via HTTP; Fri, 10 Feb 2006 09:44:35 EST Date: Fri, 10 Feb 2006 09:44:35 -0500 (EST) From: Peter To: Giorgos Keramidas , Kevin Kinsey In-Reply-To: <20060210102919.GA1056@flame.pc> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Cc: freebsd-questions@freebsd.org Subject: Re: Using dd to Make a Clone of a Drive X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 10 Feb 2006 14:44:42 -0000 --- Giorgos Keramidas wrote: > On 2006-02-09 18:48, Kevin Kinsey wrote: > >Giorgos Keramidas wrote: > >> Bah! That's too slow for my taste. I would usually go for a newfs, > >> dump, and restore option. For instance, to create a copy of /usr on > a > >> second disk: > >> > >> newfs -U /dev/ad1s1a > >> mount /dev/ad1s1a /mnt > >> dump -0 -a -L /usr | ( cd /mnt ; restore ruvf - ) > >> > >> Copying with dd(1) is not as fast :) > > > > Sorry to butt in --- but I'm needing to start cloning too. Looks > > like a winner to me ... wouldn't this have the added advantage > > of making "same size and geometry" (cf. Erik Trulsson, 4 hours ago, > > this thread) less relevant? > > Yes, this is pretty much the important point :) > > > As long as the "new" slice had enough space, geometry shouldn't > > matter to dump|restore .... > > Right :) It also allows restoring in a different partition layout. > Any chance of there being a way like this to restore to windows systems from the FreeBSD box? __________________________________________________________ Find your next car at http://autos.yahoo.ca