Join GitHub today
GitHub is home to over 50 million developers working together to host and review code, manage projects, and build software together.
Sign updocker + btrfs: file operations trigger AUFS related warnings #1075
Comments
|
Alright, this one is going to be a though one. Could you provide a full example, i.e.:
I know that it's tedious, but if you could provide a full Thanks a lot! |
|
@jpetazzo I'll provide an image. |
|
@unclejack ping |
|
I've tried out the following Dockerfile and make clean triggers the bug when the docker storage is on BTRFS:
|
|
Extracting and building in one step seems to trigger it every time:
output:
|
|
Not sure it's related to your problem, but you can use ADD to download and DOCKER-VERSION 0.4.8 RUN cd /root/linux-3.10.2 && make defconfig && make -j2 && make cleanOn Wed, Jul 24, 2013 at 12:05 PM, unclejack notifications@github.comwrote:
|
|
@shykes I agree. The only purpose of that Dockerfile was to trigger the bug. I was building a bit more code when I've discovered the problem and I had to find something similar which downloads and compiles less. |
|
This might be related to #1320. |
|
AUFS is being removed in 0.7 and this issue should be reopened when AUFS gets added back as a plugin. I'm closing this issue for now. |
|
Reopening this as AUFS will be available in 0.7 and it'll be used if the host meets the requirements. |
|
To side-step the issue, you might want to create a new partition with EXT4 and either:
I had the same problem, and relocating the docker folder on an EXT4 partition provided a workaround. |
|
@zedr Storing the data somewhere else is a known workaround for these problems. However, that doesn't help solve AUFS and btrfs problems. There are also some bugs in AUFS which need to be fixed so btrfs and the other file systems may never run into them again. |
|
@paulepanter found an easier way to reproduce this issue:
I'm not seeing the warning any more, but the other problems (stale NFS file handle and broken getcwd()) are still present. |
|
I'm closing this now in favor of #2056 because the warnings are gone and the getcwd() problem is the same.. |
This is a bug in AUFS which I've managed to trigger by running docker with the /var/lib/docker folder stored on a btrfs fs.
How I can reproduce:
During compilation, it says "stale NFS file handle" after building for a while.
It's much easier to trigger this by running
make cleanafter the build is done.The warning always looks like this: