From owner-freebsd-questions Tue Jun 26 12:28:10 2001 Delivered-To: freebsd-questions@freebsd.org Received: from ptavv.es.net (ptavv.es.net [198.128.4.29]) by hub.freebsd.org (Postfix) with ESMTP id 6080F37B405 for ; Tue, 26 Jun 2001 12:28:07 -0700 (PDT) (envelope-from oberman@ptavv.es.net) Received: from ptavv.es.net (localhost [127.0.0.1]) by ptavv.es.net (8.10.1/8.10.1) with ESMTP id f5QJRmc06958; Tue, 26 Jun 2001 12:27:49 -0700 (PDT) Message-Id: <200106261927.f5QJRmc06958@ptavv.es.net> To: Andrew Reid Cc: freebsd-questions@FreeBSD.ORG Subject: Re: FreeBSD and surviving unclean shutdowns In-reply-to: Your message of "26 Jun 2001 11:44:08 +0930." <993521648.1058.8.camel@percible.alfred.cx> Date: Tue, 26 Jun 2001 12:27:48 -0700 From: "Kevin Oberman" Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > From: Andrew Reid > Date: 26 Jun 2001 11:44:08 +0930 > Sender: owner-freebsd-questions@FreeBSD.ORG > > While I am resurecting one of my mail servers (which is currently > running Linux) the thought crossed my mind "How would FreeBSD cope with > this situation?" > > This server is running Software-RAID on a (patched for RAID) 2.2 kernel, > and last night, the power went out for about three hours. My UPS only > lasted for 2 of them. > > How does FreeBSD cope with these sort of things? My Cache server took > about an hour-and-a-half of fsck.ext2'ing to come back to a useable > state. Use softupdates. This will both improve the chances of no data loss and will (purportedly) make fsck run faster. See the tunefs man page for how to turn on softupdates on a file system. (Note: you turn it on on a mount point (e.g. /usr), not a partition (/dev/aac0s1e). It is non-volatile. Turn it on for a file system and it will stay on after a reboot. When V5.0 comes out next year, it will do fsck in the background since there is no reason to run fsck on a softupdate file system before starting to use it. R. Kevin Oberman, Network Engineer Energy Sciences Network (ESnet) Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab) E-mail: oberman@es.net Phone: +1 510 486-8634 To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message