From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 09:58:23 2003 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 87FE116A4B3 for ; Tue, 16 Sep 2003 09:58:23 -0700 (PDT) Received: from out001.verizon.net (out001pub.verizon.net [206.46.170.140]) by mx1.FreeBSD.org (Postfix) with ESMTP id 74CC143FB1 for ; Tue, 16 Sep 2003 09:58:22 -0700 (PDT) (envelope-from mike@pcmedx.com) Received: from duron.pcmedx.com ([4.46.22.189]) by out001.verizon.net (InterMail vM.5.01.05.33 201-253-122-126-133-20030313) with ESMTP id <20030916165821.SEGU5382.out001.verizon.net@duron.pcmedx.com>; Tue, 16 Sep 2003 11:58:21 -0500 Received: from localhost (localhost [127.0.0.1]) by duron.pcmedx.com (Postfix) with ESMTP id F099EAA7E; Tue, 16 Sep 2003 09:58:20 -0700 (PDT) Received: from mike (mike.pcmedx.com [192.168.240.244]) by duron.pcmedx.com (Postfix) with SMTP id 3C5DDAA2B; Tue, 16 Sep 2003 09:58:20 -0700 (PDT) Message-ID: <005a01c37c73$c1d21600$f4f0a8c0@pcmedx.com> From: "Mike Maltese" To: "freebsd-questions" References: <906762293.20030916105121@mygirlfriday.info> <003f01c37c6c$456bf100$f4f0a8c0@pcmedx.com> <958866990.20030916112625@mygirlfriday.info> Date: Tue, 16 Sep 2003 09:58:31 -0700 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 X-Virus-Scanned: by amavisd (http://www.amavis.org) and f-prot (http://www.f-prot.com) at pcmedx.com X-Authentication-Info: Submitted using SMTP AUTH at out001.verizon.net from [4.46.22.189] at Tue, 16 Sep 2003 11:58:21 -0500 cc: Gary Subject: Re: linking a dir 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: Tue, 16 Sep 2003 16:58:23 -0000 > dev/ad0s1a 128990 86254 32418 73% / > > -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel > -r-xr-xr-x 1 root wheel 4122347 Apr 3 04:53 kernel.GENERIC > > I don't know which kernel is being used... Deleting one would surely help. Unless you're specifying it at boot, you can safely remove kernel.GENERIC. > Good question. This is a production Mail / DNS server (using qmail and > djbdns), so I have logs in /etc (by the default run script) minimally at > 100K each x10 (before they rotate out) for each of SMTP, SEND, another > SMTP, axfrdns, tinydns, dnscache, 2 rbls, and maybe one more... the SMTP > and SEND logs are at 250k each of 10... so you see how this can add up... I run postfix and BIND, so I'm not particularly familiar with those packages. I would think that there's some facility in those programs to specify a more appropriate place (like /var/log). Alternatively, if your logs are rotated by newsyslog, you could keep fewer log files and/or use bzip2 compression on the old ones. If not, you could write a shell script to accomplish the same thing. bzip2 gets my 500K maillogs down to ~35K, and I also keep 10 of them, so the savings is significant. The problem I have with this is 250K*10 and 100K*10 only adds up to 3.5M, hardly enough to take up the remainder of your partition. Do you have anything hanging around in /root?