linux-btrfs.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: "Austin S. Hemmelgarn" <ahferroin7@gmail.com>
To: Ronan Arraes Jardim Chagas <ronisbr@gmail.com>,
	Chris Murphy <lists@colorremedies.com>,
	Jeff Mahoney <jeffm@suse.com>
Cc: Wang Xiaoguang <wangxg.fnst@cn.fujitsu.com>,
	Btrfs BTRFS <linux-btrfs@vger.kernel.org>,
	Qu Wenruo <quwenruo@cn.fujitsu.com>
Subject: Re: BTRFS constantly reports "No space left on device" even with a huge unallocated space
Date: Thu, 1 Sep 2016 09:21:21 -0400	[thread overview]
Message-ID: <0778dff0-cb43-d279-adb2-0e314b61110d@gmail.com> (raw)
In-Reply-To: <1472734635.3137.4.camel@gmail.com>

On 2016-09-01 08:57, Ronan Arraes Jardim Chagas wrote:
> Hi!
>
> Em Qua, 2016-08-31 às 17:09 -0600, Chris Murphy escreveu:
>> OK so Ronan, I'm gonna guess the simplest work around for your
>> problem
>> is to disable quota support, and see if the problem happens again.
>>
>
> Look at the output of the command proposed by Jeff:
>
> btrfs qgroup show /
> qgroupid         rfer         excl
> --------         ----         ----
> 0/5          16.00KiB     16.00KiB
> 0/257        16.00KiB     16.00KiB
> 0/258        16.30MiB     16.30MiB
> 0/259        11.65GiB    309.67MiB
> 0/260         2.34MiB      2.34MiB
> 0/261        16.00KiB     16.00KiB
> 0/262        13.19GiB     13.19GiB
> 0/263        16.00KiB     16.00KiB
> 0/264        60.00KiB     60.00KiB
> 0/265       480.00KiB    480.00KiB
> 0/266        16.00KiB     16.00KiB
> 0/267         2.00GiB      2.00GiB
> 0/268        16.00KiB     16.00KiB
> 0/269        16.00KiB     16.00KiB
> 0/270        16.00KiB     16.00KiB
> 0/271        16.00KiB     16.00KiB
> 0/272        16.00KiB     16.00KiB
> 0/273        16.00KiB     16.00KiB
> 0/274        16.00KiB     16.00KiB
> 0/275       205.78MiB    205.78MiB
> 0/276        16.00KiB     16.00KiB
> 0/277        48.00KiB     48.00KiB
> 0/278       328.41MiB    328.41MiB
> 0/283         3.92GiB     26.63MiB
> 0/285         3.93GiB      4.10MiB
> 0/294         7.84GiB    100.59MiB
> 0/330         7.98GiB      6.61MiB
> 0/332         8.32GiB     69.17MiB
> 0/353         9.53GiB     49.46MiB
> 0/355        10.51GiB    235.39MiB
> 0/415        11.54GiB      3.38MiB
> 0/416        11.54GiB    896.00KiB
> 0/417        11.57GiB      2.68MiB
> 0/418        11.57GiB    160.00KiB
> 0/419        11.54GiB      2.40MiB
> 0/420        11.54GiB    192.00KiB
> 0/421        11.62GiB      4.61MiB
> 0/422        11.83GiB    212.93MiB
> 0/427        11.64GiB      1.27MiB
> 0/428        11.65GiB      4.25MiB
> 1/0          16.11GiB      4.77GiB
> 255/262      13.19GiB     13.19GiB
>
> This system was installed with Tumbleweed ISO and I did not change
> anything in btrfs options. Hence, it seems that openSUSE is enabling
> quotas by default. Now, I need to disable it and avoid triggering the
> problem. What is the best way I can do this? Is it OK to do just:
>
> btrfs quota disable /
>
> ? Or do I need to format and recreate btrfs without quotas?
Yes, you can just run `btrfs quota disable /` and it should work.  This 
ironically reiterates that one of the bigger problems with BTRFS is that 
distros are enabling unstable and known broken features by default on 
install.  I was pretty much dumbfounded when I first learned that 
OpenSUSE is enabling BTRFS qgroups by default since they are known to 
not work reliably and cause all kinds of issues.
>
>> If it doesn't happen again then it sounds like the reproduce steps
>> are:
>>
>> a. enable quota support
>> b. do something metadata heavy workload that's also maybe hitting
>> fsync; from opensuse list the example that sometimes causes it:
>>
>>
>>   osc co home:Ronis_BR/julia
>>   cd home:Ronis_BR/julia
>>   osc build --root=`pwd`/jail openSUSE_Tumbleweed x86_64
>>
>> I wonder if it's easier to hit it on a hard drive, slower fsyncs?
>
> This sounds good! Actually, I'm using a 7200RPM hard driver.


  reply	other threads:[~2016-09-01 13:21 UTC|newest]

Thread overview: 82+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-08-12 17:36 BTRFS constantly reports "No space left on device" even with a huge unallocated space Ronan Arraes Jardim Chagas
2016-08-12 18:02 ` Chris Murphy
2016-08-12 19:00   ` Ronan Arraes Jardim Chagas
2016-08-12 19:37     ` Chris Murphy
2016-08-12 20:34       ` Chris Murphy
     [not found]         ` <CAKdnfRJeOXHmrumDkfxLTf-nU=KwZ0f7ybET-3o7kwwJDOZ2aw@mail.gmail.com>
2016-08-15 23:24           ` Chris Murphy
2016-08-16 17:49             ` Ronan Arraes Jardim Chagas
2016-08-22 19:11             ` Ronan Arraes Jardim Chagas
2016-08-22 20:39             ` Ronan Arraes Jardim Chagas
2016-08-22 20:49               ` Chris Murphy
2016-08-22 21:04                 ` Ronan Arraes Jardim Chagas
2016-08-24  0:40                   ` Jeff Mahoney
2016-08-25 15:58             ` Lutz Vieweg
2016-08-25 23:56               ` Chris Murphy
2016-08-26  5:59                 ` Marc Haber
2016-08-29 12:12 ` Wang Xiaoguang
2016-08-29 13:20   ` Ronan Arraes Jardim Chagas
2016-08-29 15:52   ` Ronan Arraes Jardim Chagas
2016-08-29 22:25     ` Jeff Mahoney
2016-08-30  2:12     ` Wang Xiaoguang
2016-08-30 12:50       ` Ronan Arraes Jardim Chagas
2016-08-30 16:44         ` Chris Murphy
2016-08-30 16:57           ` Ronan Arraes Jardim Chagas
2016-08-31 20:49           ` Ronan Arraes Jardim Chagas
2016-08-31 21:44             ` Chris Murphy
2016-08-31 21:48               ` Chris Murphy
2016-08-31 22:47                 ` Jeff Mahoney
2016-08-31 22:58                   ` Chris Murphy
2016-08-31 23:03                     ` Jeff Mahoney
2016-08-31 23:09                       ` Chris Murphy
2016-09-01 12:57                         ` Ronan Arraes Jardim Chagas
2016-09-01 13:21                           ` Austin S. Hemmelgarn [this message]
2016-09-01 16:34                             ` Ronan Arraes Jardim Chagas
2016-09-01 17:04                               ` Austin S. Hemmelgarn
2016-09-01 17:12                                 ` Jeff Mahoney
2016-09-01 17:39                                   ` Ronan Arraes Jardim Chagas
2016-09-01 17:43                                     ` Jeff Mahoney
2016-09-01 17:58                                       ` Ronan Arraes Jardim Chagas
2016-09-01 17:45                                   ` Chris Murphy
2016-09-01 18:47                                   ` Austin S. Hemmelgarn
2016-09-02  0:12                                     ` Chris Murphy
2016-09-02 14:26                                       ` Jeff Mahoney
2016-09-02 14:43                                         ` Ronan Arraes Jardim Chagas
2016-09-02 14:48                                           ` Jeff Mahoney
2016-09-02 15:20                                             ` Ronan Arraes Jardim Chagas
2016-09-02 15:26                                               ` Jeff Mahoney
2016-09-02 19:25                                                 ` Ronan Arraes Jardim Chagas
2016-09-05  8:49                                                   ` Qu Wenruo
2016-09-08 18:24                                                     ` Ronan Arraes Jardim Chagas
2016-09-08 18:49                                                       ` Jeff Mahoney
2016-09-08 23:02                                                         ` Jeff Mahoney
2016-09-13 20:24                                                           ` Josef Bacik
2016-09-14 14:25                                                             ` Jeff Mahoney
2016-09-19  2:38                                                               ` Wang Xiaoguang
2016-09-22 13:40                                                                 ` Jeff Mahoney
     [not found]                                                               ` <57DF4E44.2040506@cn.fujitsu.com>
2016-09-22 13:20                                                                 ` Ronan Arraes Jardim Chagas
2016-09-22 13:41                                                                   ` Austin S. Hemmelgarn
2016-09-22 14:03                                                                     ` Ronan Arraes Jardim Chagas
2016-09-22 14:39                                                                       ` Josef Bacik
2016-09-22 17:06                                                                         ` Ronan Arraes Jardim Chagas
2016-09-22 17:49                                                                           ` Josef Bacik
2016-09-22 17:54                                                                             ` Ronan Arraes Jardim Chagas
2016-09-23 15:20                                                                             ` [SOLVED] " Ronan Arraes Jardim Chagas
2016-09-02 19:56                                                 ` Ronan Arraes Jardim Chagas
2016-09-02 21:34                                                   ` Chris Murphy
2016-09-02 22:13                                                     ` Ronan Arraes Jardim Chagas
2016-09-02 22:39                                                       ` Chris Murphy
2016-09-03  2:47                                                         ` Ronan Arraes Jardim Chagas
2016-09-03  3:41                                                           ` Chris Murphy
2016-09-03  3:47                                                             ` Ronan Arraes Jardim Chagas
2016-09-03  4:14                                                               ` Chris Murphy
2016-09-01 17:07                             ` Chris Murphy
2016-09-02  0:37               ` Qu Wenruo
2016-09-02 14:09             ` Jeff Mahoney
2016-09-14 20:15   ` Ronan Arraes Jardim Chagas
2016-09-14 22:25     ` Chris Murphy
2016-09-15  0:56       ` Ronan Arraes Jardim Chagas
2016-09-13  3:17 ` Wang Xiaoguang
2016-09-13 12:54   ` Ronan Arraes Jardim Chagas
2016-09-13 20:49   ` Ronan Arraes Jardim Chagas
2016-09-13 21:01     ` Josef Bacik
2016-09-14 14:40       ` Ronan Arraes Jardim Chagas

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=0778dff0-cb43-d279-adb2-0e314b61110d@gmail.com \
    --to=ahferroin7@gmail.com \
    --cc=jeffm@suse.com \
    --cc=linux-btrfs@vger.kernel.org \
    --cc=lists@colorremedies.com \
    --cc=quwenruo@cn.fujitsu.com \
    --cc=ronisbr@gmail.com \
    --cc=wangxg.fnst@cn.fujitsu.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).