From owner-freebsd-stable@FreeBSD.ORG Thu Oct 26 12:14:23 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id A684A16A492 for ; Thu, 26 Oct 2006 12:14:23 +0000 (UTC) (envelope-from pj@smo.de) Received: from ilk.de (mx-out14.ilk.de [194.121.104.14]) by mx1.FreeBSD.org (Postfix) with ESMTP id BBEFB43D76 for ; Thu, 26 Oct 2006 12:13:41 +0000 (GMT) (envelope-from pj@smo.de) Received: from bologna.intern.smo.de (pool36.ka.ilk.net [212.86.194.36]) by ilk.de (8.13.4/8.13.4/ilk-relay) with ESMTP id k9QCDXfY011698; Thu, 26 Oct 2006 14:13:33 +0200 Received: from [192.168.153.208] (herdubreid.intern.smo.de [192.168.153.208]) by bologna.intern.smo.de (8.13.4+Sun/8.13.4) with ESMTP id k9QCD9GG017171; Thu, 26 Oct 2006 14:13:09 +0200 (CEST) Message-ID: <4540A759.50901@smo.de> Date: Thu, 26 Oct 2006 14:17:29 +0200 From: Philipp Ost User-Agent: Mozilla/5.0 (X11; U; FreeBSD i386; en-US; rv:1.7.13) Gecko/20061022 X-Accept-Language: de, en-us, en MIME-Version: 1.0 To: "SiteRollout.com" References: <002c01c6f8f2$7656c550$0200a8c0@pc1> In-Reply-To: <002c01c6f8f2$7656c550$0200a8c0@pc1> Content-Type: text/plain; charset=us-ascii; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-stable@freebsd.org Subject: Re: Three FreeBSD 6 questions X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Oct 2006 12:14:23 -0000 SiteRollout.com wrote: > Two questions to kickstart my participation on this list: > > 1.) How exactly do I know whether I am running the STABLE or CURRENT > release, as when I run uname I can only see the following relevant info: > > FreeBSD server4.domain.info 6.0-RELEASE FreeBSD 6.0-RELEASE #0: Sat Sep 23 > 13:52:48 UTC 2006 root@server4. > > domain.info:/usr/src/sys/i386/compile/SERVER4 i386 You are running 6.0-RELEASE. The current release is 6.1 - 6.2 is coming out soon[tm]. CURRENT is bleeding-edge development - you perhaps won't run it on a production server as it may crash at some point in time due to new features ;) > And which file do I change to use a different release, and how must I update > the system to pull in this latest release? You use cvsup(1) to update your local source-tree (and the ports-collection). In cvsup's configuration file(s), you specify what `version' of FreeBSD (RELEASE, STABLE, CURRENT) you want. ;) > 2.) I'm a bit confused as to updating the system. As I understand, there are > 3 areas which require updates: > > i. Ports > ii. Security updates > iii. Kernel updates > > I know how to perform the first two, but for kernel updates I can't seen to > find a consistent unified method with talk of the "traditional" way and the > "latest" way. What is the best way to keep my FreeBSD 6.x system up2date? The latter. > 3.) One of my new FreeBSD 6.0 servers went down recently. This was odd as > the actual server was hardly busy, but filesystem errors came up when > booting up the server. After running fsck, server would be up for about an > hour and then go down again. This kept happening and so I initially thought > it was due to overheating. However cooling was all good, so after further > investigation and googling I diagnosed the problem as being the background > fsck which for some reason was failing, causing the server to shutdown and > upon reboot requiring a manual fsck. > > I've fixed this by disabling the background fsck and forcing the bootup fsck > in /etc/rc.conf. At least then if the server goes down again it will fix > itself with a full fsck when booting up. My question is whether this is > okay, and has anyone experienced this same problem with their system? And > why has the background fsck been failing? Where can i find further info? Have you tried fscking your disks in single-user mode? And as Joe already said: Read The Handbook - it answers a lot of questions (if not all). :) You should have a local copy of it in /usr/share/doc/handbook/ HTH, Philipp -- www.familie-ost.info/~pj