On Fri, 08 Apr 2016 20:36:26 +0900 Tomasz Chmielewski wrote: > On 2016-02-08 20:24, Roman Mamedov wrote: > > >> Linux 4.4.0 - btrfs is mainly used to host lots of test containers, > >> often snapshots, and at times, there is heavy IO in many of them for > >> extended periods of time. btrfs is on HDDs. > >> > >> > >> Every few days I'm getting "no space left" in a container running > >> mongo > >> 3.2.1 database. Interestingly, haven't seen this issue in containers > >> with MySQL. All databases have chattr +C set on their directories. > > > > Hello, > > > > Do you snapshot the parent subvolume which holds the databases? Can you > > correlate that perhaps ENOSPC occurs at the time of snapshotting? If > > yes, then > > you should try the patch https://patchwork.kernel.org/patch/7967161/ > > > > (Too bad this was not included into 4.4.1.) > > By the way - was it included in any later kernel? I'm running 4.4.5 on > that server, but still hitting the same issue. It's not in 4.4.6 either. I don't know why it doesn't get included, or what we need to do. Last time I asked, it was queued: http://www.spinics.net/lists/linux-btrfs/msg52478.html But maybe that meant 4.5 or 4.6 only? While the bug is affecting people on 4.4.x today. Thanks -- With respect, Roman