Bug 1243986
Summary: | df reports wrong total size for btrfs | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Ryan Crews <rcrews> |
Component: | btrfs-progs | Assignee: | fs-maint |
Status: | CLOSED INSUFFICIENT_DATA | QA Contact: | Eryu Guan <eguan> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 7.1 | CC: | bugzilla, dwysocha, eguan, rcrews |
Target Milestone: | rc | ||
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2016-11-29 19:47:15 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1298243 |
Description
Ryan Crews
2015-07-16 18:54:42 UTC
>Recently the btrfs partition reported it full. I don't know what this means, can you provide user and kernel messages? >btrfs fi df command showed the incorrect total size No, but it's understandable to think this is true. From your example: >Data, single: total=122.01GiB, used=121.64GiB Translated this is saying "Total amount allocated to single profile data block groups is 122.01Gib, and of that 121.64GiB is used." It has nothing to do with the total device size. Likewise: >Metadata, RAID1: total=9.97GiB, used=13.17MiB >Metadata, DUP: total=4.50GiB, used=532.75MiB >Metadata, single: total=44.00GiB, used=0.00 There are metadata block groups with different profiles: raid1, dup, and single. This isn't a normal situation, but it'll prevent removing the loop device until metadata is consolidated because parts of single and DUP metadata could be on the loop device. btrfs-progs 3.16 is old and I'm pretty sure it won't permit consolidating to DUP profile with multiple devices, so btrfs -mconvert=single -f <mp> btrfs dev del /dev/loop0 btrfs -mconvert=dup <mp> Anyway, no doubt the problem is already resolved seeing as it was filed a year ago. But this bug report is probably notabug, it's just an (understandable) misunderstanding of the lingo used by btrfs fi df output. Long term it's better to get btrfs-progs up to v4.3 at least, where 'filesystem usage' command exists and has more sane output, and have users report that instead of fi show and fi df. Closing with INSUFFICIENT_DATA - one case is CLOSED - may be fixed in latest version - lack of confirmation the problem fixed The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days |