From owner-freebsd-small Sun Dec 23 22:58:49 2001 Delivered-To: freebsd-small@freebsd.org Received: from web10108.mail.yahoo.com (web10108.mail.yahoo.com [216.136.130.58]) by hub.freebsd.org (Postfix) with SMTP id C267737B41A for ; Sun, 23 Dec 2001 22:58:46 -0800 (PST) Message-ID: <20011224065846.76833.qmail@web10108.mail.yahoo.com> Received: from [65.88.96.239] by web10108.mail.yahoo.com via HTTP; Sun, 23 Dec 2001 22:58:46 PST Date: Sun, 23 Dec 2001 22:58:46 -0800 (PST) From: John Hanley Subject: Re: Disk Writes To: Andrew Hannam , freebsd-small@freebsd.org In-Reply-To: <003d01c18c43$5446ad20$0104010a@famzon.com.au> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG --- Andrew Hannam wrote: > Transactions occur roughly 5->10 times a day. The application has been > written to only append to files or to replace the file by creating a new > file and then writing a single byte to redirect which file is in use. > > The problem is that in certain circumstances in power down (which can > occur at any time), the /app file system is being corrupted beyond what > an automatic fsck at boot can repair. It sounds like you do a short duration write followed by fsync() (or at least you could sync if you wanted to). Did you enable soft updates for /app? What did ``fsck -y'' report? Cheers, JH __________________________________________________ Do You Yahoo!? Send your FREE holiday greetings online! http://greetings.yahoo.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-small" in the body of the message