From owner-freebsd-current@FreeBSD.ORG Mon Jul 26 21:28:04 2004 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85FCB16A4CE for ; Mon, 26 Jul 2004 21:28:04 +0000 (GMT) Received: from smtp.rdsnet.ro (smtp.rdsnet.ro [62.231.74.130]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8A0A343D41 for ; Mon, 26 Jul 2004 21:28:03 +0000 (GMT) (envelope-from itetcu@people.tecnik93.com) Received: (qmail 21341 invoked by uid 89); 26 Jul 2004 21:21:38 -0000 Received: from unknown (HELO it.buh.tecnik93.com) (81.196.204.98) by 0 with SMTP; 26 Jul 2004 21:21:38 -0000 Received: from localhost (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with ESMTP id CF285246; Tue, 27 Jul 2004 00:24:54 +0300 (EEST) Received: from it.buh.tecnik93.com ([127.0.0.1]) by localhost (it.buh.tecnik93.com [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id 95106-04; Tue, 27 Jul 2004 00:24:54 +0300 (EEST) Received: from it.buh.tecnik93.com (localhost.buh.tecnik93.com [127.0.0.1]) by it.buh.tecnik93.com (Postfix) with SMTP id 530C513B; Tue, 27 Jul 2004 00:24:54 +0300 (EEST) Date: Tue, 27 Jul 2004 00:24:53 +0300 From: Ion-Mihai Tetcu To: "Kevin Oberman" 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> X-Mailer: Sylpheed-Claws 0.9.12 (GTK+ 1.2.10; i386-portbld-freebsd5.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit X-Virus-Scanned: by amavisd-new at it.buh.cameradicommercio.ro cc: freebsd-current@freebsd.org cc: bugghy Subject: Re: magic sysrq keys functionality X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Jul 2004 21:28:04 -0000 On Mon, 26 Jul 2004 12:00:39 -0700 "Kevin Oberman" wrote: > > From: bugghy > > 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"