Adam Cecile created MESOS-7825:
----------------------------------
Summary: Be able to specifiy xino folder mount option when dealing
with aufs (mesos incompatible with docker on XFS)
Key: MESOS-7825
URL: https://issues.apache.org/jira/browse/MESOS-7825
Project: Mesos
Issue Type: Bug
Reporter: Adam Cecile
Hi,
It's currently impossible to have Mesos working with docker with aufs storage
engine and XFS filesystem UNLESS you mount /tmp as a TMPFS.
The problem seems to related to incompatibility between aufs "xino" files and
XFS filesystem:
http://www.mail-archive.com/[email protected]/msg02587.html
What's weird is that docker itself works perfectly fine but not while being
used in Mesos. Here is the kernel log displayed when aufs mount fails:
[ 324.197376] aufs au_xino_create:798:mesos-slave[1588]: xino doesn't support
/tmp/.aufs.xino(xfs)
A possible workaround is to provide xino=/path/to/tmpfs/folder when doing aufs
mounts but I looked into the code and this option is not used at all in
aufs.cpp.
A better workaround would be to handle this in a automatic way, maybe like
docker does as it seems to be working despite /tmp is on XFS.
Best regards, Adam.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)