From owner-freebsd-hackers@FreeBSD.ORG Wed Mar 29 22:50:25 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28ACC16A420 for ; Wed, 29 Mar 2006 22:50:25 +0000 (UTC) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (gate.funkthat.com [69.17.45.168]) by mx1.FreeBSD.org (Postfix) with ESMTP id B16B543D46 for ; Wed, 29 Mar 2006 22:50:24 +0000 (GMT) (envelope-from jmg@hydrogen.funkthat.com) Received: from hydrogen.funkthat.com (mo4aqbhd92dcypx7@localhost.funkthat.com [127.0.0.1]) by hydrogen.funkthat.com (8.13.4/8.13.3) with ESMTP id k2TMoNtJ082337; Wed, 29 Mar 2006 14:50:23 -0800 (PST) (envelope-from jmg@hydrogen.funkthat.com) Received: (from jmg@localhost) by hydrogen.funkthat.com (8.13.4/8.13.3/Submit) id k2TMoMkq082336; Wed, 29 Mar 2006 14:50:22 -0800 (PST) (envelope-from jmg) Date: Wed, 29 Mar 2006 14:50:22 -0800 From: John-Mark Gurney To: Patrick Tracanelli Message-ID: <20060329225022.GW7001@funkthat.com> Mail-Followup-To: Patrick Tracanelli , freebsd-hackers@freebsd.org References: <44296F41.1050209@osoft.us> <4429972C.5030806@freebsdbrasil.com.br> <20060328.210412.18287651.imp@bsdimp.com> <200603291953.56112.doconnor@gsoft.com.au> <442A882B.8000207@freebsdbrasil.com.br> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <442A882B.8000207@freebsdbrasil.com.br> User-Agent: Mutt/1.4.2.1i X-Operating-System: FreeBSD 5.4-RELEASE-p6 i386 X-PGP-Fingerprint: B7 EC EF F8 AE ED A7 31 96 7A 22 B3 D8 56 36 F4 X-Files: The truth is out there X-URL: http://resnet.uoregon.edu/~gurney_j/ X-Resume: http://resnet.uoregon.edu/~gurney_j/resume.html Cc: freebsd-hackers@freebsd.org Subject: Re: cloning a FreeBSD HDD X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: John-Mark Gurney List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Mar 2006 22:50:25 -0000 Patrick Tracanelli wrote this message on Wed, Mar 29, 2006 at 10:14 -0300: > Daniel O'Connor wrote: > >On Wednesday 29 March 2006 14:34, M. Warner Losh wrote: > > > >>dump + restore is slow but reliabe. > > > > > >Faster than dd for disks that aren't full :) > > > >It also gives you a defrag as well as allowing you to change FS options. > > Yes, pretty much faster for non-full disks, even compared to paralell > dd(1). And we always have the "-L" option to snapshot and dump(1) from > live file systems, what makes it an interesting and completly viable > choice to clone the disks in multiuser mode (no need to go single user). > > It is my choice to copy a disk into one other. It is even possible to > copy a disk to a slower one (again, if the source is not full and if the > dst disk have enough space to store all data currently in use in the > source disk), and better (customizable new partitions) results when > copying to a larger second disk, when compared to dd(1). Though if you are using extended attributes, the dump/restore pair won't transfer them... :( -- John-Mark Gurney Voice: +1 415 225 5579 "All that I will do, has been done, All that I have, has not."