From owner-freebsd-questions@FreeBSD.ORG Wed Dec 20 15:29:00 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id D794516A416 for ; Wed, 20 Dec 2006 15:29:00 +0000 (UTC) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (gizmo.acns.msu.edu [35.8.1.43]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9B7AD43CC1 for ; Wed, 20 Dec 2006 15:28:53 +0000 (GMT) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: from gizmo.acns.msu.edu (localhost [127.0.0.1]) by gizmo.acns.msu.edu (8.13.6/8.13.6) with ESMTP id kBKFPhRo029600; Wed, 20 Dec 2006 10:25:43 -0500 (EST) (envelope-from jerrymc@gizmo.acns.msu.edu) Received: (from jerrymc@localhost) by gizmo.acns.msu.edu (8.13.6/8.13.6/Submit) id kBKFPh9b029599; Wed, 20 Dec 2006 10:25:43 -0500 (EST) (envelope-from jerrymc) Date: Wed, 20 Dec 2006 10:25:43 -0500 From: Jerry McAllister To: Bradley Giesbrecht Message-ID: <20061220152543.GA29541@gizmo.acns.msu.edu> References: <00190780-C6FE-42DB-9AD8-5D985625545F@pixilla.com> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.2i Cc: freebsd-questions@freebsd.org Subject: Re: var out of space X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 20 Dec 2006 15:29:01 -0000 On Tue, Dec 19, 2006 at 06:22:45PM -0800, Bradley Giesbrecht wrote: > Thanks for all help. > > uname says "FreeBSD 4.10-SECURITY" > > Looks like I should do a fresh install. What's a bugger is this > server does dns (bind 8) and web hosting (Apache 1.3) for a few > hundred domains. > > I can backup the zone and web data no problem but I've only installed > FreeBSD a few times while looking for a replacement for Gentoo. > > I need to get this right. > > This server will only be doing dns and some minor (low hit) web hosting. > > I will do my own homework and google like hell before I do this but > I'd like to ask here on this list what version of FreeBSD I should go > with Go with the latest _RELEASE version. Currently that is 6.1_RELEASE but 6.2_RELEASE is expected out very soon - maybe before you finish reading handbook and DNS and Apache documentation. > if there is a good howto for a combo bind/apache/php/mysql build. There is good information in the FreeBSD handbook plus for DNS, check out the O'Reilly DNS and Bind Grasshopper book and the O'Reilly DNS and Bind Cookbook Opossum book. There are several Apache books that each have a slightly different style, but you might want to start with one of the FreeBSD books such as 'FreeBSD Unleashed' that have a piece more specific to setting it up on FreeBSD. Go for the latest editions of these books. They tend to re-release them every so often, updated for later versions. > > Thanks for sharing your valuable time. Have fun, ////jerry > > //Brad > > On Dec 16, 2006, at 11:31 PM, Bradley Giesbrecht wrote: > > >Hello, > > > > > >I inherited a freebsd installation with a var slice/mount that is > >to small and filling up all the time. > > > >What type of info should I provide to allow someone to help me with > >a solution? > > > >I would very much prefer to not install another drive just for /var. > > > >/usr has plenty of space. Can I mount var off of /usr? > > > >Here is the output of df for starters: > > > >/dev/ad0s1a 128990 119970 -1298 101% / > >/dev/ad0s1f 257998 185246 52114 78% /tmp > >/dev/ad0s1g 112755734 4533434 99201842 4% /usr > >/dev/ad0s1e 257998 206956 30404 87% /var > >procfs 4 4 0 100% /proc > > > > > >and ls -la at / looks like this: > > > >-rw-r--r-- 2 root wheel 802 May 25 2004 .cshrc > >-rw-r--r-- 2 root wheel 251 May 25 2004 .profile > >-r--r--r-- 1 root wheel 6355 May 25 2004 COPYRIGHT > >drwxr-xr-x 2 root wheel 1024 Nov 29 17:39 bin > >drwxr-xr-x 3 root wheel 512 Nov 5 15:27 boot > >drwxr-xr-x 2 root wheel 512 Jan 16 2005 cdrom > >lrwxr-xr-x 1 root wheel 10 Jan 16 2005 compat -> usr/compat > >drwxr-xr-x 3 root wheel 20480 Jan 16 2005 dev > >drwxr-xr-x 16 root wheel 2560 Dec 1 16:11 etc > >lrwxrwxrwx 1 root wheel 9 Jan 16 2005 home -> /usr/home > >-r-xr-xr-x 1 root wheel 4344469 Nov 5 13:22 kernel > >-r-xr-xr-x 1 root wheel 4344469 Nov 5 13:22 kernel.GENERIC > >drwxr-xr-x 2 root wheel 512 May 25 2004 mnt > >drwxr-xr-x 2 root wheel 4608 Nov 5 13:22 modules > >dr-xr-xr-x 1 root wheel 512 Dec 17 01:10 proc > >drwxr-xr-x 3 root wheel 512 Nov 5 13:36 root > >drwxr-xr-x 2 root wheel 2048 Nov 5 15:27 sbin > >drwxr-xr-x 4 root wheel 1024 Jan 16 2005 stand > >lrwxr-xr-x 1 root wheel 11 Nov 5 15:27 sys -> usr/src/sys > >drw------- 7 root wheel 2048 Dec 17 01:09 tmp > >drwxr-xr-x 18 root wheel 512 Jan 16 2005 usr > >drwxr-xr-x 21 root wheel 512 Nov 6 11:54 var > > > > > >Thanks for any help, > >Brad > > > >_______________________________________________ > >freebsd-questions@freebsd.org mailing list > >http://lists.freebsd.org/mailman/listinfo/freebsd-questions > >To unsubscribe, send any mail to "freebsd-questions- > >unsubscribe@freebsd.org" > > _______________________________________________ > freebsd-questions@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-questions > To unsubscribe, send any mail to "freebsd-questions-unsubscribe@freebsd.org"