From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.virtall.com ([178.63.195.102]:46221 "EHLO mail.virtall.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751632AbcELGEA (ORCPT ); Thu, 12 May 2016 02:04:00 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII; format=flowed Date: Thu, 12 May 2016 15:03:55 +0900 From: Tomasz Chmielewski To: Roman Mamedov Cc: linux-btrfs , Chris Mason , Zhao Lei Subject: Re: 4.4.0 - no space left with >1.7 TB free space left In-Reply-To: <20160408165332.450659c4@natsu> References: <0c19f800da3013f22f2ab0d77d5a9efb@admin.virtall.com> <20160208162410.58cb2b4a@natsu> <20160408165332.450659c4@natsu> Message-ID: Sender: linux-btrfs-owner@vger.kernel.org List-ID: On 2016-04-08 20:53, Roman Mamedov wrote: >> > 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. FYI, I'm still getting this with 4.5.3, which probably means the fix was not yet included ("No space left" at snapshot time): /var/log/postgresql/postgresql-9.3-main.log:2016-05-11 06:06:10 UTC LOG: could not close temporary statistics file "pg_stat_tmp/db_0.tmp": No space left on device /var/log/postgresql/postgresql-9.3-main.log:2016-05-11 06:06:10 UTC LOG: could not close temporary statistics file "pg_stat_tmp/global.tmp": No space left on device /var/log/postgresql/postgresql-9.3-main.log:2016-05-11 06:06:10 UTC LOG: could not close temporary statistics file "pg_stat_tmp/db_0.tmp": No space left on device /var/log/postgresql/postgresql-9.3-main.log:2016-05-11 06:06:10 UTC LOG: could not close temporary statistics file "pg_stat_tmp/global.tmp": No space left on device I've tried mounting with space_cache=v2, but it didn't help. Tomasz Chmielewski http://wpkg.org