magic sysrq keys functionality

Ion-Mihai Tetcu itetcu at people.tecnik93.com
Mon Jul 26 14:28:04 PDT 2004


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"



More information about the freebsd-current mailing list