On Thu, Feb 23, 2006 at 11:06:23AM -0800, Christian Rice wrote:
> Perhaps no one else is using XFS as a root filesystem on SATA drives,
> but I've been giving it a go. And I've been lucky to NOT experience a
> power failure in my machine room, I guess.
>
> I've tried blktool and sdparm, both RPMS and compiled locally, but
> nothing can turn off the write cache. I'm using multiple motherboards,
> different drive manufactureres, but no avail.
>
> Has anyone had success with this issue? Am I forced to continue on with
> PATA drives for the foreseeable future?
>
> Any informed responses would be a huge help.
Another option is to use the "barrier" mount option from current
kernels, which implements write barriers. This is fairly recent
code (so you want a very recent kernel - like a 2.6.16-rcX) - we
saw one/two teething problems when this initially went in, which
is why its not on by default. But there have been both XFS and
block layer fixes in this area since I last looked at this, so it
may have all the wrinkles ironed out now.
Please report back if you find any problems with it.
cheers.
--
Nathan
|