From owner-freebsd-isp@FreeBSD.ORG Wed Mar 26 01:46:44 2003 Return-Path: Delivered-To: freebsd-isp@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 0FBEB37B404 for ; Wed, 26 Mar 2003 01:46:44 -0800 (PST) Received: from hemligt.net (loki.ulovligt.net [129.142.164.58]) by mx1.FreeBSD.org (Postfix) with ESMTP id 6015343F75 for ; Wed, 26 Mar 2003 01:46:42 -0800 (PST) (envelope-from skl@securehosting.dk) Received: from bigchief ([195.249.47.43]) by hemligt.net ([129.142.164.58]) with SMTP (MDaemon.PRO.v6.5.2.R) for ; Wed, 26 Mar 2003 10:46:42 +0100 Message-ID: <00c501c2f37c$cc7b1d70$2b32a8c0@hemligt.net> From: =?iso-8859-1?Q?S=F8ren_Klintrup?= To: References: <87CAE486F1968A4B823A6CEEB23B8D8D738212@hermes2.intranet.eurotrust.dk> Date: Wed, 26 Mar 2003 10:48:04 +0100 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 8bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Authenticated-Sender: securehosting@hemligt.net X-Lookup-Warning: SMTP connection lookup on 195.249.47.43 does not match 195.249.47.43 X-MDRemoteIP: 195.249.47.43 X-Return-Path: skl@securehosting.dk X-MDaemon-Deliver-To: freebsd-isp@freebsd.org X-Spam-Status: No, hits=-22.5 required=5.0 tests=EMAIL_ATTRIBUTION,MSG_ID_ADDED_BY_MTA_3,QUOTED_EMAIL_TEXT, REFERENCES,REPLY_WITH_QUOTES autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Subject: Re: file system help needed X-BeenThere: freebsd-isp@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: skl@securehosting.dk List-Id: Internet Services Providers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 26 Mar 2003 09:46:45 -0000 Bill Vermillion wrote: > On Tue, Mar 25, 2003 at 18:30 , S?ren Klintrup moved his mouse, > rebooted for the change to take effect, and then said: > >> yep - the problem is that you have a lot of zonefiles in >> /etc/namedb .. > > How have you determined that? /etc is part of / which is full but > just because he can't edit this dns files does not mean they are > the culprit. > > Based on dns useage I've seen on my DNS he'd have to have 10K+ > domains to make a significant impact - unless he's dumped a lot of > files. > > I suspect it's something else. If he's running a default install > perhaps something like his mail program has left a huge temporary > mailbox in /tmp. I always make my TMPDIR to be /usr/tmp to avoid > such thints. You are quite right - since his problem was adding more zones for customers I kinda figured that was the case - a bad assumption from my side, which I see now after a good nights sleep :) >> here is several solutions to this problem, I've listed a few here : > >> 1) move the files from /etc/namedb to /usr/local/namedb or >> something like that and make a symbolic link > > And given the df output he has most of the space in a slice called > /usr/www - though /usr certainly has more than enough, as there is > more free space in /usr than totally used in / imo /usr/www wouldn't be a logical place to set the files if /usr has enough space, but it's all a matter of personal preference and system setup, ie if you have chrooted your apache to /usr/www it'd have access to zonefiles as well. >> 2) make a new slice for /etc/namedb with enough room for your >> files - and copy the old files to this slice > > That's pretty drastics unless you are running 10's of thousands of > entries in you DNS - at least that's how I view it. true, was just listing options that came to my mind >> 3) change the configuration for named so it points to another >> configfile and change the config to point at a new location >> with enough space > >> 4) Install a new version of bind ( http://www.isc.org ) to >> another location and configure it correctly. > > That's quite a bit of overkill. He just needs to pass the > the options to named for the config file to use, copy the current > named.conf to that location, and specify the working directory > there. as stated in #3 - but a bit vague I suspect. > Leave the reinstall to systems that require it - eg MS thingys. been there, done that - refused to recieve the t-shirt. It was "late" after a day bashing at ms machines, shouldn't have replied to the email I guess, the windows machine is running nicely now and I'm back on familiar grounds again (FreeBSD) - sorry for any inconvenience /Søren