From owner-freebsd-questions@FreeBSD.ORG Sun Mar 4 17:50:52 2007 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id A3C1416A402 for ; Sun, 4 Mar 2007 17:50:52 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 7151013C48E for ; Sun, 4 Mar 2007 17:50:52 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.13.8/8.13.8) with ESMTP id l24Hopu2077395; Sun, 4 Mar 2007 10:50:51 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.13.8/8.13.8/Submit) with ESMTP id l24Hop4Y077392; Sun, 4 Mar 2007 10:50:51 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Sun, 4 Mar 2007 10:50:51 -0700 (MST) From: Warren Block To: Grant Peel In-Reply-To: <005501c75e44$1107f630$6501a8c0@GRANT> Message-ID: <20070304104410.V77306@wonkity.com> References: <005501c75e44$1107f630$6501a8c0@GRANT> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII; format=flowed X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-3.0 (wonkity.com [127.0.0.1]); Sun, 04 Mar 2007 10:50:51 -0700 (MST) Cc: freebsd-questions@freebsd.org Subject: Re: Cloning a disk -large to small 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: Sun, 04 Mar 2007 17:50:52 -0000 On Sun, 4 Mar 2007, Grant Peel wrote: > I have been researching the use of 'dd' quite a bit lately as I have > had to clone a newly setup server. dump/restore is generally a better solution for cloning drives. On large drives, dd wastes a lot of time copying empty sectors. > I was wondering though, if one had a newly setup disk on a 74 GB SCSI > dirve, is there some know turning that can be done to clone it to a > smaller drive? Say 36 GB? http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/disks.html#NEW-HUGE-DISK Using dump works for going from large to small partitions, too, as long as the small partition is big enough to hold all the data. -Warren Block * Rapid City, South Dakota USA