From owner-freebsd-questions Mon Jul 30 15:48: 4 2001 Delivered-To: freebsd-questions@freebsd.org Received: from guru.mired.org (okc-27-141-144.mmcable.com [24.27.141.144]) by hub.freebsd.org (Postfix) with SMTP id 7A22837B403 for ; Mon, 30 Jul 2001 15:47:58 -0700 (PDT) (envelope-from mwm@mired.org) Received: (qmail 59790 invoked by uid 100); 30 Jul 2001 22:47:52 -0000 From: Mike Meyer MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Message-ID: <15205.58392.144476.635096@guru.mired.org> Date: Mon, 30 Jul 2001 17:47:52 -0500 To: Trevin Chow Cc: questions@freebsd.org Subject: Re: installing new larger HD In-Reply-To: <66814908@toto.iv> X-Mailer: VM 6.90 under 21.1 (patch 14) "Cuyahoga Valley" XEmacs Lucid X-face: "5Mnwy%?j>IIV\)A=):rjWL~NB2aH[}Yq8Z=u~vJ`"(,&SiLvbbz2W`;h9L,Yg`+vb1>RG% *h+%X^n0EZd>TM8_IB;a8F?(Fb"lw'IgCoyM.[Lg#r\ Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Trevin Chow types: > Hey, > > Just wondering what the "correct" procedure for migrating to a new larger > HD would be? In fact, I don't even really want to migrate and reinstall > everything, I would much rather resize partitions, but I don't think this > is possible. I take it you didn't check the FAQ, because it's got the answer to the question "How do I move my system over to my huge new disk?" at . > What I have is the following: > > 1 x 15GB [existing] > 1 x 20GB [adding in about 1 month] > 1 x 60GB [adding in about 2 months] > > Currently in the 15GB I have in the machine, my setup is: > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 121M 54M 58M 48% / > /dev/ad0s1h 10G 945M 8.3G 10% /home > /dev/ad0s1g 97M 1.9M 87M 2% /tmp > /dev/ad0s1f 3.1G 1.8G 1.0G 63% /usr > /dev/ad0s1e 363M 11M 323M 3% /var > procfs 4.0K 4.0K 0B 100% /proc > > I wish I allocated more space to various partitions, especially /usr. > > So I guess my questions boil down to these: > > 1) What is the appropriate migration strategy, if any, to install my > 20GB? If I reinstall my entire system, what should I be saving from my > current HD? A fresh install - with dual booting - is the best. All you need to save is any config file you've changed from the system defaults. An ls of /var/db/pkg will give you a list of installed packages that need to be reinstalled. > 2) I'm thinking I should just allocate the 20GB drive entirely to > /home and redistribute the entire 15GB to the rest of the partitions. Any > sizing strategy? Without a lot of information about what you're doing, you can't get any intelligent input. Don't create separate partitions without a good reason, and neither "the system defalt does it that way" or "we've always done it that way" qualify as good reasons. In other words, / (with /tmp, usr and /var on it) on the 15GB and /home on the 20GB is perfectly reasonable for some situations. http://www.mired.org/home/mwm/ Independent WWW/Perforce/FreeBSD/Unix consultant, email for more information. To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message