public inbox for linux-btrfs@vger.kernel.org
 help / color / mirror / Atom feed
* We have a space info key for a block group that doesn't exist
@ 2025-11-17  2:08 Christoph Anton Mitterer
  2025-11-17  2:18 ` Qu Wenruo
  0 siblings, 1 reply; 30+ messages in thread
From: Christoph Anton Mitterer @ 2025-11-17  2:08 UTC (permalink / raw)
  To: linux-btrfs

Hey.

With kernel 6.17.8-1 and progs 6.17.1, I suddenly got this on two
filesystems:

# btrfs check /dev/mapper/data-b-1 ; echo $?
Opening filesystem to check...
Checking filesystem on /dev/mapper/data-b-1
UUID: 42cfffe9-a4fe-44dd-863a-6c02896ab7f3
[1/8] checking log skipped (none written)
[2/8] checking root items
[3/8] checking extents
[4/8] checking free space tree
We have a space info key for a block group that doesn't exist
[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)
found 13074117332992 bytes used, error(s) found
total csum bytes: 12754122916
total tree bytes: 13895467008
total fs tree bytes: 759627776
total extent tree bytes: 103284736
btree space waste bytes: 296939334
file data blocks allocated: 20763397128192
 referenced 18946684219392
1

# btrfs check /dev/mapper/data-b-3 ; echo $?
Opening filesystem to check...
Checking filesystem on /dev/mapper/data-b-3
UUID: 8e4d238c-0a69-4f0f-8f35-a16e3c220763
[1/8] checking log skipped (none written)
[2/8] checking root items
[3/8] checking extents
[4/8] checking free space tree
We have a space info key for a block group that doesn't exist
[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)
found 13083770884096 bytes used, error(s) found
total csum bytes: 12763657764
total tree bytes: 13785333760
total fs tree bytes: 671154176
total extent tree bytes: 106496000
btree space waste bytes: 244008214
file data blocks allocated: 18338522918912
 referenced 17654672998400
1

Don't think that error showed up on earlier versions of btrfs-progs.

Is it something to worry about or a false positive? Can it be fixed?
Would you rather recommend to re-create the fs from scratch?


Thanks,
Chris.

^ permalink raw reply	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2026-03-04  6:23 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2025-11-17  2:08 We have a space info key for a block group that doesn't exist Christoph Anton Mitterer
2025-11-17  2:18 ` Qu Wenruo
2025-11-18 23:27   ` Christoph Anton Mitterer
2025-11-18 23:29     ` Qu Wenruo
2026-02-03  7:06       ` Dominique Martinet
2026-02-03  7:47         ` Qu Wenruo
2026-02-03  8:17           ` Dominique Martinet
2026-02-05  1:44       ` Christoph Anton Mitterer
2026-02-05  4:24         ` Qu Wenruo
2026-02-05  4:30           ` Christoph Anton Mitterer
2026-02-05  4:43             ` Qu Wenruo
2026-02-05  4:50               ` Christoph Anton Mitterer
2026-02-05  4:53                 ` Qu Wenruo
2026-02-05 14:48                   ` Christoph Anton Mitterer
2026-02-05 20:48                     ` Qu Wenruo
2026-02-05 23:56                       ` Christoph Anton Mitterer
2026-02-06  3:45                         ` Qu Wenruo
2026-02-07  1:19                           ` Christoph Anton Mitterer
2026-02-07  1:27                             ` Christoph Anton Mitterer
2026-02-07  2:34                               ` Qu Wenruo
2026-02-07  5:00                                 ` Christoph Anton Mitterer
2026-02-07 16:47                                   ` space_info METADATA (sub-group id 0) has 691535872 free, is not full // open_ctree failed: -2 Christoph Anton Mitterer
2026-02-09  3:21                                     ` Qu Wenruo
2026-02-09  3:32                                       ` Christoph Anton Mitterer
2026-02-09  3:48                                         ` Qu Wenruo
2026-02-09  3:58                                           ` Christoph Anton Mitterer
2026-02-09  4:02                                             ` Qu Wenruo
2026-02-10  0:14                                               ` Christoph Anton Mitterer
2026-02-10 22:49                                                 ` Christoph Anton Mitterer
2026-03-04  3:59                                                   ` Christoph Anton Mitterer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox