From owner-freebsd-questions@FreeBSD.ORG Tue Mar 13 04:12:46 2007 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 7CD4716A402 for ; Tue, 13 Mar 2007 04:12:46 +0000 (UTC) (envelope-from david.cecil@nokia.com) Received: from mgw-ext11.nokia.com (smtp.nokia.com [131.228.20.170]) by mx1.freebsd.org (Postfix) with ESMTP id 1224B13C455 for ; Tue, 13 Mar 2007 04:12:45 +0000 (UTC) (envelope-from david.cecil@nokia.com) Received: from esebh108.NOE.Nokia.com (esebh108.ntc.nokia.com [172.21.143.145]) by mgw-ext11.nokia.com (Switch-3.2.5/Switch-3.2.5) with ESMTP id l2D3r7Bu006089 for ; Tue, 13 Mar 2007 05:53:21 +0200 Received: from siebh101.NOE.Nokia.com ([172.30.195.27]) by esebh108.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Mar 2007 05:52:24 +0200 Received: from syebe101.NOE.Nokia.com ([172.30.128.65]) by siebh101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Mar 2007 11:52:20 +0800 Received: from [172.30.10.60] ([172.30.10.60]) by syebe101.NOE.Nokia.com with Microsoft SMTPSVC(6.0.3790.1830); Tue, 13 Mar 2007 14:52:18 +1100 Message-ID: <45F61FEE.1030800@nokia.com> Date: Tue, 13 Mar 2007 13:52:14 +1000 From: David Cecil User-Agent: Thunderbird 1.5.0.9 (Windows/20061207) MIME-Version: 1.0 To: freebsd-questions@freebsd.org Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-OriginalArrivalTime: 13 Mar 2007 03:52:18.0622 (UTC) FILETIME=[FF152DE0:01C76522] X-eXpurgate-Category: 1/0 X-eXpurgate-ID: 149371::070313055321-0CA6BBB0-02C9E704/0-0/0-1 X-Nokia-AV: Clean Subject: fsck, soft-updates, and snapshots 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: Tue, 13 Mar 2007 04:12:46 -0000 Hi, I almost sent this to freebsd-hackers, so please direct me there is that list is more appropriate. I am seeing some problems with soft-updates and fsck (I believe) so I have a couple of questions. Can anyone tell me src/sys/ufs/ffs/README.softupdates and README.snapshots are up to date? The former is dated June 2000, so it's almost 7 years old. The snapshots readme is only 2 years younger and mentions the code being alpha-test. The problems I'm seeing in 6.1 are: 1. After writing a lot if data/files to a filesystem with soft-updates enabled, then unmounting or remounting it: update error: /: blocks files It appears others have seen this too. It appears that an attempt to flush the buffers to disk as part of the unmount failed. Is this a known issue? 2. I was planning to use soft-updates and then have fsck run in the background if necessary on reboot to reclaim any lost blocks (as suggested by Kirk's whitepaper(s)). Normally the filesystem in question would be mounted read-only, but will be mounted read-write at times and remounted read-only. Will a background fsck work on a filesystem mounted read-only? Will it operate on a snapshot and if so, can or how does it replace the existing filesystem when the snapshot is corrected? Any advice much appreciated. Thanks, Dave -- Software Engineer Secure and Mobile Connectivity Nokia Enterprise Solutions +61 7 5553 8307 (office) +61 412 728 222 (cell)