* Blocked by mismatch in super extents
@ 2026-06-17 4:59 brainchild
0 siblings, 0 replies; only message in thread
From: brainchild @ 2026-06-17 4:59 UTC (permalink / raw)
To: linux-btrfs
Hello.
I am seeking to shrink a Btrfs partition.
When the partition is mounted, Gparted reports "Unable to resize
read-only file system".
The mount is not read only, however. It is the root file system, and
functions normally as read-write.
The version of Gparted is 1.8.1, btrfs-progs 6.6.3, and kernel 7.0.12.
When the partition is unmounted `btrfs check` reports the following:
---
[1/8] checking log skipped (none written)
[2/8] checking root items
[3/8] checking extents
super bytes used 748052320256 mismatches actual used 744718192640
ERROR: errors found in extent allocation tree or chunk allocation
[4/8] checking free space tree
[5/8] checking fs roots
[6/8] checking only csums items (without verifying data)
[7/8] checking root refs
[8/8] checking quota groups skipped (not enabled on this FS)
Opening filesystem to check...
Checking filesystem on /dev/nvme0n1p5
UUID: bbac86e5-eaba-45bf-bbaa-c2494e11831a
found 744718147584 bytes used, error(s) found
total csum bytes: 475357280
total tree bytes: 9006252032
total fs tree bytes: 7635779584
total extent tree bytes: 712065024
btree space waste bytes: 2140165860
file data blocks allocated: 12519291805696
referenced 1070009720832
---
In this case, btrfs-progs is version 7.0, and the kernel version is
6.18.20.
The results from `btrfs rescue fix-device-size` are "No device size
related problem found".
Due to the failure of `btrfs check`, Gparted refuses to shrink the
partition, when attempted with the partition unmounted.
Therefore, having attempted both with the partition mounted and with it
unmounted, I have failed to find a means to shrink the partition safely.
I have succeeded in shrinking the file system, using `btrfs fi resize`,
but not in shrinking the partition to match the smaller size. Gparted
still expects its examination of the file system to reveal full health,
before it updates the partition table, and I have failed also to
restore the health of the file system.
I am grateful for any advice that may help resolve the errors.
Thank you.
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2026-06-17 4:59 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2026-06-17 4:59 Blocked by mismatch in super extents brainchild
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox