From owner-freebsd-questions Wed Jul 31 13:55:43 2002 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 BF1B137B400 for ; Wed, 31 Jul 2002 13:55:40 -0700 (PDT) Received: from cypress.adhesivemedia.com (cypress.adhesivemedia.com [207.202.159.72]) by mx1.FreeBSD.org (Postfix) with ESMTP id 220BA43E67 for ; Wed, 31 Jul 2002 13:55:40 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from cypress.adhesivemedia.com (localhost [127.0.0.1]) by cypress.adhesivemedia.com (8.12.3/8.12.3) with ESMTP id g6VKtddq069675; Wed, 31 Jul 2002 13:55:39 -0700 (PDT) (envelope-from philip@adhesivemedia.com) Received: from localhost (philip@localhost) by cypress.adhesivemedia.com (8.12.3/8.12.3/Submit) with ESMTP id g6VKtdcT069672; Wed, 31 Jul 2002 13:55:39 -0700 (PDT) X-Authentication-Warning: cypress.adhesivemedia.com: philip owned process doing -bs Date: Wed, 31 Jul 2002 13:55:39 -0700 (PDT) From: Philip Hallstrom To: William Blair Wagner Cc: freebsd-questions Subject: Re: extending the /usr filesystem - HELP! In-Reply-To: <20020731204614.47546.qmail@web20809.mail.yahoo.com> Message-ID: <20020731135401.S64045-100000@cypress.adhesivemedia.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII 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 You might also read the manpage for disklabel... it can be done, but before you do it, why nost just symlink the following: /usr/ports -> /usr3/ports /usr/src -> /usr3/src /usr/obj -> /usr3/obj and let it go at that. And if that's not enough you could symlink /usr/local -> /usr4/local. This would be a *lot* simpler and you wouldn't have to worry about trashing something by accident. -philip On Wed, 31 Jul 2002, William Blair Wagner wrote: > Hey Gang, > > Somewhat new to FreeBSD - I've found myself building > and installing many of the ports that I never thought > I'd install. so far, so good. However, I made the > /usr(/dev/ad2s1g) filesystem only 3GB. Now, I'm not > yet out of space, but seeing as I really like having > all this source code to peruse, I'd really like to > keep it all, and get more. > > I also created a large 10GB file system and another > 4GB file system, called /usr3(/dev/ad2s1h) and > /usr4(/dev/ad2s1d) respecively. I'd like to blow away > /usr3 and/usr4, then give about 6GB of space (now > freed up) to /usr, and create one final large > partition/slice and mount it on /usr3. The good news > is that the whole disk is dedicated to FreeBSD, and > /usr4 is the last (center slice) on the disk. /usr3 is > the next to the last slice on the disk, and /usr is > next to /usr3. > > Ive been all over the handbook, along with other > documents and articles. I can see to run > /stand/sysinstall to do the fdisk and label editor > work. But, I'd really like to know that I'm doing this > right. I figured I'd delete the 2 slices at the end, > and give 6 more GB to /usr, and set the rest as one > large slice. Once done, how do I extend the /usr > filesystem without losing its contents. > > I'm not usbscribed to this mailing list - so please > reply directly to me as well as the list, with useful > suggestions. > > TIA - you *ARE* the best! > > > ===== > -- > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > William Blair Wagner : Education is not always knowing the answer > blairwag1965@yahoo.com : ..but rather knowing where to look for it! > ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ > > __________________________________________________ > Do You Yahoo!? > Yahoo! Health - Feel better, live better > http://health.yahoo.com > > To Unsubscribe: send mail to majordomo@FreeBSD.org > with "unsubscribe freebsd-questions" in the body of the message > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message