From owner-freebsd-questions@FreeBSD.ORG Mon Feb 7 14:19:38 2005 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 3719316A4CE for ; Mon, 7 Feb 2005 14:19:38 +0000 (GMT) Received: from top.daemonsecurity.com (FW-182-254.go.retevision.es [62.174.254.182]) by mx1.FreeBSD.org (Postfix) with ESMTP id 3A7DF43D54 for ; Mon, 7 Feb 2005 14:19:37 +0000 (GMT) (envelope-from norgaard@locolomo.org) Received: from [IPv6???1] (localhost.daemonsecurity.com [127.0.0.1]) by top.daemonsecurity.com (Postfix) with ESMTP id 1209FFD01F for ; Mon, 7 Feb 2005 15:19:34 +0100 (CET) Message-ID: <420778F0.6040300@locolomo.org> Date: Mon, 07 Feb 2005 15:19:28 +0100 From: Erik Norgaard User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.5) Gecko/20050127 X-Accept-Language: en, en-us, da, it, es MIME-Version: 1.0 To: freebsd-questions@freebsd.org References: <200502072248.41306.shinjii@virusinfo.rdksupportinc.com> In-Reply-To: <200502072248.41306.shinjii@virusinfo.rdksupportinc.com> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Subject: Re: /var Full 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: Mon, 07 Feb 2005 14:19:38 -0000 Warren wrote: > im trying to get cacti working, but since im using a small P2 300 machine with > a small hdd my /var has suddenly become full and im wodering what is safe and > not safe so to speak to del in the /var dir .. the following are the dir's i > have. > > drwxr-xr-x 2 root wheel 512 Feb 24 2004 account > drwxr-xr-x 4 root wheel 512 Aug 8 2004 at > drwxr-x--- 2 root wheel 512 Feb 5 03:01 backups > drwxr-x--- 2 root wheel 512 Aug 8 2004 crash > drwxr-x--- 3 root wheel 512 Aug 8 2004 cron > drwxr-xr-x 10 root wheel 512 Feb 6 20:51 db > dr-xr-xr-x 2 root wheel 512 Feb 24 2004 empty > drwx------ 2 root wheel 512 Feb 24 2004 heimdal > drwxr-xr-x 2 root wheel 512 Feb 7 03:09 log > drwxrwxr-x 3 root mail 512 Feb 4 21:41 mail > drwxr-xr-x 2 daemon wheel 512 Aug 8 2004 msgs > drwxr-xr-x 5 root wheel 512 Oct 3 22:26 named > drwxr-xr-x 2 root wheel 512 Feb 24 2004 preserve > drwxr-xr-x 5 root wheel 512 Feb 5 12:15 run > drwxrwxr-x 2 root daemon 512 Feb 24 2004 rwho > drwx--x--- 4 root uucp 512 Jan 21 22:40 smtpd > drwxr-xr-x 8 root wheel 512 Aug 8 2004 spool > drwxrwxrwt 7 root wheel 512 Feb 6 19:52 Although you have now found your solution, I'd recommend for such a question to submit the output of 'du -d1' instead - this will show which directories are using up the space. Cheers, Erik -- Ph: +34.666334818 web: http://www.locolomo.org S/MIME Certificate: http://www.locolomo.org/crt/2004071206.crt Subject ID: A9:76:7A:ED:06:95:2B:8D:48:97:CE:F2:3F:42:C8:F2:22:DE:4C:B9 Fingerprint: 4A:E8:63:38:46:F6:9A:5D:B4:DC:29:41:3F:62:D3:0A:73:25:67:C2