Date: Mon, 30 Jul 2001 17:47:52 -0500 From: Mike Meyer <mwm@mired.org> To: Trevin Chow <tmchow@sfu.ca> Cc: questions@freebsd.org Subject: Re: installing new larger HD Message-ID: <15205.58392.144476.635096@guru.mired.org> In-Reply-To: <66814908@toto.iv>
next in thread | previous in thread | raw e-mail | index | archive | help
Trevin Chow <tmchow@sfu.ca> 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 <URL: http://www.freebsd.org/doc/en_US.ISO8859-1/books/faq/admin.html#NEW-HUGE-DISK >. > 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. <mike -- Mike Meyer <mwm@mired.org> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?15205.58392.144476.635096>