From owner-freebsd-questions@FreeBSD.ORG Tue Sep 16 09:26:28 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 421F916A4B3 for ; Tue, 16 Sep 2003 09:26:28 -0700 (PDT) Received: from mygirlfriday.info (adsl-65-64-145-209.dsl.stlsmo.swbell.net [65.64.145.209]) by mx1.FreeBSD.org (Postfix) with ESMTP id 4B55543FDD for ; Tue, 16 Sep 2003 09:26:27 -0700 (PDT) (envelope-from gv-list-freebsdquestions@mygirlfriday.info) Received: (qmail 26110 invoked from network); 16 Sep 2003 16:26:16 -0000 Received: from user204.net795.mo.sprint-hsd.net (HELO major.mygirlfriday.info) (65.41.216.204) by mongo.mygirlfriday.info with DES-CBC3-SHA encrypted SMTP; 16 Sep 2003 16:26:16 -0000 Date: Tue, 16 Sep 2003 11:26:25 -0500 From: Gary X-Mailer: The Bat! (v2.00.6) Personal Organization: Hardly X-Priority: 3 (Normal) Message-ID: <958866990.20030916112625@mygirlfriday.info> To: "freebsd-questions" In-Reply-To: <003f01c37c6c$456bf100$f4f0a8c0@pcmedx.com> References: <906762293.20030916105121@mygirlfriday.info> <003f01c37c6c$456bf100$f4f0a8c0@pcmedx.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: Re: linking a dir X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Gary List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2003 16:26:28 -0000 Hello Mike, Tuesday, September 16, 2003, 11:04:55 AM, you wrote: MM> Deleteing unused kernels would be a good start. What is the size of your / MM> partition? 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. MM> Add most puzzling of all, why do you have logs in /etc? There should MM> be very little write activity on /, so the possiblilty of it filling MM> up shouldn't be much of a concern. 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 am hoping that I will have seen just about the end of the bloating / dir, but was concerned enough to write about it... I should have planned the layout better. >> It seems that on a remote box FBSD 4.8, my /dev/ad0s1a or / dir is at 73% >> capacity >> already, and this has me somewhat worried. I attribute this to the /etc >> dir inside of the / dir, as it contains many log files, etc... or perhaps >> the 2 kernels sitting under / both kernel and kernel.GENERIC >> >> Question is can I cp /etc to say a /usr/etc and link it (as I have tons of >> room under /usr) without any problem. >> >> Thanks for input.. -- Best regards, Gary