BTRFS Community,

I seem to be having a bit of an issue. A comment on
https://btrfs.wiki.kernel.org/index.php/Problem_FAQ#I_get_.22No_space_left_on_device.22_errors.2C_but_df_says_I.27ve_got_lots_of_space
suggested reporting this to the mailing list.

Issue: BTRFS claims to be running out of space

Setup:
/home: 2 500GB hard drives in MDADM RAID1 with BTRFS being the primary filesystem

Output of various commands:

$ sudo btrfs fi df /home
Data, single: total=334.00GiB, used=333.84GiB
System, DUP: total=32.00MiB, used=80.00KiB
Metadata, DUP: total=1.50GiB, used=987.17MiB
unknown, single: total=336.00MiB, used=0.00

$ sudo btrfs fi show /home
Label: none  uuid: (private information removed)
    Total devices 1 FS bytes used 334.80GiB
    devid    1 size 465.63GiB used 337.06GiB path /dev/md0p1
Btrfs v3.12

$ df /home
Filesystem     1K-blocks      Used Available Use% Mounted on
/dev/md0p1     488252416 352418008 134988424  73% /home


I would like to note that "total" in the following line:
Data, single: total=334.00GiB, used=333.84GiB
gets smaller whenever data is deleted or moved from /home. I'm not sure if
that is by design, or if it is a bug. Either way, every once in a while applications will
start closing unexpectedly complaining that there is no space left. I've run
sudo btrfs fi balance /home
with no discernible result (other than relocating ~300 blocks). I have a system monitoring tool that updates usage stats on my hard drives once every couple seconds. It shows no abnormal disk usage during the times when applications start
complaining about no room left.

Any thoughts/ideas/help would be appreciated.

Regards,

Lectrode

--
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