From owner-freebsd-questions Sun Jul 1 10:59: 7 2001 Delivered-To: freebsd-questions@freebsd.org Received: from x1-6-00-50-ba-de-36-33.kico1.on.home.com (d141-119-162.home.cgocable.net [24.141.119.162]) by hub.freebsd.org (Postfix) with ESMTP id E5FAA37B401 for ; Sun, 1 Jul 2001 10:59:03 -0700 (PDT) (envelope-from genisis@istar.ca) Received: from localhost (genisis@localhost) by x1-6-00-50-ba-de-36-33.kico1.on.home.com (8.11.3/8.11.3) with ESMTP id f61I3sN28779; Sun, 1 Jul 2001 14:03:55 -0400 (EDT) (envelope-from genisis@istar.ca) X-Authentication-Warning: x1-6-00-50-ba-de-36-33.kico1.on.home.com: genisis owned process doing -bs Date: Sun, 1 Jul 2001 14:03:54 -0400 (EDT) From: Dru X-X-Sender: To: Brandon Peyton Cc: Subject: Re: Change disk size.. In-Reply-To: Message-ID: <20010701135943.H28633-100000@x1-6-00-50-ba-de-36-33.kico1.on.home.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 On Sun, 1 Jul 2001, Brandon Peyton wrote: > Hello, > > I need some help here. Obviously I've got a problem as I can hardly get > anything to work now that my / is full. > > I cannot afford to reformat as this is runs my mailserver/dns/webserver/etc. > My issue comes down to how can I create more room in my root directory. Its > clear I made a fatal mistake by only allowing 50M. > > What I am trying to figure out is how to add capacity to / without loosing > my files. I would like to simply reformat and change it which would take a > matter of minutes but I cannot. I would like to have at least 500M or a gig > as my /. > > What do you think? What is the best way to do this without loosing data. (I > do not want to use any kind of partition magic programs as I have had > nothing but failure from them). > > Thanks > brandon > > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s1a 48M 47M -2.2M 105% / > /dev/ad0s1f 5.7G 408M 4.8G 8% /usr > /dev/ad0s1e 19M 3.2M 15M 18% /var > procfs 4.0K 4.0K 0B 100% /proc Hi Brandon, Your best bet would be to figure out what is filling up root. The most likely culprits are /root or /tmp and du -h /root du -h /tmp will let you know if this is the case or not. If the culprit is /root, get rid of what you don't need and don't surf, etc. as the superuser. If it's /tmp, use MFS instead. AFAIK, Partition Magic will see your FreeBSD partitions but won't let you resize them. Dru To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message