From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.virtall.com ([178.63.195.102]:47997 "EHLO mail.virtall.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754160AbcDHLgb (ORCPT ); Fri, 8 Apr 2016 07:36:31 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Date: Fri, 08 Apr 2016 20:36:26 +0900 From: Tomasz Chmielewski To: Roman Mamedov Cc: linux-btrfs Subject: Re: 4.4.0 - no space left with >1.7 TB free space left In-Reply-To: <20160208162410.58cb2b4a@natsu> References: <0c19f800da3013f22f2ab0d77d5a9efb@admin.virtall.com> <20160208162410.58cb2b4a@natsu> Message-ID: Sender: linux-btrfs-owner@vger.kernel.org List-ID: 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. Tomasz Chmielewski http://wpkg.org