Yes, I tried that -- and adding the loopback device.

# btrfs device add /dev/loop1 /
Performing full device TRIM (5.00GiB) ...

# btrfs fi show /
Label: 'centos7'  uuid: 35f0ce3f-0902-47a3-8ad8-86179d1f3e3a
        Total devices 3 FS bytes used 17.13GiB
        devid    1 size 111.11GiB used 111.10GiB path /dev/sdf3
        devid    2 size 111.11GiB used 111.10GiB path /dev/sdg3
        devid    3 size 5.00GiB used 0.00 path /dev/loop1

Btrfs v3.16.2

# btrfs balance start -m /
ERROR: error during balancing '/' - No space left on device
There may be more info in syslog - try dmesg | tail

# btrfs balance start -v -dusage=1 /
Dumping filters: flags 0x1, state 0x0, force is off
  DATA (flags 0x2): balancing, usage=1
ERROR: error during balancing '/' - No space left on device
There may be more info in syslog - try dmesg | tail



On Thu, Jul 2, 2015 at 10:45 PM, Donald Pearson
<donaldwhpear...@gmail.com> wrote:
> Have you seen this article?
>
> I think the interesting part for you is the "balance cannot run
> because the filesystem is full" heading.
>
> http://marc.merlins.org/perso/btrfs/post_2014-05-04_Fixing-Btrfs-Filesystem-Full-Problems.html
>
> On Fri, Jul 3, 2015 at 12:32 AM, Rich Rauenzahn <rraue...@gmail.com> wrote:
>> Running on CentOS7 ... / got full, I removed the files, but it still
>> thinks it is full.  I've tried following the FAQ, even adding a
>> loopback device during the rebalance.
>>
>> # btrfs fi show /
>> Label: 'centos7'  uuid: 35f0ce3f-0902-47a3-8ad8-86179d1f3e3a
>>         Total devices 2 FS bytes used 24.27GiB
>>         devid    1 size 111.11GiB used 111.05GiB path /dev/sdf3
>>         devid    2 size 111.11GiB used 111.05GiB path /dev/sdg3
>>
>> # btrfs fi df /
>> Data, RAID1: total=107.02GiB, used=22.12GiB
>> System, RAID1: total=32.00MiB, used=16.00KiB
>> Metadata, RAID1: total=4.05GiB, used=2.15GiB
>> GlobalReserve, single: total=512.00MiB, used=0.00
>>
>> # btrfs balance start -v -dusage=1 /
>> Dumping filters: flags 0x1, state 0x0, force is off
>>   DATA (flags 0x2): balancing, usage=1
>> ERROR: error during balancing '/' - No space left on device
>> There may be more info in syslog - try dmesg | tail
>>
>> # btrfs balance start -m /
>> ERROR: error during balancing '/' - No space left on device
>> There may be more info in syslog - try dmesg | tail
>>
>> What can I do?
>> --
>> To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
>> the body of a message to majord...@vger.kernel.org
>> More majordomo info at  http://vger.kernel.org/majordomo-info.html
--
To unsubscribe from this list: send the line "unsubscribe linux-btrfs" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to