From owner-freebsd-questions@FreeBSD.ORG Tue Mar 16 02:40:22 2004 Return-Path: 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 8803716A4CE for ; Tue, 16 Mar 2004 02:40:22 -0800 (PST) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 28B6B43D2F for ; Tue, 16 Mar 2004 02:40:21 -0800 (PST) (envelope-from judmarc@fastmail.fm) X-Sasl-enc: qtXI78euQWqNs5Imbg/FXQ 1079433578 Received: from dialup-67.74.79.157.dial1.philadelphia1.level3.net (dialup-67.74.79.157.Dial1.Philadelphia1.Level3.net [67.74.79.157]) by mail.messagingengine.com (Postfix) with ESMTP id 6CD1E76134A; Tue, 16 Mar 2004 05:39:35 -0500 (EST) To: anubis , "Terrac Skiens" , freebsd-questions@freebsd.org References: <20040316041146.GA2408@cloudfactory.org> <200403162033.18444.anubis357@optusnet.com.au> Message-ID: Date: Tue, 16 Mar 2004 05:39:33 -0500 From: Jud Content-Type: text/plain; format=flowed; delsp=yes; charset=utf-8 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit In-Reply-To: <200403162033.18444.anubis357@optusnet.com.au> User-Agent: Opera M2/7.50 (Win32, build 3671) Subject: Re: migrate system to new HD question X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Mar 2004 10:40:22 -0000 On Tue, 16 Mar 2004 20:33:34 +1000, anubis wrote: > On Tue, 16 Mar 2004 2:11 pm, Terrac Skiens wrote: >> Hello All, >> >> I have been running a FreeBSD system for fun & semi-pro uses for >> about 4 years. In all that time I only upgraded the Hard Disk once. >> That upgrade came at the same time as an OS upgrade, and at that >> time the server was used for much less. Now the applications, >> configuration, and data are all very important to me. >> >> So now it's time to upgrade again. and I want to migrate all the >> data from one disk (20gb) to another (80gb). Does anyone know of a >> way of imaging one drive onto the other? Idealy I would like to >> increase some of the slices as well, but that may not be possible. >> >> If anyone knows of a way, please let me know. > > There is the ever popular dump and restore method also. This allows > you to modify the slice and partition sizes. > Do something like this. > drop in new disk > format up with the sysinstall tools > mount the new partitions somewhere > restore the data to them > edit files like fstab to change the disk names in there or just swap > the drives around in the box so the new one is logically where the > old one was. > reboot > > look at man dump and man restore > If you really want to do it this way I can supply a better dummy > sheet. My apologies for coming in late to the discussion. Someone has probably already suggested the following link from the FreeBSD FAQ: It's simple, it's easy, it works, and it works as fast as or faster than any other method. Jud