Join GitHub today
GitHub is home to over 20 million developers working together to host and review code, manage projects, and build software together.
[Overlay] Value too large for defined data type #11700
Comments
|
@stainboy Please keep in mind that Docker didn't decide on its own to use overlay, it was told to use overlay. How much free disk space have you got? Can you provide an exact sequence of steps to follow to reproduce this, please? |
unclejack
changed the title from
[Overlayfs] Value too large for defined data type
to
[Overlay] Value too large for defined data type
Mar 24, 2015
stainboy
commented
Mar 24, 2015
|
@unclejack Thanks for the quick responding.
RESULT
|
|
@stainboy Thanks for providing the steps to reproduce the problem. No, I can't help you switch it back because that's how CoreOS set things up. You should ask your distribution vendor for help with a temporary workaround. The potential overlay bug affecting Docker will be investigated by the Docker project. |
stainboy
commented
Mar 24, 2015
|
@unclejack Thanks for the information. I will temporary reinstall the old coreos distribution and keep an eye on this issue. |
unclejack
added
the
area/storage/overlay
label
Mar 24, 2015
mischief
commented
Apr 9, 2015
|
i think that this is not a coreos or overlayfs problem, but a problem with the /bin/sh in debian, which is 'dash'. see http://www.gnu.org/software/coreutils/faq/coreutils-faq.html#Value-too-large-for-defined-data-type |
mischief
commented
Apr 9, 2015
|
it seems that this does work on coreos w/ btrfs driver for docker, but not on coreos w/ overlayfs driver. quite strange :/ |
stainboy
commented
Apr 10, 2015
|
True, it works fine w/ btrfs. However, unlike what you said in the previous session, this is a generic issue that happens on all kinds of images. Actually, in my case, I have created a kvm base image and put a 4GB size of win8.img into it. Every time I create a new container, kvm crash against overlay fs. |
|
Upgrade to kernel 4.2, Docker 1.8.2 then testing again. |
stainboy
commented
Oct 3, 2015
|
The issue still exists on the latest coreos 815.0.0 (kernel 4.2, docker 1.8.2) Repro steps:
Output:
|
|
This works on kernel 4.3.0 |
|
I tried both |
stainboy commentedMar 24, 2015
After upgrade my coreos to 618, docker has changed the underlying filesystem from btrfs to extfs + overlay. Which eventually causes it fails to write any files large than 2.5GB in the containers.
Any error code 27 and message "Value too large for defined data type" will be thrown if the above operation happens.
A quick and dirty workaround is to copy the large file from readonly layer to writable layer and make write operation against the new file.
Below is my os environment: