From owner-freebsd-questions@FreeBSD.ORG Sun May 9 09:46:55 2010 Return-Path: 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 6783C106566C for ; Sun, 9 May 2010 09:46:55 +0000 (UTC) (envelope-from bruce@cran.org.uk) Received: from muon.cran.org.uk (muon.cran.org.uk [109.74.192.160]) by mx1.freebsd.org (Postfix) with ESMTP id 293FE8FC1E for ; Sun, 9 May 2010 09:46:54 +0000 (UTC) Received: from muon.cran.org.uk (localhost [127.0.0.1]) by muon.cran.org.uk (Postfix) with ESMTP id D01CCC400C; Sun, 9 May 2010 09:46:53 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.2.5 (2008-06-10) on muon.cran.org.uk X-Spam-Level: X-Spam-Status: No, score=-2.5 required=8.0 tests=AWL,BAYES_00,RDNS_DYNAMIC autolearn=no version=3.2.5 Received: from core.draftnet (87-194-158-129.bethere.co.uk [87.194.158.129]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by muon.cran.org.uk (Postfix) with ESMTPSA; Sun, 9 May 2010 09:46:53 +0000 (UTC) From: Bruce Cran To: freebsd-questions@freebsd.org Date: Sun, 9 May 2010 10:46:08 +0100 User-Agent: KMail/1.13.3 (FreeBSD/9.0-CURRENT; KDE/4.4.3; amd64; ; ) References: In-Reply-To: MIME-Version: 1.0 Content-Type: Text/Plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit Message-Id: <201005091046.08871.bruce@cran.org.uk> Cc: Ansar Mohammed , Bobby Walker Subject: Re: File system 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: Sun, 09 May 2010 09:46:55 -0000 On Sunday 09 May 2010 04:18:12 Ansar Mohammed wrote: > The background to this problem is because the FreeBSD root filesystem (UFS) > is not journaled and for some reason I cannot set my root partition to be > UFS+SoftUpdates. > > At any rate, we are in the year 2010, most modern operating systems and > databases and able to survive an unclean shutdown without booting into > single user mode and file system/data corruption. Even with SoftUpdates and journaling you'll find UFS doesn't cope well with unclean shutdowns: to test it, a couple of weeks ago I started a "rm -rf /usr/obj/*" and pressed the reset button - upon startup I got dumped into single-user mode with a softupdates inconsistency. I've not tried the same test but I think ZFS is much better at recovering from this sort of problem since it was designed from the start to be very resilient. -- Bruce Cran