Bug 204973 - ERROR: error during balancing '/': No space left on device
Summary: ERROR: error during balancing '/': No space left on device
Status: NEW
Alias: None
Product: File System
Classification: Unclassified
Component: btrfs (show other bugs)
Hardware: All Linux
: P1 normal
Assignee: BTRFS virtual assignee
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2019-09-23 22:41 UTC by Chris Murphy
Modified: 2019-09-23 23:09 UTC (History)
0 users

See Also:
Kernel Version: 5.3.0-1.fc31.x86_64
Tree: Mainline
Regression: No


Attachments
dmesg (92.37 KB, text/plain)
2019-09-23 22:42 UTC, Chris Murphy
Details

Description Chris Murphy 2019-09-23 22:41:14 UTC
btrfs-progs-5.2.1-1.fc31.x86_64

File system is about two weeks old, has only ever been written to with kernel 5.2.9 and newer. Problem happens with 5.3.0, uncertain about older but another user reports the problem with 5.2.17.

compat_ro_flags		0x3
			( FREE_SPACE_TREE |
			  FREE_SPACE_TREE_VALID )
incompat_flags		0x371
			( MIXED_BACKREF |
			  COMPRESS_ZSTD |
			  BIG_METADATA |
			  EXTENDED_IREF |
			  SKINNY_METADATA |
			  NO_HOLES )


# btrfs balance start --full-balance /
ERROR: error during balancing '/': No space left on device


The first relevant kernel error appears to be here:
Sep 23 15:45:31 fmac.local kernel: BTRFS info (device sda4): unable to make block group 22020096 ro
Comment 1 Chris Murphy 2019-09-23 22:42:21 UTC
Created attachment 285125 [details]
dmesg
Comment 2 Chris Murphy 2019-09-23 22:43:16 UTC
/dev/sda4 on / type btrfs (rw,noatime,seclabel,compress=zstd:1,ssd,space_cache=v2,subvolid=256,subvol=/root)
Comment 3 Chris Murphy 2019-09-23 23:04:59 UTC
# btrfs insp dump-t /dev/sda4 > bug204973-dumptree.txt.zst
53 MiB
https://drive.google.com/open?id=1iY88uBHhkXU7U1l9byrjhCnLSyRHGj5x

# btrfs-image -c9 -t6 /dev/sda4
43 MiB
bug204973-sda4.image 43 MiB
https://drive.google.com/open?id=1pOBDX70HC2QEnqOy1Zr6VQ6TE1tF9LY4

Note You need to log in before you can comment on or make changes to this bug.