From owner-freebsd-questions@FreeBSD.ORG Wed Apr 26 12:00:44 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 C6E6316A43A for ; Wed, 26 Apr 2006 12:00:44 +0000 (UTC) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: from mail6.sea5.speakeasy.net (mail6.sea5.speakeasy.net [69.17.117.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0A0DF43D49 for ; Wed, 26 Apr 2006 12:00:43 +0000 (GMT) (envelope-from freebsd-questions-local@be-well.ilk.org) Received: (qmail 30453 invoked from network); 26 Apr 2006 12:00:43 -0000 Received: from dsl092-078-145.bos1.dsl.speakeasy.net (HELO be-well.ilk.org) ([66.92.78.145]) (envelope-sender ) by mail6.sea5.speakeasy.net (qmail-ldap-1.03) with SMTP for ; 26 Apr 2006 12:00:43 -0000 Received: by be-well.ilk.org (Postfix, from userid 1147) id A59D128425; Wed, 26 Apr 2006 08:00:40 -0400 (EDT) Sender: lowell@be-well.ilk.org To: nthwaver@gmail.com References: <17b33a80604251541h7140866cp46e680404204c61c@mail.gmail.com> From: Lowell Gilbert Date: 26 Apr 2006 08:00:40 -0400 In-Reply-To: <17b33a80604251541h7140866cp46e680404204c61c@mail.gmail.com> Message-ID: <44k69clf6f.fsf@be-well.ilk.org> Lines: 40 User-Agent: Gnus/5.09 (Gnus v5.9.0) Emacs/21.3 MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Cc: FreeBSD Questions Subject: Re: Cloning boot drive - more details 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, 26 Apr 2006 12:00:44 -0000 nthwaver@gmail.com writes: > My system partitions (/, swap, /usr, /var, /home) are currently spread > onto a 10GB and a 20GB IDE drive, but I'd like to save space by > consolidating these along with some (not heavily accessed) data > partitions into a larger 250GB disk. The other drives (at this point > a couple of SATA in RAID0) should be unaffected. I'm a relative > newbie and although I've read the handbook and the past months' > threads regarding cloning, I still have a few questions. > > 1) Am I correct in understanding that I can simply connect the new > drive to a spare IDE controller and boot from the old disk, using > sysinstall to make the new partitions and give them temporary mount > points (choosing "yes" to install bootmanager), then dump | restore to > move each FS, and simply take out the old drives and switch over to > the new one? Will this boot and run seamlessly? At what point should > I edit the old /etc/fstab that was copied over? If I *can* do this, > then what are the benefits of doing a fresh install on the new drive > first? > > 2) If I dump | restore from a *running* system, will the resulting > clone be confused when it's booted up? Are any crucial changes or > balancing acts made upon shutdown that the new drive will miss? Or, > is its main purpose fulfilled when it's loaded into memory on boot? > > 3) The handbook also recommends using boot0config, but how necessary > is this if I just plan on simply replacing the original drive? > > 4) How are the prospects of data recovery affected by FreeBSD's use of > "slices" for filesystems on top of partitions? Experience tells me > that with traditional partitions, a corrupted file tree or data in one > area needn't prevent retreival of the other areas. Is this so with > "slices" as well? I suspect that a slice *is* what you mean by a "traditional" partition. Either way, yes, problems on one shouldn't affect another. For the rest of your questions, start with the FAQ entry on "How do I move my system over to my huge new disk?".