From owner-freebsd-stable@FreeBSD.ORG  Thu Jul 14 19:45:22 2005
Return-Path: <owner-freebsd-stable@FreeBSD.ORG>
X-Original-To: freebsd-stable@freebsd.org
Delivered-To: freebsd-stable@freebsd.org
Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125])
	by hub.freebsd.org (Postfix) with ESMTP id 97B6516A42F;
	Thu, 14 Jul 2005 19:45:22 +0000 (GMT)
	(envelope-from tolid@plab.ku.dk)
Received: from plab.ku.dk (plab.ku.dk [130.225.107.20])
	by mx1.FreeBSD.org (Postfix) with ESMTP id 3CDB343D46;
	Thu, 14 Jul 2005 19:45:22 +0000 (GMT)
	(envelope-from tolid@plab.ku.dk)
Received: from plab.ku.dk (localhost [127.0.0.1])
	by plab.ku.dk (Postfix) with SMTP id 3404A5623F4;
	Thu, 14 Jul 2005 21:45:21 +0200 (CEST)
Received: from [192.168.1.2] (david.tolid.eu.org [213.237.119.114])
	by plab.ku.dk (Postfix) with ESMTP id C8BBB5623F3;
	Thu, 14 Jul 2005 21:45:20 +0200 (CEST)
Message-ID: <42D6C0D0.6040106@plab.ku.dk>
Date: Thu, 14 Jul 2005 21:45:20 +0200
From: Anatoliy Dmytriyev <tolid@plab.ku.dk>
User-Agent: Mozilla Thunderbird 1.0 (Windows/20041206)
X-Accept-Language: en-us, en
MIME-Version: 1.0
To: freebsd-stable@freebsd.org
References: <20050714191449.A8A615D07@ptavv.es.net>
In-Reply-To: <20050714191449.A8A615D07@ptavv.es.net>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed
Content-Transfer-Encoding: 7bit
Cc: freebsd-questions@freebsd.org
Subject: Re: dangerous situation with shutdown process
X-BeenThere: freebsd-stable@freebsd.org
X-Mailman-Version: 2.1.5
Precedence: list
List-Id: Production branch of FreeBSD source code <freebsd-stable.freebsd.org>
List-Unsubscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>, 
	<mailto:freebsd-stable-request@freebsd.org?subject=unsubscribe>
List-Archive: <http://lists.freebsd.org/pipermail/freebsd-stable>
List-Post: <mailto:freebsd-stable@freebsd.org>
List-Help: <mailto:freebsd-stable-request@freebsd.org?subject=help>
List-Subscribe: <http://lists.freebsd.org/mailman/listinfo/freebsd-stable>,
	<mailto:freebsd-stable-request@freebsd.org?subject=subscribe>
X-List-Received-Date: Thu, 14 Jul 2005 19:45:22 -0000

Kevin Oberman wrote:

>SCSI or ATA? If it's ATA, turn off write cache with (atacontrol(8) or
>the sysctl.
>
>The problem is that disks lie about whether they have actually written
>data. If the power goes off before the data is in cache, it's lost.
>
>I am not sure if write-cache can be turned off on SCSI, but SCSI drives
>seem less likely to lie about when the data is actually flushed to the
>drive. 
>  
>

SCSI, Adaptec 2110S

-- 
Anatoliy Dmytriyev
<tolid@plab.ku.dk>