From owner-freebsd-questions@FreeBSD.ORG Fri Mar 12 23:29:52 2004 Return-Path: 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 6ECAA16A4CE for ; Fri, 12 Mar 2004 23:29:52 -0800 (PST) Received: from smtp.owt.com (smtp.owt.com [204.118.6.19]) by mx1.FreeBSD.org (Postfix) with ESMTP id 284F443D39 for ; Fri, 12 Mar 2004 23:29:52 -0800 (PST) (envelope-from kstewart@owt.com) Received: from [207.41.94.233] (owt-207-41-94-233.owt.com [207.41.94.233]) by smtp.owt.com (8.12.8/8.12.8) with ESMTP id i2D7TRfH014951; Fri, 12 Mar 2004 23:29:27 -0800 From: Kent Stewart To: freebsd-questions@freebsd.org Date: Fri, 12 Mar 2004 23:29:50 -0800 User-Agent: KMail/1.6.1 References: <20040312223120.20200.h017.c001.wm@mail.lissaganda.com.criticalpath.net> In-Reply-To: <20040312223120.20200.h017.c001.wm@mail.lissaganda.com.criticalpath.net> MIME-Version: 1.0 Content-Disposition: inline Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <200403122329.50712.kstewart@owt.com> cc: kisha@lissaganda.com Subject: Re: X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 13 Mar 2004 07:29:52 -0000 On Friday 12 March 2004 10:31 pm, kisha@lissaganda.com wrote: > is there anyway i can reduce /var and /usr i did a > "make clean" under /usr/ports and didnt reduce the size > any ideas? > > > %sysctl kern.version > kern.version: FreeBSD 5.2.1-RELEASE-p1 #6: Sat Mar 6 > 12:54:40 PHT 2004 > dxy@mmp.ccp.ph:/usr/obj/usr/src/sys/MMP > > %df -h > Filesystem Size Used Avail Capacity Mounted on > /dev/ad0s2a 116M 59M 48M 55% / > devfs 1.0K 1.0K 0B 100% /dev > /dev/ad0s2e 124M 6.0K 114M 0% /tmp > /dev/ad0s2f 27G 20G 5.2G 79% /usr > /dev/ad0s2d 124M 96M 18M 84% /var You have to figure out where it is. You can use du -h to see it in human term. A common problem in /usr is leaving /usr/ports/.../work and distfiles. You probably have some large logs left behind in /var. It is also another place you have to find them manually and clean up. I log everything and created 1.5 GB /var. It takes awhile but then I still have to clean up. Kent -- Kent Stewart Richland, WA http://users.owt.com/kstewart/index.html