On Thu, Dec 10, 2009 at 04:34:41PM +0000, Stephen Borrill wrote:
Turns out that this was simply down to the write-cache being disabled
(OpenBSD explicitly forces the write-cache on). _Why_ the write-cache is
disabled is less clear.
Careful. Modern IDE or ATA drives alsmost always ship with the write cache
on. Some turn it off when an excessive bad block rate or other error is
detected. I wouldn't blithely turn it on if I found it off.
What I have observed, though, on one Intel-chipset system, for reasons I
do not understand -- and in both piixide and ahcisata mode! -- is that
the drive on one channel seems to turn its write cache off approximately
every 2 minutes. It doesn't matter which drive; put it on that particular
SATA channel, and eventually it will turn off its write cache! So turning
write cache on explicitly at boot time did not actually help.
Are you sure that's not what you're seeing?