From owner-freebsd-isp Tue Mar 25 10:30: 1 2003 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 85DB537B401 for ; Tue, 25 Mar 2003 10:29:58 -0800 (PST) Received: from bilver.wjv.com (user38.net339.fl.sprint-hsd.net [65.40.24.38]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0245843FB1 for ; Tue, 25 Mar 2003 10:29:57 -0800 (PST) (envelope-from bv@wjv.com) Received: from bilver.wjv.com (localhost.wjv.com [127.0.0.1]) by bilver.wjv.com (8.12.6/8.12.6) with ESMTP id h2PITh6u032004 for ; Tue, 25 Mar 2003 13:29:44 -0500 (EST) (envelope-from bv@wjv.com) Received: (from bv@localhost) by bilver.wjv.com (8.12.6/8.12.6/Submit) id h2PITgRZ032003 for freebsd-isp@freebsd.org; Tue, 25 Mar 2003 13:29:42 -0500 (EST) Date: Tue, 25 Mar 2003 13:29:41 -0500 From: Bill Vermillion To: freebsd-isp@freebsd.org Subject: Re: file system help needed Message-ID: <20030325182941.GA31323@wjv.com> Reply-To: bv@wjv.com References: <87CAE486F1968A4B823A6CEEB23B8D8D73820C@hermes2.intranet.eurotrust.dk> <00d701c2f2f4$3cebe5f0$2b32a8c0@hemligt.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <00d701c2f2f4$3cebe5f0$2b32a8c0@hemligt.net> Organization: W.J.Vermillion / Orlando - Winter Park ReplyTo: bv@wjv.com User-Agent: Mutt/1.5.1i X-Spam-Status: No, hits=-21.4 required=5.0 tests=AWL,IN_REP_TO,QUOTED_EMAIL_TEXT,QUOTE_TWICE_1,REFERENCES, REPLY_WITH_QUOTES,USER_AGENT_MUTT autolearn=ham version=2.50 X-Spam-Level: X-Spam-Checker-Version: SpamAssassin 2.50 (1.173-2003-02-20-exp) Sender: owner-freebsd-isp@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org On Tue, Mar 25, 2003 at 18:30 , S?ren Klintrup moved his mouse, rebooted for the change to take effect, and then said: > Arie J. Gerszt wrote: > > Hi Everybody > > > > I have a huge problem as you see ... > > Filesystem 1K-blocks Used Avail Capacity Mounted on > > /dev/ad0s1a 99183 96309 -5060 106% / > > /dev/ad0s1e 5458605 2866595 2155322 57% /usr > > /dev/ad0s1g 17876344 1085421 15360816 7% /usr/www > > /dev/ad0s1f 4465853 212592 3895993 5% /var > > procfs 4 4 0 100% /proc > > This server is a production server and I can't add any dns > > zonefiles or passwords, because they sit in /etc which is > > full, evidently. > > What can I do to solve that rather quickly? The disk ad0 has free > > space: > 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. > 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 / > 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. > 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. Leave the reinstall to systems that require it - eg MS thingys. Bill -- Bill Vermillion - bv @ wjv . com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-isp" in the body of the message