Re: magic sysrq keys functionality

From: Ion-Mihai Tetcu <itetcu_at_people.tecnik93.com>
Date: Tue, 27 Jul 2004 00:24:53 +0300
On Mon, 26 Jul 2004 12:00:39 -0700
"Kevin Oberman" <oberman_at_es.net> wrote:

> > From: bugghy <bugghy_at_home.ro>
> > Date: Mon, 26 Jul 2004 21:53:02 +0000
> > Sender: owner-freebsd-current_at_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"
Received on Mon Jul 26 2004 - 19:28:04 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:03 UTC