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

Clay Gerrard clay.gerrard at gmail.com
Tue Sep 15 07:16:30 UTC 2015


Idk about a chestnut, but there's this:

http://lists.openstack.org/pipermail/openstack-operators/2011-October/000297.html

-Clay

On Mon, Sep 14, 2015 at 10:18 PM, Chris Friesen <chris.friesen at windriver.com
> wrote:

> 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.
>
> Chris
>
>
>
> _______________________________________________
> Mailing list:
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
> Post to     : openstack at lists.openstack.org
> Unsubscribe :
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20150915/0a9aa201/attachment.html>


More information about the Openstack mailing list