From owner-freebsd-questions@FreeBSD.ORG Wed Apr 18 20:35:02 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 4FFD916A409 for ; Wed, 18 Apr 2007 20:35:02 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.freebsd.org (Postfix) with ESMTP id 0608413C457 for ; Wed, 18 Apr 2007 20:35:01 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id l3IKWqVX058840; Wed, 18 Apr 2007 16:32:52 -0400 (EDT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id l3IKWp94058839; Wed, 18 Apr 2007 16:32:51 -0400 (EDT) (envelope-from jerrymc) Date: Wed, 18 Apr 2007 16:32:51 -0400 From: Jerry McAllister To: Christian Walther Message-ID: <20070418203251.GC58583@gizmo.acns.msu.edu> References: <294439d20704180628j8598a14v31f84d171ac47708@mail.gmail.com> <14989d6e0704180846i1475c2b2ncd01af5e5d9e7df3@mail.gmail.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <14989d6e0704180846i1475c2b2ncd01af5e5d9e7df3@mail.gmail.com> User-Agent: Mutt/1.4.2.2i Cc: Amarendra Godbole , freebsd-questions@freebsd.org Subject: Re: Moving existing FreeBSD system to a new harddisk... 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: Wed, 18 Apr 2007 20:35:02 -0000 On Wed, Apr 18, 2007 at 05:46:50PM +0200, Christian Walther wrote: > On 18/04/07, Amarendra Godbole wrote: > >Hi, > > > >I have FreeBSD 6.2 installed on a Dell Latitude D400 laptop. The > >harddisk is 40G, with FreeBSD occupying about 25G, and remaining to > >Windows. I have received a replacement for this hard disk, which is a > >bigger capacity one - 80G. I have to move the existing FreeBSD system > >from the old to the new hard disk. I did find something here: > >http://www.freebsddiary.org/driveswap.php. Still, I'd like to hear > >someone's experience regarding the same. Thanks! > > I recently replaced a dying Hard Disk with a newer and bigger one. To > move the data to the new disk I used dump/restore, and stored the data > on my server. > 1. dumped all slices from the machine to the server > 2. replaced the disks > 3. did a basic FreeBSD install from CD ROM to get a proper disk layout > and a boot manager. Because of this installation I got the same slices > as on the old disk, just with a new size matching the new disks > specification. So the slice names remained the same. > 4. restored the previously dumped slices to the new disk Just a comment here. You seem to be switching around the terms a little. You would dump a partition, not a slice. In FreeBSD, slices are the primary divisions, of which there can be up to 4 and the subdivisions of each slice, upon which filesystems are built are called partitions. It is popular to get these turned around. Even the man pages have goofed up in a couple of places. It is handy to refer to the division that gets dumped and restored as a 'filesystem' since by that time it has already been not only divided but new-fs into a read/write-able filesystem. By doing that, it reduces some of the opportunity for confusion in terms. Otherwise, what you explain here is reasonable. ////jerry > > BTW: As long as you don't remove/destroy the data on the original disk > there's nothing desastrous that can be happen to you. If the method > you choose doesn't work somehow, you can still create another backup > of the original disk. > >From all possible and existing methods you should choose the one you > feel most comfortable with, e.g. that you understand completely, and > where you know the needed tools most. > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"