http://bugzilla.opensuse.org/show_bug.cgi?id=1043912
http://bugzilla.opensuse.org/show_bug.cgi?id=1043912#c43
--- Comment #43 from Frederic Crozat
(In reply to Frederic Crozat from comment #41)
When asked to resize, I ran btrfs fi resize 1000203816448 /mnt/cache (which is 1000203820544 - 4096)
Okay this makes sense and it exposes a missed site which should have been patched my previous attempt at fixing it. I've updated the patches and pushed them to build at https://build.suse.de/project/show/home:nikbor:bsc1043912. When it's done can you please test by downlading that kernel and booting into it and then trying to grow the volume to its maximum capacity:
After rebooting with this kernel: [ 4.469419] BTRFS error (device sdb1): super_total_bytes 1000203808768 mismatch with fs_devices total_rw_bytes 1000203812864 but the partition was properly mounted
btrfs fi resize max /mnt/cache
[ 147.637427] BTRFS info (device sdb1): new size for /dev/sdb1 is 1000203816960
Then report the numbers from these two commands:
btrfs inspect dump-super /mnt/cache | grep total
(proper command needs device name, not mount path) total_bytes 1000203812864 dev_item.total_bytes 1000203816960
btrfs inspect dump-tree /mnt/cache | grep total devid 1 total_bytes 1000203816960 bytes_used 426351001600 total bytes 1000203812864
I then unmounted /mnt/cache and re-mounted it (without rebooting): [ 405.607741] BTRFS error (device sdb1): super_total_bytes 1000203812864 mismatch with fs_devices total_rw_bytes 1000203816960 (but partition was mounted) -- You are receiving this mail because: You are on the CC list for the bug.