From owner-freebsd-questions Mon Feb 12 19:22:12 2001 Delivered-To: freebsd-questions@freebsd.org Received: from nameserver.austclear.com.au (nameserver.austclear.com.au [192.83.119.132]) by hub.freebsd.org (Postfix) with ESMTP id BBE9D37B491 for ; Mon, 12 Feb 2001 19:22:04 -0800 (PST) Received: from tungsten.austclear.com.au (tungsten.austclear.com.au [192.168.70.1]) by nameserver.austclear.com.au (8.9.3/8.9.3) with ESMTP id OAA56018; Tue, 13 Feb 2001 14:22:02 +1100 (EST) Received: from tungsten (tungsten [192.168.70.1]) by tungsten.austclear.com.au (8.9.3/8.9.3) with ESMTP id OAA01079; Tue, 13 Feb 2001 14:22:02 +1100 (EST) Message-Id: <200102130322.OAA01079@tungsten.austclear.com.au> X-Mailer: exmh version 2.1.1 10/15/1999 To: "Brad W" Cc: questions@FreeBSD.ORG Subject: Re: Transfer disk space form /usr to root partition In-Reply-To: Message from "Brad W" of "Mon, 12 Feb 2001 22:02:45 CDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Tue, 13 Feb 2001 14:22:02 +1100 From: Tony Landells Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG Hi Brad, This is possible, but it's not fun. At all. You may want to work out where on / you're chewing up space and look for an alternative solution: if it's /root, create another user with a home directory under /usr and do all the stuff that's collecting space as that user if it's /tmp either arrange a regular cleanout, try to reconfigure some of the stuff to use /var/tmp, or make /tmp a symlink to somewhere on /usr (for which you'll also need to create a matching directory without /usr mounted, so that if you boot to single-user mode and don't have /usr mounted then the symlink still refers to a real directory) if it's really stuff that has to be in /, see if you can clean up some other stuff, like dumping some stuff from /modules that you never intend to use, or if you have more than /kernel, /kernel.old and /kernel.GENERIC throw out the others. And if you still think the solution is to reallocate space from /usr to /, understand that you'll either be starting from scratch, or need a lot of spare space to dump your existing system, since the process is (subject to some variations): backup existing data repartition (which destroys every partition you change, which in your case is everything) reinstall restore the data you backed up > First of all, is this possible? I have exceeded all available space on my > root partition. > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s2a 51M 51M -4.0M 109% / > /dev/ad0s2f 4.6G 1.8G 2.4G 42% /usr > /dev/ad0s2e 20M 9.7M 9.0M 52% /var > procfs 4.1K 4.1K 0B 100% /proc > > > I should have made my root partition larger when I initially installed but, > ahh... too late now. Is there any valuable documentation on doing this and > if so where? > > Thanks, > Brad Good luck, Tony -- Tony Landells Senior Network Engineer Ph: +61 3 9677 9319 Australian Clearing Services Pty Ltd Fax: +61 3 9677 9355 Level 4, Rialto North Tower 525 Collins Street Melbourne VIC 3000 Australia To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message