From owner-freebsd-scsi@FreeBSD.ORG Tue Sep 16 12:46:31 2014 Return-Path: Delivered-To: freebsd-scsi@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 5126F14C for ; Tue, 16 Sep 2014 12:46:31 +0000 (UTC) Received: from cavuit01.kulnet.kuleuven.be (rhcavuit01.kulnet.kuleuven.be [IPv6:2a02:2c40:0:c0::25:129]) by mx1.freebsd.org (Postfix) with ESMTP id 0E455905 for ; Tue, 16 Sep 2014 12:46:30 +0000 (UTC) X-KULeuven-Envelope-From: bram.vandoren@ster.kuleuven.be X-Spam-Status: not spam, SpamAssassin (not cached, score=-51, required 5, autolearn=disabled, ALL_TRUSTED -1.00, LOCAL_SMTPS -50.00) X-KULeuven-Scanned: Found to be clean X-KULeuven-ID: DF0DE20008.A0529 X-KULeuven-Information: Katholieke Universiteit Leuven Received: from icts-p-smtps-1.cc.kuleuven.be (icts-p-smtps-1e.kulnet.kuleuven.be [134.58.240.33]) by cavuit01.kulnet.kuleuven.be (Postfix) with ESMTP id DF0DE20008 for ; Tue, 16 Sep 2014 14:46:21 +0200 (CEST) Received: from miaplacidus.ster.kuleuven.be (unknown [10.33.178.95]) (using TLSv1 with cipher DHE-RSA-AES128-SHA (128/128 bits)) (No client certificate requested) by icts-p-smtps-1.cc.kuleuven.be (Postfix) with ESMTPSA id DFAA14098 for ; Tue, 16 Sep 2014 14:46:18 +0200 (CEST) Message-ID: <5418311A.3080007@ster.kuleuven.be> Date: Tue, 16 Sep 2014 14:46:18 +0200 X-Kuleuven: This mail passed the K.U.Leuven mailcluster From: Bram Vandoren User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.5.0 MIME-Version: 1.0 To: freebsd-scsi@freebsd.org Subject: Re: How to disable hard disk write cache? References: <541804B0.7070407@gmail.com> In-Reply-To: <541804B0.7070407@gmail.com> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-BeenThere: freebsd-scsi@freebsd.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: SCSI subsystem List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 16 Sep 2014 12:46:31 -0000 On 09/16/2014 11:36 AM, Xu Zhe wrote: > Does anyone knows how to disable write cache of hard disk? Have a look at camcontrol modepage and the WCE bit. Cheers, Bram.