From owner-freebsd-stable Tue Mar 14 11: 0:52 2000 Delivered-To: freebsd-stable@freebsd.org Received: from xxx.video-collage.com (xxx.video-collage.com [209.122.149.226]) by hub.freebsd.org (Postfix) with ESMTP id DCB1837B7F3 for ; Tue, 14 Mar 2000 11:00:18 -0800 (PST) (envelope-from mi@video-collage.com) X-Relay-IP: ‚  Received: from dufus.video-collage.com (dufus [10.222.222.77]) by xxx.video-collage.com (8.9.1a/8.9.1) with ESMTP id NAA25961; Tue, 14 Mar 2000 13:57:42 -0500 (EST) From: Mikhail Teterin Received: (from mi@localhost) by dufus.video-collage.com (8.9.3/8.9.3) id NAA38785; Tue, 14 Mar 2000 13:57:32 -0500 (EST) (envelope-from mi@xxx) Message-Id: <200003141857.NAA38785@dufus.video-collage.com> Subject: Re: disk cloning In-Reply-To: <38CD05C2.7159E85@enc.edu> from "Charles N. Owens" at "Mar 13, 2000 10:14:10 am" To: "Charles N. Owens" Date: Tue, 14 Mar 2000 13:57:32 -0500 (EST) Cc: hacker@bolingbroke.com, pir@pir.net, freebsd-stable@FreeBSD.ORG X-Mailer: ELM [version 2.4ME+ PL68 (25)] MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > > > Disk cloning with dd is evil. Don't Do That. > > Is there a particular reason you say dd is evil for disk cloning? > > I also am curious as to why use of dd in this way is bad. By re-creating the filesystem with restore or tar -x you allow the OS to rearrange the files the way it wants. If you use dd, you will get the exact copy of the old filesystem, which, most likely, accumulated over time, and is not optimal. For example, if a filesystem functions better if the files lay on the disk in single sequences, use of tar or dump/restore will let the OS "defragment". -mi To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message