[Openstack] [Swift] Mount options with xfs - why nobarrier recommended?
Mark Kirkwood
mark.kirkwood at catalyst.net.nz
Tue Sep 15 02:59:43 UTC 2015
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?
regards
Mark
More information about the Openstack
mailing list