Adam Fried-Gintis wrote:
> I am just curious, if I see the warning that write barrier support is
> disabled when mounting an XFS filesystem through md multipath, does XFS have
> some OTHER provision for protecting the order of its writes to the
> underlying device, or is it unsafe to run with write back caching at that
> point? My underlying device is an active/active storage system - combined
> with the multipath driver, we are seeing metadata corruption on the
> filesystem, and I'm just trying to figure out if this is an invalid
> configuration to test or if the storage device is doing something wrong.
XFS needs to know that when the storage says a write is complete, that
it really is safe on disk.
You're ok w/o barriers if either:
a) you have no write cache, or
b) you know your write cache is guaranteed to hit the disks (UPS?)
Also, this only comes into play when the drives lose power and lose
their write cache. If that's not happening to you, then your problem is
likely not related to barrier issues.
When you say active/active; do you have 2 hosts directly accessing the
same filesystem on a SAN?
> Adam Fried-Gintis