Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 27 Jul 2004 00:24:53 +0300
From:      Ion-Mihai Tetcu <itetcu@people.tecnik93.com>
To:        "Kevin Oberman" <oberman@es.net>
Cc:        bugghy <bugghy@home.ro>
Subject:   Re: magic sysrq keys functionality
Message-ID:  <20040727002453.063749d6@it.buh.tecnik93.com>
In-Reply-To: <20040726190039.9A9935D08@ptavv.es.net>
References:  <1090878779.715.18.camel@illusion.com> <20040726190039.9A9935D08@ptavv.es.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Mon, 26 Jul 2004 12:00:39 -0700
"Kevin Oberman" <oberman@es.net> wrote:

> > From: bugghy <bugghy@home.ro>
> > Date: Mon, 26 Jul 2004 21:53:02 +0000
> > Sender: owner-freebsd-current@freebsd.org
> > 
> > 
> > 
> > 	So, what would be a convenient way to protect a 5.x release against
> > data loss / corruption in case of frequent powerfaillures. (a software
> > method)
> 
> Turn off write-cache on the disks. hw.ata.wc="0" in /boot/loader.conf
> (But be prepared to suffer the consequences to disk performance.)

You could also lower the interval the filesystem date is sync'ed to disk,
from the default 30,29,28 e.g. in /boot/loader/conf:

kern.filedelay="15"
kern.dirdelay="14"
kern.metadelay="13"

Of course, the disk performance will suffer even more.


-- 
IOnut
Unregistered ;) FreeBSD "user"



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20040727002453.063749d6>