From owner-freebsd-questions@FreeBSD.ORG Sat Mar 11 14:39:05 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 6C8FB16A41F for ; Sat, 11 Mar 2006 14:39:05 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from pi.codefab.com (pi.codefab.com [199.103.21.227]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1034C43D62 for ; Sat, 11 Mar 2006 14:39:05 +0000 (GMT) (envelope-from cswiger@mac.com) Received: from localhost (localhost [127.0.0.1]) by pi.codefab.com (Postfix) with ESMTP id 763A65CF7; Sat, 11 Mar 2006 09:39:04 -0500 (EST) Received: from pi.codefab.com ([127.0.0.1]) by localhost (pi.codefab.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 67617-03; Sat, 11 Mar 2006 09:39:03 -0500 (EST) Received: from [192.168.1.3] (pool-68-161-129-91.ny325.east.verizon.net [68.161.129.91]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by pi.codefab.com (Postfix) with ESMTP id A4EA35C10; Sat, 11 Mar 2006 09:39:03 -0500 (EST) Message-ID: <4412E108.9020902@mac.com> Date: Sat, 11 Mar 2006 09:39:04 -0500 From: Chuck Swiger Organization: The Courts of Chaos User-Agent: Thunderbird 1.5 (Windows/20051201) MIME-Version: 1.0 To: Grant Peel , freebsd-questions References: <001e01c64518$3df70b90$6701a8c0@GRANT> In-Reply-To: <001e01c64518$3df70b90$6701a8c0@GRANT> X-Enigmail-Version: 0.94.0.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Virus-Scanned: amavisd-new at codefab.com Cc: Subject: Re: Fw: dd - cloning a disk. Second Part! 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: Sat, 11 Mar 2006 14:39:05 -0000 Grant Peel wrote: > I the answer is yes to the first question (original question), then, > what happens if one 'dd's a small, say 36 GM disk to a larger one, say > 73 GB. Can the newly made disk be resized so as not to loose 1/2 of it? If you partition the bigger disk into two fdisk partitions, one of which is exactly the size of your original disk, you could use dd to copy the contents of the BSD slice from one disk to the other, and then use newfs to create a separate filesystem on the second fdisk partition. However, if you want to use the entire 73GB space at once, use dump and restore to copy the data instead. There's detailed documentation on this on the FreeBSD website... -- -Chuck