From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-qk0-f180.google.com ([209.85.220.180]:32932 "EHLO mail-qk0-f180.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S941104AbcIVRyN (ORCPT ); Thu, 22 Sep 2016 13:54:13 -0400 Received: by mail-qk0-f180.google.com with SMTP id g67so23667084qkd.0 for ; Thu, 22 Sep 2016 10:54:12 -0700 (PDT) Message-ID: <1474566844.3206.20.camel@gmail.com> Subject: Re: BTRFS constantly reports "No space left on device" even with a huge unallocated space From: Ronan Arraes Jardim Chagas To: Josef Bacik , "Austin S. Hemmelgarn" , Wang Xiaoguang , Jeff Mahoney , Qu Wenruo , Chris Murphy Cc: Btrfs BTRFS Date: Thu, 22 Sep 2016 14:54:04 -0300 In-Reply-To: <949294ac-fe4a-10b1-70aa-e9a65530d0d5@fb.com> References: <1471023419.16857.9.camel@gmail.com> <1472827395.3713.6.camel@gmail.com> <9dee919a-0e81-5ba7-ddc6-7dcdb3a6b873@suse.com> <1472829630.3713.8.camel@gmail.com> <506f2875-8cea-2d99-3664-52ee546adcfd@suse.com> <1472844353.3083.1.camel@gmail.com> <356a9e31-047e-d4c9-00ba-d01b6e92b266@cn.fujitsu.com> <1473359094.7190.1.camel@gmail.com> <86f87e36-db70-2ad1-cc20-3537dc7e529e@suse.com> <14f71ffe-4cc7-bad1-fde1-42d5e5f90d1d@suse.com> <08737c8d-9f1b-5f18-61a0-d3bb501eb950@fb.com> <9221d4d9-d114-4ffb-d2f8-6dc2d1cdb79c@suse.com> <57DF4E44.2040506@cn.fujitsu.com> <1474550402.3206.4.camel@gmail.com> <6ae8684e-a671-1f8d-9ad3-1299b442bd3c@gmail.com> <1474552982.3206.12.camel@gmail.com> <1474563967.3206.16.camel@gmail.com> <949294ac-fe4a-10b1-70aa-e9a65530d0d5@fb.com> Content-Type: text/plain; charset="UTF-8" Mime-Version: 1.0 Sender: linux-btrfs-owner@vger.kernel.org List-ID: Hi Josef, Em qui, 2016-09-22 às 13:49 -0400, Josef Bacik escreveu: > That patch fixed a problem where we would screw up the ENOSPC > accounting, and  > would slowly leak space into one of the counters.  So eventually (or > often in  > your case) you'd hit ENOSPC, but have plenty of space available.  If > you  > unmounted and mounted again, or simply rebooted, everything would > have been  > fine.  You can still use the fs, the accounting is purely in memory > so it's not  > like your FS is permanently screwed.  Thanks, Thank you very much for the explanation. I am very glad it is finally fixed here :) Best regards, Ronan Arraes