Re: btrfs full, but not full, can't rebalance

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Yes -- I just figured that out as well!

Now why did it suddenly fill up?   (I still get the failure rebalancing ...)

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

Btrfs v3.16.2


On Thu, Jul 2, 2015 at 11:01 PM, Donald Pearson
<donaldwhpearson@xxxxxxxxx> wrote:
> Because this is raid1 I believe you need another for that to work.
>
> On Fri, Jul 3, 2015 at 12:57 AM, Rich Rauenzahn <rrauenza@xxxxxxxxx> wrote:
>> 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
>> <donaldwhpearson@xxxxxxxxx> 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 <rrauenza@xxxxxxxxx> 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 majordomo@xxxxxxxxxxxxxxx
>>>> 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 majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[Index of Archives]     [Linux Filesystem Development]     [Linux NFS]     [Linux NILFS]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]

  Powered by Linux