How to disable hard disk write cache?

Douglas Gilbert dgilbert at interlog.com
Tue Sep 16 13:50:35 UTC 2014


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>



More information about the freebsd-scsi mailing list