[Openstack] [Swift] Mount options with xfs - why nobarrier recommended?

Chris Friesen chris.friesen at windriver.com
Tue Sep 15 05:18:05 UTC 2015

On 09/14/2015 08:59 PM, Mark Kirkwood wrote:
> Hi,
> Sorry if this is a bit of a chestnut, but I notice that
> http://docs.openstack.org/developer/swift/deployment_guide.html recommends:
> $ mount -t xfs -o noatime,nodiratime,nobarrier,logbufs=8 /dev/sda1
> /srv/node/sda
> in particular the 'nobarrier' is of interest here. It seems to me that
> there should be qualifiers mentioning the disk cache setting at least
> (i.e disabled) and perhaps the cache+battery settings for any adapter
> card that the disk device is plugged into. Otherwise there is a risk of
> data loss or corruption on host power loss that could take a long time
> for the various updater, auditor processes to pick up let alone fix.
> Thoughts?

I agree, just recommending "nobarrier" without any caveats is asking for trouble.


More information about the Openstack mailing list