Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 16 Sep 2014 09:50:14 -0400
From:      Douglas Gilbert <dgilbert@interlog.com>
To:        Bram Vandoren <bram.vandoren@ster.kuleuven.be>, freebsd-scsi@freebsd.org
Subject:   Re: How to disable hard disk write cache?
Message-ID:  <54184016.7060208@interlog.com>
In-Reply-To: <5418311A.3080007@ster.kuleuven.be>
References:  <541804B0.7070407@gmail.com> <5418311A.3080007@ster.kuleuven.be>

next in thread | previous in thread | raw e-mail | index | archive | help
On 14-09-16 08:46 AM, Bram Vandoren wrote:
> 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.

You could also use the sdparm utility:
    sdparm -c WCE <device>




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?54184016.7060208>