From owner-freebsd-current@FreeBSD.ORG Wed Jan 14 11:05:38 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B10FE16A4CE; Wed, 14 Jan 2004 11:05:38 -0800 (PST) Received: from fledge.watson.org (fledge.watson.org [204.156.12.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4190F43D48; Wed, 14 Jan 2004 11:05:37 -0800 (PST) (envelope-from robert@fledge.watson.org) Received: from fledge.watson.org (localhost [127.0.0.1]) by fledge.watson.org (8.12.10/8.12.10) with ESMTP id i0EJ3kUd050530; Wed, 14 Jan 2004 14:03:46 -0500 (EST) (envelope-from robert@fledge.watson.org) Received: from localhost (robert@localhost)i0EJ3k9n050527; Wed, 14 Jan 2004 14:03:46 -0500 (EST) (envelope-from robert@fledge.watson.org) Date: Wed, 14 Jan 2004 14:03:46 -0500 (EST) From: Robert Watson X-Sender: robert@fledge.watson.org To: Kevin Oberman In-Reply-To: <20040114183737.6C0105D08@ptavv.es.net> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII cc: Dan Nelson cc: current@FreeBSD.org cc: John Baldwin Subject: Re: Serious dd breakage in current X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 14 Jan 2004 19:05:38 -0000 On Wed, 14 Jan 2004, Kevin Oberman wrote: > > dump / restore is a better method though anyways. It doesn't bother with > > copying unused blocks for one thing. It will also allow things like dirhash > > to more efficiently lay out your files on the new file system. > > Thanks to both John and Dan. I clearly did not correctly understand how > dd operated. Guess it's time to read the sources a bit. > > I understand why dump|restore is a better choice than dd in may ways, > but, if a partition is large and full, dd is MUCH faster. That's why I > use it to backup my system disk. I can copy 40 GB in about 40 minutes on > my laptop and dumping takes just a bit longer. > > Non the less, now that I see the problem with dd on a partition, I have > used dump and my system is now properly re-partitioned. It's nice to see > both /var and /usr under 98%! > > Thanks again for taking the time to explain this. FWIW, you can actually dd the individual partitions fine, since the file system doesn't use absolute offsets from the slice, just from within the partition. You just want to not dd the partition table to a drive that isn't laid out the same (at least, not without being very careful). Robert N M Watson FreeBSD Core Team, TrustedBSD Projects robert@fledge.watson.org Senior Research Scientist, McAfee Research