Date: Sun, 23 Dec 2001 22:58:46 -0800 (PST) From: John Hanley <jh_@yahoo.com> To: Andrew Hannam <famzon@bigfoot.com>, freebsd-small@freebsd.org Subject: Re: Disk Writes Message-ID: <20011224065846.76833.qmail@web10108.mail.yahoo.com> In-Reply-To: <003d01c18c43$5446ad20$0104010a@famzon.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Andrew Hannam <famzon@bigfoot.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20011224065846.76833.qmail>