382.214188][T11633] bcachefs: bch2_fs_get_tree() error: EINVAL [ 382.261208][T11559] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 382.267851][T11559] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 382.320193][T11559] bcachefs (loop3): shutting down [ 382.387017][T11637] loop4: detected capacity change from 0 to 32768 [ 382.442549][T11559] bcachefs (loop3): shutdown complete [ 382.568096][T11639] loop1: detected capacity change from 0 to 32768 [ 382.769077][T11663] loop2: detected capacity change from 0 to 32768 [ 382.898923][T11635] bcachefs: bch2_fs_get_tree() error: EINVAL [ 383.016219][T11663] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 383.028992][T11639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 383.039471][T11637] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 383.039471][T11637] allowing incompatible features above 0.0: (unknown version) [ 383.085869][T11639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 383.100294][T11663] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 383.124553][T11637] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 383.135574][T11637] bcachefs (loop4): Version upgrade required: [ 383.135574][T11637] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 383.135574][T11637] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 383.135574][T11637] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 383.214255][T11637] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 383.214274][T11637] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 383.214288][T11637] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 383.214300][T11637] inconsistency detected - emergency read only at journal seq 10 [ 383.299242][T11559] bcachefs: bch2_fs_get_tree() error: EINTR [ 383.448378][T11637] bcachefs (loop4): flagging btree extents lost data [ 383.468559][T11637] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 383.510261][T11637] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 383.569769][T11637] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 383.610355][T11639] bcachefs: bch2_fs_get_tree() error: EINVAL [ 383.617669][T11637] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 383.617688][T11637] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 383.617701][T11637] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 383.665248][T11663] bcachefs: bch2_fs_get_tree() error: EINVAL [ 383.735953][T11637] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 383.735953][T11637] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 383.833903][T11637] bcachefs (loop4): scan_for_btree_nodes... [ 383.993022][T11637] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 384.047757][T11637] done [ 384.061228][T11637] bcachefs (loop4): check_topology... [ 384.071507][T11637] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 384.090662][T11679] loop0: detected capacity change from 0 to 32768 [ 384.107639][T11637] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 384.135450][T11637] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 384.176668][ T40] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 384.176696][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 384.176710][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 384.240897][T11637] bcachefs (loop4): Topology repair: unreadable btree node at [ 384.240914][T11637] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 384.319448][T11679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 384.319545][T11679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 384.404759][T11637] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 384.404777][T11637] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 384.476544][T11686] loop2: detected capacity change from 0 to 32768 [ 384.508384][T11637] bcachefs (loop4): empty btree root extents [ 384.536337][T11637] done [ 384.545651][T11637] bcachefs (loop4): accounting_read... done [ 384.560312][T11637] bcachefs (loop4): alloc_read... done [ 384.589589][T11637] bcachefs (loop4): snapshots_read... done [ 384.606069][T11681] loop3: detected capacity change from 0 to 32768 [ 384.613188][T11637] bcachefs (loop4): check_allocations... [ 384.618276][T11637] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 384.618293][T11637] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 384.630969][T11679] bcachefs: bch2_fs_get_tree() error: EINVAL [ 384.702048][T11637] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 384.702067][T11637] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 384.724196][T11686] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 384.724294][T11686] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete 2025/04/27 11:13:17 executed programs: 540 [ 384.895742][T11681] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 384.895848][T11681] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 384.968812][T11686] bcachefs: bch2_fs_get_tree() error: EINVAL [ 385.012949][T11637] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 385.012967][T11637] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 385.126190][T11685] loop1: detected capacity change from 0 to 32768 [ 385.142362][T11637] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 385.142382][T11637] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 385.155608][T11681] bcachefs: bch2_fs_get_tree() error: EINVAL [ 385.293477][T11637] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 385.293496][T11637] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 385.371570][T11637] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.426173][T11637] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.454266][T11685] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 385.454366][T11685] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 385.481316][T11637] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.491982][T11637] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.503976][T11637] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.538571][T11637] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.578092][T11637] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.605208][T11637] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.635802][T11637] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.667221][T11637] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.700644][T11637] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.720342][T11637] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.749735][T11637] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.762356][T11637] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 385.774353][T11685] bcachefs: bch2_fs_get_tree() error: EINVAL [ 385.782923][T11637] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 385.795778][T11637] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 385.809335][T11637] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 385.844293][T11637] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 385.880644][T11637] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 385.917335][T11637] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 385.973417][T11637] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 385.973435][T11637] Ratelimiting new instances of previous error [ 385.987872][T11709] loop0: detected capacity change from 0 to 32768 [ 386.037440][T11637] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 386.037460][T11637] Ratelimiting new instances of previous error [ 386.103006][T11637] done [ 386.106525][T11637] bcachefs (loop4): going read-write [ 386.142816][T11637] bcachefs (loop4): journal_replay... [ 386.142921][T11637] bcachefs (loop4): bch2_journal_replay(): error journal_shutdown [ 386.174893][T11709] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 386.184452][T11709] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 386.210959][T11637] bcachefs (loop4): bch2_fs_recovery(): error journal_shutdown [ 386.218947][ T60] bcachefs (loop4): going read-only [ 386.225662][T11718] loop2: detected capacity change from 0 to 32768 [ 386.229088][ T60] bcachefs (loop4): finished waiting for writes to stop [ 386.245957][T11637] bcachefs (loop4): bch2_fs_start(): error starting filesystem journal_shutdown [ 386.257694][T11637] bcachefs (loop4): shutting down [ 386.272379][ T60] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 386.293249][ T60] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 386.331209][ T60] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 386.358678][T11720] loop3: detected capacity change from 0 to 32768 [ 386.380917][ T60] bcachefs (loop4): done going read-only, filesystem not clean [ 386.468691][T11718] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 386.468691][T11718] allowing incompatible features above 0.0: (unknown version) [ 386.492386][T11718] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 386.501399][T11718] bcachefs (loop2): Version upgrade required: [ 386.501399][T11718] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 386.501399][T11718] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 386.501399][T11718] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 386.540416][T11720] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 386.597140][T11637] bcachefs (loop4): shutdown complete [ 386.603969][T11709] bcachefs: bch2_fs_get_tree() error: EINVAL [ 386.618590][T11718] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 386.618608][T11718] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 386.618619][T11718] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 386.618630][T11718] inconsistency detected - emergency read only at journal seq 10 [ 386.644430][T11720] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 386.779594][T11718] bcachefs (loop2): flagging btree extents lost data [ 386.808077][T11718] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 386.840279][T11718] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 386.894146][T11718] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 386.916827][T11637] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 386.953599][T11718] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 386.953618][T11718] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 386.953631][T11718] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 387.069007][T11732] loop1: detected capacity change from 0 to 32768 [ 387.078960][T11718] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 387.078960][T11718] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 387.110753][T11720] bcachefs: bch2_fs_get_tree() error: EINVAL [ 387.244733][T11718] bcachefs (loop2): scan_for_btree_nodes... [ 387.297550][T11732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 387.401740][T11718] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 387.409917][T11732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 387.439053][T11718] done [ 387.451845][T11718] bcachefs (loop2): check_topology... [ 387.460940][T11718] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 387.507143][T11718] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 387.530458][T11718] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 387.592623][ T25] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 387.592649][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 387.592662][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 387.639884][T11718] bcachefs (loop2): Topology repair: unreadable btree node at [ 387.639902][T11718] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 387.700243][T11718] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 387.700262][T11718] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 387.789448][T11758] loop4: detected capacity change from 0 to 32768 [ 387.827698][T11718] bcachefs (loop2): empty btree root extents [ 387.870337][T11718] done [ 387.873176][T11718] bcachefs (loop2): accounting_read... done [ 387.921431][T11718] bcachefs (loop2): alloc_read... done [ 387.927092][T11718] bcachefs (loop2): snapshots_read... done [ 387.931061][T11758] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 387.942532][T11758] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 387.956130][T11718] bcachefs (loop2): check_allocations... [ 387.972048][T11718] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 387.972070][T11718] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 387.993276][T11748] loop0: detected capacity change from 0 to 32768 [ 388.009342][T11732] bcachefs: bch2_fs_get_tree() error: EINVAL [ 388.185172][T11760] loop3: detected capacity change from 0 to 32768 [ 388.200068][T11748] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 388.218510][T11718] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 388.218529][T11718] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 388.228623][T11748] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 388.257518][T11718] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 388.257533][T11718] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 388.304736][T11718] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 388.304753][T11718] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 388.345008][T11718] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 388.345027][T11718] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 388.357423][T11758] bcachefs: bch2_fs_get_tree() error: EINVAL [ 388.398565][T11718] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.413893][T11718] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.464149][T11718] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.511594][T11718] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.546295][T11760] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 388.546392][T11760] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 388.633109][T11748] bcachefs: bch2_fs_get_tree() error: EINVAL [ 388.682779][T11718] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.718607][T11718] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.770679][T11718] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.810479][T11718] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.842433][T11718] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.870558][T11718] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 388.915235][T11718] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 388.925904][T11760] bcachefs: bch2_fs_get_tree() error: EINVAL [ 388.995879][T11718] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 389.030267][T11718] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 389.064017][T11718] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 389.086360][T11718] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 389.122709][T11718] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 389.135284][T11718] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 389.192165][T11718] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 389.242232][T11718] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 389.280423][T11718] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 389.320651][T11718] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 389.320668][T11718] Ratelimiting new instances of previous error [ 389.334874][T11781] loop1: detected capacity change from 0 to 32768 [ 389.394131][T11718] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 389.394149][T11718] Ratelimiting new instances of previous error [ 389.468679][T11781] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 389.490797][T11781] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 389.520802][T11718] done [ 389.538030][T11718] bcachefs (loop2): going read-write [ 389.596649][T11718] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 389.618478][T11785] loop4: detected capacity change from 0 to 32768 [ 389.630432][T11718] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 389.670508][T11718] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 389.715430][T11718] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 389.782421][T11718] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 389.822967][T11718] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 389.835809][T11785] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 389.851753][T11787] loop0: detected capacity change from 0 to 32768 [ 389.859418][T11718] bcachefs (loop2): shutting down [ 389.920584][T11785] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 389.982618][T11718] bcachefs (loop2): shutdown complete [ 389.991148][T11781] bcachefs: bch2_fs_get_tree() error: EINVAL [ 390.117179][T11796] loop3: detected capacity change from 0 to 32768 2025/04/27 11:13:22 executed programs: 551 [ 390.441378][T11818] loop1: detected capacity change from 0 to 32768 [ 390.449359][T11785] bcachefs: bch2_fs_get_tree() error: EINVAL [ 390.525786][T11787] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 390.525786][T11787] allowing incompatible features above 0.0: (unknown version) [ 390.554752][T11787] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 390.563068][T11787] bcachefs (loop0): Version upgrade required: [ 390.563068][T11787] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 390.563068][T11787] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 390.563068][T11787] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 390.638091][T11796] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 390.647878][T11796] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 390.669040][T11787] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 390.669059][T11787] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 390.669073][T11787] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 390.669085][T11787] inconsistency detected - emergency read only at journal seq 10 [ 390.811221][T11787] bcachefs (loop0): flagging btree extents lost data [ 390.818035][T11787] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 390.839060][T11787] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 390.857109][T11787] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 390.857620][T11718] bcachefs: bch2_fs_get_tree() error: EINTR [ 390.876598][T11787] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 390.876617][T11787] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 390.876629][T11787] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 390.895246][T11818] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 390.895342][T11818] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 391.138873][T11787] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 391.138873][T11787] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 391.139457][T11796] bcachefs: bch2_fs_get_tree() error: EINVAL [ 391.236077][T11787] bcachefs (loop0): scan_for_btree_nodes... [ 391.303572][T11818] bcachefs: bch2_fs_get_tree() error: EINVAL [ 391.356535][T11787] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 391.386214][T11787] done [ 391.389147][T11787] bcachefs (loop0): check_topology... [ 391.404949][T11787] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 391.442784][T11787] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 391.485948][T11787] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 391.538721][ T40] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 391.538748][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 391.538762][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 391.629252][T11787] bcachefs (loop0): Topology repair: unreadable btree node at [ 391.629271][T11787] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 391.764615][T11787] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 391.764634][T11787] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 391.806790][T11787] bcachefs (loop0): empty btree root extents [ 391.818997][T11787] done [ 391.824829][T11787] bcachefs (loop0): accounting_read... done [ 391.849081][T11787] bcachefs (loop0): alloc_read... done [ 391.863810][T11832] loop2: detected capacity change from 0 to 32768 [ 391.869372][T11787] bcachefs (loop0): snapshots_read... done [ 391.876326][T11787] bcachefs (loop0): check_allocations... [ 391.881968][T11829] loop4: detected capacity change from 0 to 32768 [ 391.894432][T11787] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 391.894451][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 392.008214][T11787] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 392.008233][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 392.114483][T11787] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 392.114507][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 392.148726][T11832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.148829][T11832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 392.199094][T11836] loop1: detected capacity change from 0 to 32768 [ 392.233387][T11829] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.233483][T11829] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 392.245314][T11834] loop3: detected capacity change from 0 to 32768 [ 392.394256][T11787] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 392.394275][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 392.427868][T11787] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 392.427887][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 392.465674][T11787] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.474610][T11836] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.482989][T11832] bcachefs: bch2_fs_get_tree() error: EINVAL [ 392.494414][T11787] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.499486][T11836] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 392.514149][T11787] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.535070][T11829] bcachefs: bch2_fs_get_tree() error: EINVAL [ 392.556768][T11834] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.556864][T11834] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 392.680770][T11787] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.780590][T11787] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.828875][T11787] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.873569][T11787] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.925378][T11787] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.948956][T11787] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.964415][T11836] bcachefs: bch2_fs_get_tree() error: EINVAL [ 393.013125][T11787] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 393.050762][T11787] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 393.054381][T11834] bcachefs: bch2_fs_get_tree() error: EINVAL [ 393.095492][T11787] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 393.138062][T11787] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 393.180958][T11787] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 393.229695][T11787] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 393.270399][T11787] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 393.295535][T11787] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 393.340338][T11787] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 393.383061][T11787] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 393.414037][T11787] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 393.461657][T11787] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 393.461676][T11787] Ratelimiting new instances of previous error [ 393.507026][T11787] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 393.507045][T11787] Ratelimiting new instances of previous error [ 393.586597][T11787] done [ 393.610681][T11787] bcachefs (loop0): going read-write [ 393.619339][T11787] bcachefs (loop0): journal_replay... [ 393.619440][T11787] bcachefs (loop0): bch2_journal_replay(): error journal_shutdown [ 393.650401][ T48] bcachefs (loop0): going read-only [ 393.656751][T11787] bcachefs (loop0): bch2_fs_recovery(): error journal_shutdown [ 393.664484][ T48] bcachefs (loop0): finished waiting for writes to stop [ 393.687058][ T48] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 393.696293][T11787] bcachefs (loop0): bch2_fs_start(): error starting filesystem journal_shutdown [ 393.720858][ T48] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 393.731543][T11787] bcachefs (loop0): shutting down [ 393.756606][ T48] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 393.770054][T11866] loop2: detected capacity change from 0 to 32768 [ 393.810781][ T48] bcachefs (loop0): done going read-only, filesystem not clean [ 393.837277][T11868] loop4: detected capacity change from 0 to 32768 [ 393.907305][T11787] bcachefs (loop0): shutdown complete [ 394.043807][T11870] loop1: detected capacity change from 0 to 32768 [ 394.081520][T11872] loop3: detected capacity change from 0 to 32768 [ 394.233253][T11868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 394.248844][T11866] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 394.248844][T11866] allowing incompatible features above 0.0: (unknown version) [ 394.268597][T11870] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 394.287869][T11866] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 394.296630][T11866] bcachefs (loop2): Version upgrade required: [ 394.296630][T11866] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 394.296630][T11866] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 394.296630][T11866] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 394.310315][T11870] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 394.377937][T11872] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 394.390408][T11872] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 394.398830][T11868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 394.409633][T11866] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 394.409651][T11866] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 394.409663][T11866] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 394.409673][T11866] inconsistency detected - emergency read only at journal seq 10 [ 394.568969][T11787] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 394.611105][T11866] bcachefs (loop2): flagging btree extents lost data [ 394.621680][T11866] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 394.698965][T11870] bcachefs: bch2_fs_get_tree() error: EINVAL [ 394.710407][T11866] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 394.747905][T11866] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 394.787665][T11872] bcachefs: bch2_fs_get_tree() error: EINVAL [ 394.805393][T11866] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 394.805411][T11866] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 394.805423][T11866] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 394.883825][T11868] bcachefs: bch2_fs_get_tree() error: EINVAL [ 395.001295][T11866] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 395.001295][T11866] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 395.148755][T11866] bcachefs (loop2): scan_for_btree_nodes... [ 395.257256][T11866] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 395.291841][T11866] done [ 395.295017][T11866] bcachefs (loop2): check_topology... [ 395.315379][T11866] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 395.360455][T11866] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 395.380496][T11866] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 395.423647][ T25] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 395.423674][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 395.423687][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 395.466812][T11866] bcachefs (loop2): Topology repair: unreadable btree node at [ 395.466831][T11866] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 395.515789][T11866] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 395.515808][T11866] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 395.573634][T11866] bcachefs (loop2): empty btree root extents [ 395.579804][T11866] done [ 395.624149][T11866] bcachefs (loop2): accounting_read... done [ 395.664366][T11866] bcachefs (loop2): alloc_read... done [ 395.670056][T11866] bcachefs (loop2): snapshots_read... done [ 395.700191][T11866] bcachefs (loop2): check_allocations... [ 395.721127][T11866] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 395.721152][T11866] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 395.762650][T11912] loop4: detected capacity change from 0 to 32768 [ 395.865718][T11905] loop0: detected capacity change from 0 to 32768 [ 395.893798][T11866] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 395.893817][T11866] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 395.928458][T11910] loop3: detected capacity change from 0 to 32768 [ 395.991494][T11912] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.015125][T11912] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.026415][T11866] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 396.026501][T11866] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 396.037593][T11909] loop1: detected capacity change from 0 to 32768 [ 396.089847][T11866] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 396.089866][T11866] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 396.094212][T11905] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.126655][T11905] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.138014][T11866] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 396.138032][T11866] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 396.208895][T11866] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.220007][T11866] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.239247][T11910] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.275203][T11866] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.290527][T11910] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.296214][T11909] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.296314][T11909] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.360577][T11912] bcachefs: bch2_fs_get_tree() error: EINVAL [ 396.409271][T11905] bcachefs: bch2_fs_get_tree() error: EINVAL [ 396.477562][T11866] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.519024][T11866] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.539910][T11866] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.570711][T11866] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.619250][T11866] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.649558][T11866] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing 2025/04/27 11:13:29 executed programs: 564 [ 396.690912][T11866] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.721217][T11866] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.739900][T11866] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.750627][T11910] bcachefs: bch2_fs_get_tree() error: EINVAL [ 396.761142][T11866] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.775415][T11866] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 396.856756][T11866] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 396.900426][T11866] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 396.906804][T11909] bcachefs: bch2_fs_get_tree() error: EINVAL [ 396.928631][T11866] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 396.954997][T11866] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 396.987355][T11866] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 397.018388][T11866] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 397.080685][T11866] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 397.080701][T11866] Ratelimiting new instances of previous error [ 397.157839][T11866] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 397.157867][T11866] Ratelimiting new instances of previous error [ 397.251662][T11866] done [ 397.255107][T11866] bcachefs (loop2): going read-write [ 397.294218][T11866] bcachefs (loop2): journal_replay... [ 397.294326][T11866] bcachefs (loop2): bch2_journal_replay(): error journal_shutdown [ 397.349144][T11866] bcachefs (loop2): bch2_fs_recovery(): error journal_shutdown [ 397.356862][ T60] bcachefs (loop2): going read-only [ 397.362229][ T60] bcachefs (loop2): finished waiting for writes to stop [ 397.385287][T11866] bcachefs (loop2): bch2_fs_start(): error starting filesystem journal_shutdown [ 397.394669][ T60] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 397.420325][ T60] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 397.433690][T11866] bcachefs (loop2): shutting down [ 397.460234][ T60] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 397.505671][T11942] loop4: detected capacity change from 0 to 32768 [ 397.510833][ T60] bcachefs (loop2): done going read-only, filesystem not clean [ 397.607580][T11866] bcachefs (loop2): shutdown complete [ 397.684421][T11944] loop0: detected capacity change from 0 to 32768 [ 397.834564][T11946] loop3: detected capacity change from 0 to 32768 [ 397.853131][T11948] loop1: detected capacity change from 0 to 32768 [ 398.006045][T11942] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 398.006045][T11942] allowing incompatible features above 0.0: (unknown version) [ 398.041137][T11942] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 398.059890][T11946] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.105590][T11942] bcachefs (loop4): Version upgrade required: [ 398.105590][T11942] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 398.105590][T11942] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 398.105590][T11942] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 398.112885][T11946] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.185782][T11942] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 398.185802][T11942] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 398.185815][T11942] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 398.185827][T11942] inconsistency detected - emergency read only at journal seq 10 [ 398.196311][T11948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.198219][T11942] bcachefs (loop4): flagging btree extents lost data [ 398.240730][T11944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.247611][T11942] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 398.270256][T11942] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 398.274678][T11944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.284553][T11948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.299206][T11866] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 398.311214][T11942] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 398.401792][T11942] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 398.401811][T11942] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 398.401825][T11942] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 398.550626][T11942] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 398.550626][T11942] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 398.626174][T11946] bcachefs: bch2_fs_get_tree() error: EINVAL [ 398.671168][T11942] bcachefs (loop4): scan_for_btree_nodes... [ 398.733346][T11942] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 398.748095][T11944] bcachefs: bch2_fs_get_tree() error: EINVAL [ 398.766476][T11948] bcachefs: bch2_fs_get_tree() error: EINVAL [ 398.814517][T11942] done [ 398.820519][T11942] bcachefs (loop4): check_topology... [ 398.828099][T11942] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 398.891858][T11942] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 398.940892][T11942] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 399.017161][ T25] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 399.017190][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 399.017204][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 399.074941][T11942] bcachefs (loop4): Topology repair: unreadable btree node at [ 399.074959][T11942] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 399.212604][T11942] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 399.212623][T11942] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 399.260270][T11942] bcachefs (loop4): empty btree root extents [ 399.310384][T11942] done [ 399.315707][T11942] bcachefs (loop4): accounting_read... [ 399.316540][T11982] loop2: detected capacity change from 0 to 32768 [ 399.341987][T11942] done [ 399.344833][T11942] bcachefs (loop4): alloc_read... done [ 399.370529][T11942] bcachefs (loop4): snapshots_read... done [ 399.376486][T11942] bcachefs (loop4): check_allocations... [ 399.394682][T11942] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 399.394702][T11942] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 399.518324][T11982] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 399.531613][T11982] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 399.543718][T11942] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 399.543736][T11942] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 399.674291][T11984] loop3: detected capacity change from 0 to 32768 [ 399.723526][T11942] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 399.723545][T11942] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 399.804950][T11984] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 399.817005][T11942] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 399.817024][T11942] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 399.847333][T11984] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 399.865233][T11942] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 399.865252][T11942] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 399.927113][T11988] loop1: detected capacity change from 0 to 32768 [ 399.968398][T11982] bcachefs: bch2_fs_get_tree() error: EINVAL [ 400.019048][T11942] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.067209][T11942] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.079230][T11942] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.092217][T11942] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.107738][T11942] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.160448][T11942] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.167003][T11988] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 400.182171][T11988] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 400.211357][T11942] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.221981][T11942] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.238906][T11942] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.249250][T11942] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.249340][T11984] bcachefs: bch2_fs_get_tree() error: EINVAL [ 400.272755][T11986] loop0: detected capacity change from 0 to 32768 [ 400.291012][T11942] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.352415][T11942] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.387063][T11942] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.451179][T11942] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 400.451706][T11986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 400.477876][T11986] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 400.504671][T11942] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 400.533825][T11942] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 400.581219][T11942] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.623400][T11942] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.626926][T11988] bcachefs: bch2_fs_get_tree() error: EINVAL [ 400.677126][T11942] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.710336][T11942] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.750609][T11942] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 400.750627][T11942] Ratelimiting new instances of previous error [ 400.820848][T11942] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 400.820867][T11942] Ratelimiting new instances of previous error [ 400.890615][T11986] bcachefs: bch2_fs_get_tree() error: EINVAL [ 400.953623][T11942] done [ 400.970419][T11942] bcachefs (loop4): going read-write [ 401.007519][T11942] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 401.029511][T11942] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 401.070448][T11942] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 401.113794][T11942] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 401.191789][T11942] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 401.198436][T11942] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 401.225053][T11942] bcachefs (loop4): shutting down [ 401.342100][T11942] bcachefs (loop4): shutdown complete [ 401.352357][T12020] loop3: detected capacity change from 0 to 32768 [ 401.394695][T12018] loop2: detected capacity change from 0 to 32768 [ 401.574195][T12023] loop1: detected capacity change from 0 to 32768 [ 401.678444][T12025] loop0: detected capacity change from 0 to 32768 [ 401.921172][T12023] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 401.924888][T12020] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 401.924888][T12020] allowing incompatible features above 0.0: (unknown version) [ 401.945869][T12018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 401.955968][T12020] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 401.971199][T12020] bcachefs (loop3): Version upgrade required: [ 401.971199][T12020] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 401.971199][T12020] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 401.971199][T12020] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 402.000400][T12018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 402.043277][T12025] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 402.064621][T12025] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 402.073134][T12023] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 402.124727][T12020] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 402.124748][T12020] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 402.124761][T12020] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 402.124774][T12020] inconsistency detected - emergency read only at journal seq 10 [ 402.161925][T11942] bcachefs: bch2_fs_get_tree() error: EINTR [ 402.181435][T12020] bcachefs (loop3): flagging btree extents lost data [ 402.181472][T12020] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 402.181502][T12020] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 402.219925][T12020] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing 2025/04/27 11:13:35 executed programs: 576 [ 402.334552][T12020] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 402.334573][T12020] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 402.334586][T12020] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 402.431078][T12025] bcachefs: bch2_fs_get_tree() error: EINVAL [ 402.510737][T12023] bcachefs: bch2_fs_get_tree() error: EINVAL [ 402.524971][T12020] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 402.524971][T12020] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 402.609499][T12018] bcachefs: bch2_fs_get_tree() error: EINVAL [ 402.646848][T12020] bcachefs (loop3): scan_for_btree_nodes... [ 402.801772][T12020] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 402.897137][T12020] done [ 402.899958][T12020] bcachefs (loop3): check_topology... [ 402.904773][T12020] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 402.941287][T12020] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 403.001576][T12020] bcachefs (loop3): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 403.132564][ T25] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 403.132591][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 403.132605][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 403.175667][T12020] bcachefs (loop3): Topology repair: unreadable btree node at [ 403.175685][T12020] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 403.292258][T12056] loop4: detected capacity change from 0 to 32768 [ 403.321694][T12020] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 403.321719][T12020] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 403.367784][T12020] bcachefs (loop3): empty btree root extents [ 403.374989][T12020] done [ 403.382568][T12020] bcachefs (loop3): accounting_read... done [ 403.389591][T12020] bcachefs (loop3): alloc_read... done [ 403.395723][T12020] bcachefs (loop3): snapshots_read... done [ 403.402020][T12020] bcachefs (loop3): check_allocations... [ 403.425642][T12020] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 403.425663][T12020] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 403.457603][T12056] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 403.457709][T12056] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 403.583545][T12020] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 403.583564][T12020] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 403.638378][T12020] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 403.638397][T12020] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 403.716447][T12020] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 403.716465][T12020] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 403.727036][T12062] loop2: detected capacity change from 0 to 32768 [ 403.762213][T12060] loop1: detected capacity change from 0 to 32768 [ 403.784996][T12058] loop0: detected capacity change from 0 to 32768 [ 403.833758][T12020] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 403.833782][T12020] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 403.862126][T12020] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.873749][T12020] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.888299][T12020] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.899643][T12020] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.911512][T12020] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.921612][T12020] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.933747][T12020] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.943828][T12020] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.955419][T12020] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.961164][T12056] bcachefs: bch2_fs_get_tree() error: EINVAL [ 403.983859][T12020] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.063059][T12020] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.076195][T12062] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 404.076292][T12062] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 404.126296][T12020] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.138594][T12060] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 404.138693][T12060] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 404.148605][T12058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 404.165947][T12058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 404.174482][T12020] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.200392][T12020] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 404.233535][T12020] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 404.270491][T12020] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 404.316542][T12020] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.360405][T12020] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.403349][T12020] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.436023][T12020] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.471700][T12062] bcachefs: bch2_fs_get_tree() error: EINVAL [ 404.518281][T12020] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 404.518309][T12020] Ratelimiting new instances of previous error [ 404.530855][T12060] bcachefs: bch2_fs_get_tree() error: EINVAL [ 404.630967][T12020] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.630985][T12020] Ratelimiting new instances of previous error [ 404.651230][T12058] bcachefs: bch2_fs_get_tree() error: EINVAL [ 404.772260][T12020] done [ 404.775698][T12020] bcachefs (loop3): going read-write [ 404.850567][T12020] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 404.870247][T12020] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 404.885537][T12020] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 404.915801][T12020] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 404.972286][T12020] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 404.995657][T12020] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 405.026937][T12020] bcachefs (loop3): shutting down [ 405.197778][T12092] loop4: detected capacity change from 0 to 32768 [ 405.212412][T12020] bcachefs (loop3): shutdown complete [ 405.441357][T12097] loop1: detected capacity change from 0 to 32768 [ 405.613805][T12096] loop2: detected capacity change from 0 to 32768 [ 405.621785][T12099] loop0: detected capacity change from 0 to 32768 [ 405.816954][T12097] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 405.821906][T12092] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 405.821906][T12092] allowing incompatible features above 0.0: (unknown version) [ 405.838513][T12097] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 405.852664][T12092] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 405.865513][T12092] bcachefs (loop4): Version upgrade required: [ 405.865513][T12092] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 405.865513][T12092] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 405.865513][T12092] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 405.945939][T12092] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 405.945958][T12092] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 405.945971][T12092] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 405.945983][T12092] inconsistency detected - emergency read only at journal seq 10 [ 406.001916][T12099] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 406.025920][T12099] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 406.025939][T12092] bcachefs (loop4): flagging btree extents lost data [ 406.025965][T12092] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 406.058511][T12092] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 406.058708][T12096] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 406.080450][T12096] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 406.118094][T12092] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 406.185487][T12020] bcachefs: bch2_fs_get_tree() error: EINTR [ 406.224798][T12092] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 406.224818][T12092] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 406.224831][T12092] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 406.371671][T12092] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 406.371671][T12092] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 406.456104][T12092] bcachefs (loop4): scan_for_btree_nodes... [ 406.457132][T12097] bcachefs: bch2_fs_get_tree() error: EINVAL [ 406.471607][T12096] bcachefs: bch2_fs_get_tree() error: EINVAL [ 406.502348][T12099] bcachefs: bch2_fs_get_tree() error: EINVAL [ 406.642813][T12092] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 406.670293][T12092] done [ 406.686830][T12092] bcachefs (loop4): check_topology... [ 406.687798][T12092] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 406.736029][T12092] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 406.780430][T12092] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 406.845239][ T25] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 406.845264][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 406.845277][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 406.896385][T12092] bcachefs (loop4): Topology repair: unreadable btree node at [ 406.896404][T12092] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 406.948601][T12092] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 406.948619][T12092] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 406.967831][T12092] bcachefs (loop4): empty btree root extents [ 407.039996][T12092] done [ 407.068438][T12092] bcachefs (loop4): accounting_read... done [ 407.110324][T12092] bcachefs (loop4): alloc_read... done [ 407.116024][T12092] bcachefs (loop4): snapshots_read... done [ 407.170204][T12092] bcachefs (loop4): check_allocations... [ 407.202509][T12092] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 407.202531][T12092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 407.228390][T12130] loop3: detected capacity change from 0 to 32768 [ 407.320944][T12092] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 407.320964][T12092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 407.382708][T12130] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 407.382806][T12130] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 407.503608][T12092] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 407.503628][T12092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 407.606798][T12092] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 407.606817][T12092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 407.632918][T12136] loop0: detected capacity change from 0 to 32768 [ 407.688486][T12130] bcachefs: bch2_fs_get_tree() error: EINVAL [ 407.710513][T12092] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 407.710531][T12092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 407.761353][T12134] loop2: detected capacity change from 0 to 32768 [ 407.817169][T12092] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.848360][T12132] loop1: detected capacity change from 0 to 32768 [ 407.916141][T12092] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.933409][T12092] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.946094][T12092] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.959052][T12092] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.975894][T12092] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.997936][T12136] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open 2025/04/27 11:13:40 executed programs: 588 [ 408.016029][T12092] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.027243][T12136] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.043679][T12134] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.043798][T12134] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.155733][T12132] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.155834][T12132] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.240909][T12092] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.266197][T12092] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.287067][T12092] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.319330][T12092] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.339844][T12092] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.394188][T12092] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.436445][T12092] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 408.453861][T12136] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.455852][T12134] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.548929][T12092] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 408.588450][T12092] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 408.610050][T12132] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.625709][T12165] loop3: detected capacity change from 0 to 32768 [ 408.669719][T12092] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.709632][T12092] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.750544][T12092] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.802775][T12092] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.827058][T12092] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 408.827076][T12092] Ratelimiting new instances of previous error [ 408.849704][T12092] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.849723][T12092] Ratelimiting new instances of previous error [ 408.886491][T12165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.920340][T12165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.932614][T12092] done [ 408.936087][T12092] bcachefs (loop4): going read-write [ 408.966057][T12092] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 408.985449][T12092] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 409.014160][T12092] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 409.070936][T12092] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 409.141915][T12092] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 409.148572][T12092] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 409.197441][T12092] bcachefs (loop4): shutting down [ 409.242051][T12165] bcachefs: bch2_fs_get_tree() error: EINVAL [ 409.384798][T12092] bcachefs (loop4): shutdown complete [ 409.597796][T12175] loop2: detected capacity change from 0 to 32768 [ 409.736195][T12180] loop0: detected capacity change from 0 to 32768 [ 409.744501][T12178] loop1: detected capacity change from 0 to 32768 [ 409.918737][T12182] loop3: detected capacity change from 0 to 32768 [ 410.118490][T12178] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.132804][T12175] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 410.132804][T12175] allowing incompatible features above 0.0: (unknown version) [ 410.156383][T12178] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.167952][T12175] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 410.177360][T12175] bcachefs (loop2): Version upgrade required: [ 410.177360][T12175] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 410.177360][T12175] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 410.177360][T12175] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 410.251890][T12182] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.276602][T12175] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 410.276622][T12175] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 410.276635][T12175] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 410.276647][T12175] inconsistency detected - emergency read only at journal seq 10 [ 410.280371][T12182] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.287817][T12180] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.353320][T12175] bcachefs (loop2): flagging btree extents lost data [ 410.364292][T12175] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 410.385206][T12180] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.396076][T12175] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 410.464649][T12175] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 410.488053][T12175] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 410.488073][T12175] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 410.488087][T12175] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 410.517159][T12092] bcachefs: bch2_fs_get_tree() error: EINTR [ 410.672048][T12178] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.686744][T12175] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 410.686744][T12175] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 410.777095][T12182] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.862130][T12180] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.882365][T12175] bcachefs (loop2): scan_for_btree_nodes... [ 411.000104][T12175] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 411.020280][T12175] done [ 411.023095][T12175] bcachefs (loop2): check_topology... [ 411.028902][T12175] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 411.075440][T12175] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 411.107401][T12175] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 411.168696][ T25] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 411.168723][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 411.168737][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 411.226296][T12175] bcachefs (loop2): Topology repair: unreadable btree node at [ 411.226314][T12175] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 411.385432][T12175] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 411.385450][T12175] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 411.440259][T12175] bcachefs (loop2): empty btree root extents [ 411.450516][T12175] done [ 411.453317][T12175] bcachefs (loop2): accounting_read... done [ 411.500271][T12175] bcachefs (loop2): alloc_read... done [ 411.510658][T12175] bcachefs (loop2): snapshots_read... done [ 411.518441][T12215] loop4: detected capacity change from 0 to 32768 [ 411.526851][T12175] bcachefs (loop2): check_allocations... [ 411.551522][T12175] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 411.551543][T12175] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 411.661380][T12175] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 411.661400][T12175] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 411.766681][T12215] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.766781][T12215] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.820902][T12217] loop3: detected capacity change from 0 to 32768 [ 411.839799][T12175] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 411.839819][T12175] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 411.857508][T12213] loop1: detected capacity change from 0 to 32768 [ 411.949490][T12175] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 411.949510][T12175] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 411.994367][T12175] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 411.994386][T12175] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 412.027530][T12175] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.043643][T12175] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.056602][T12219] loop0: detected capacity change from 0 to 32768 [ 412.068841][T12217] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.068947][T12217] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.079726][T12215] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.208418][T12213] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.208515][T12213] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.272128][T12219] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.272222][T12219] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.328715][T12175] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.343104][T12175] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.360704][T12175] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.420533][T12175] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.470628][T12175] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.510467][T12175] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.550364][T12175] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.570588][T12175] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.580879][T12217] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.609700][T12175] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.638184][T12175] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.662411][T12213] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.707013][T12175] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.727436][T12219] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.785597][T12175] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.847259][T12175] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.878290][T12175] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 412.921046][T12175] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.940556][T12175] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.972990][T12175] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.014280][T12175] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing 2025/04/27 11:13:45 executed programs: 599 [ 413.046342][T12249] loop4: detected capacity change from 0 to 32768 [ 413.085814][T12175] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.085832][T12175] Ratelimiting new instances of previous error [ 413.158177][T12175] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.158195][T12175] Ratelimiting new instances of previous error [ 413.247364][T12249] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.270369][T12249] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.277313][T12175] done [ 413.282656][T12175] bcachefs (loop2): going read-write [ 413.291700][T12175] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 413.325030][T12175] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 413.348109][T12175] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 413.370380][T12175] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 413.432132][T12175] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 413.438981][T12175] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 413.463526][T12175] bcachefs (loop2): shutting down [ 413.571970][T12175] bcachefs (loop2): shutdown complete [ 413.740797][T12261] loop1: detected capacity change from 0 to 32768 [ 413.756961][T12258] loop0: detected capacity change from 0 to 32768 [ 413.809475][T12251] loop3: detected capacity change from 0 to 32768 [ 413.891771][T12249] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.208418][T12251] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.219789][T12258] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 414.219789][T12258] allowing incompatible features above 0.0: (unknown version) [ 414.257705][T12261] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.257778][T12251] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.282975][T12261] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.290732][T12258] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 414.307518][T12258] bcachefs (loop0): Version upgrade required: [ 414.307518][T12258] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 414.307518][T12258] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 414.307518][T12258] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 414.449002][T12175] bcachefs: bch2_fs_get_tree() error: EINTR [ 414.478138][T12286] loop4: detected capacity change from 0 to 32768 [ 414.485857][T12258] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 414.485874][T12258] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 414.485886][T12258] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 414.485898][T12258] inconsistency detected - emergency read only at journal seq 10 [ 414.621263][T12261] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.726309][T12258] bcachefs (loop0): flagging btree extents lost data [ 414.733301][T12258] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 414.745705][T12258] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 414.771885][T12258] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 414.816481][T12286] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.816589][T12286] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.934842][T12251] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.967424][T12258] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 414.967442][T12258] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 414.967455][T12258] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 415.106142][T12258] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 415.106142][T12258] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 415.200688][T12286] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.209143][T12258] bcachefs (loop0): scan_for_btree_nodes... [ 415.384188][T12258] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 415.411256][T12258] done [ 415.414133][T12258] bcachefs (loop0): check_topology... [ 415.433565][T12258] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 415.478483][T12258] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 415.530515][T12258] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 415.588509][ T25] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 415.588538][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 415.588552][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 415.634599][T12258] bcachefs (loop0): Topology repair: unreadable btree node at [ 415.634618][T12258] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 415.644268][T12295] loop2: detected capacity change from 0 to 32768 [ 415.752514][T12258] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 415.752534][T12258] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 415.779653][T12295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.779756][T12295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.820446][T12258] bcachefs (loop0): empty btree root extents [ 415.827144][T12258] done [ 415.831509][T12297] loop1: detected capacity change from 0 to 32768 [ 415.846596][T12258] bcachefs (loop0): accounting_read... done [ 415.860240][T12258] bcachefs (loop0): alloc_read... done [ 415.866646][T12258] bcachefs (loop0): snapshots_read... done [ 415.887794][T12258] bcachefs (loop0): check_allocations... [ 415.897306][T12258] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 415.897327][T12258] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 415.941743][T12258] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 415.941762][T12258] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 416.005774][T12297] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.005869][T12297] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.046027][T12300] loop3: detected capacity change from 0 to 32768 [ 416.127445][T12295] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.155415][T12258] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 416.155433][T12258] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 416.239264][T12300] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.239359][T12300] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.321576][T12297] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.345451][T12258] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 416.345470][T12258] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 416.523191][T12258] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 416.523209][T12258] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 416.548279][T12302] loop4: detected capacity change from 0 to 32768 [ 416.673117][T12300] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.761355][T12258] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.808946][T12302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.809044][T12302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.920879][T12258] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.960711][T12258] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.989329][T12258] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.013995][T12258] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.044410][T12258] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.086378][T12258] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.117079][T12330] loop1: detected capacity change from 0 to 32768 [ 417.128330][T12258] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.161132][T12258] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.187057][T12258] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.201236][T12258] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.220821][T12258] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.233447][T12258] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.244192][T12258] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.249585][T12302] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.285149][T12258] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.332889][T12258] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 417.378541][T12330] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.378644][T12330] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.454089][T12258] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 417.493720][T12258] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 417.526644][T12258] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 417.553067][T12258] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 417.580637][T12258] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 417.580653][T12258] Ratelimiting new instances of previous error [ 417.648633][T12258] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 417.648653][T12258] Ratelimiting new instances of previous error [ 417.681784][T12332] loop2: detected capacity change from 0 to 32768 [ 417.746848][T12330] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.749709][T12258] done [ 417.760826][T12258] bcachefs (loop0): going read-write [ 417.787858][T12258] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 417.803474][T12336] loop3: detected capacity change from 0 to 32768 [ 417.810747][T12258] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 417.819583][T12258] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 417.847815][T12258] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 417.868027][T12332] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.883584][T12332] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.905153][T12258] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 417.968519][T12258] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 418.024950][T12258] bcachefs (loop0): shutting down [ 418.105375][T12336] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 418.145430][T12336] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.164991][T12345] loop4: detected capacity change from 0 to 32768 [ 418.179942][T12332] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.193687][T12258] bcachefs (loop0): shutdown complete 2025/04/27 11:13:51 executed programs: 610 [ 418.598681][T12336] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.709507][T12367] loop1: detected capacity change from 0 to 32768 [ 418.858044][T12345] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 418.858044][T12345] allowing incompatible features above 0.0: (unknown version) [ 418.881514][T12345] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 418.889674][T12345] bcachefs (loop4): Version upgrade required: [ 418.889674][T12345] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 418.889674][T12345] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 418.889674][T12345] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 418.918674][T12367] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.006344][T12369] loop2: detected capacity change from 0 to 32768 [ 419.019067][T12367] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.055365][T12345] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 419.055385][T12345] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 419.055397][T12345] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 419.055409][T12345] inconsistency detected - emergency read only at journal seq 10 [ 419.234908][T12369] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.239049][T12345] bcachefs (loop4): flagging btree extents lost data [ 419.267248][T12369] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.281456][T12367] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.302714][T12345] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 419.319523][T12345] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 419.334089][T12258] bcachefs: bch2_fs_get_tree() error: EINTR [ 419.381157][T12345] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 419.427570][T12345] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 419.427590][T12345] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 419.427603][T12345] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 419.581444][T12345] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 419.581444][T12345] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 419.645319][T12345] bcachefs (loop4): scan_for_btree_nodes... [ 419.683691][T12345] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 419.701240][T12369] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.749455][T12345] done [ 419.779696][T12345] bcachefs (loop4): check_topology... [ 419.782873][T12345] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 419.846294][T12345] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 419.880659][T12345] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 419.947949][ T40] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 419.947975][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 419.947989][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 420.012039][T12345] bcachefs (loop4): Topology repair: unreadable btree node at [ 420.012058][T12345] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 420.052183][T12382] loop3: detected capacity change from 0 to 32768 [ 420.091232][T12345] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 420.091251][T12345] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 420.120491][T12345] bcachefs (loop4): empty btree root extents [ 420.130304][T12345] done [ 420.133231][T12345] bcachefs (loop4): accounting_read... done [ 420.145037][T12345] bcachefs (loop4): alloc_read... done [ 420.160430][T12345] bcachefs (loop4): snapshots_read... done [ 420.185527][T12345] bcachefs (loop4): check_allocations... [ 420.190892][T12345] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 420.190912][T12345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 420.229780][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 420.229878][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.288320][T12390] loop1: detected capacity change from 0 to 32768 [ 420.363552][T12345] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 420.363572][T12345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 420.471030][T12390] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 420.481138][T12345] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 420.481156][T12345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 420.493765][T12390] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.525184][T12345] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 420.525203][T12345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 420.566431][T12345] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 420.566451][T12345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 420.638178][T12345] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.656714][T12382] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.689167][T12345] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.750825][T12345] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.781809][T12345] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.803708][T12345] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.824073][T12345] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.839099][T12390] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.887082][T12345] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.898713][T12392] loop0: detected capacity change from 0 to 32768 [ 420.926608][T12399] loop2: detected capacity change from 0 to 32768 [ 420.965446][T12345] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.992135][T12345] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.002676][T12345] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.035368][T12345] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.077221][T12345] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.099466][T12345] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.133239][T12392] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.133332][T12392] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.155878][T12399] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.155976][T12399] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.236898][T12345] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.249213][T12345] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.295579][T12345] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 421.334975][T12345] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 421.360495][T12345] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 421.390663][T12345] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 421.411136][T12345] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 421.433269][T12345] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 421.433288][T12345] Ratelimiting new instances of previous error [ 421.451570][T12392] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.477601][T12399] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.607837][T12345] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 421.607855][T12345] Ratelimiting new instances of previous error [ 421.782423][T12345] done [ 421.785858][T12345] bcachefs (loop4): going read-write [ 421.831832][T12345] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 421.860443][T12345] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 421.889644][T12345] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 421.912957][T12345] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 421.971796][T12345] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 421.997927][T12424] loop3: detected capacity change from 0 to 32768 [ 421.998893][T12345] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 422.040176][T12345] bcachefs (loop4): shutting down [ 422.087492][T12426] loop1: detected capacity change from 0 to 32768 [ 422.188241][T12345] bcachefs (loop4): shutdown complete [ 422.326104][T12431] loop2: detected capacity change from 0 to 32768 [ 422.350241][T12424] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 422.350241][T12424] allowing incompatible features above 0.0: (unknown version) [ 422.380958][T12424] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 422.385385][T12426] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.404345][T12426] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.410580][T12424] bcachefs (loop3): Version upgrade required: [ 422.410580][T12424] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 422.410580][T12424] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 422.410580][T12424] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 422.504139][T12424] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 422.504161][T12424] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 422.504174][T12424] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 422.504186][T12424] inconsistency detected - emergency read only at journal seq 10 [ 422.559097][T12424] bcachefs (loop3): flagging btree extents lost data [ 422.566123][T12424] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 422.583299][T12424] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 422.597376][T12424] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 422.677985][T12431] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.689807][T12424] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 422.689826][T12424] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 422.689840][T12424] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 422.694561][T12431] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.740002][T12345] bcachefs: bch2_fs_get_tree() error: EINTR [ 422.765412][T12424] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 422.765412][T12424] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 422.885270][T12424] bcachefs (loop3): scan_for_btree_nodes... [ 422.899674][T12426] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.954779][T12429] loop0: detected capacity change from 0 to 32768 [ 422.991658][T12424] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 423.024132][T12424] done [ 423.027011][T12424] bcachefs (loop3): check_topology... [ 423.035407][T12424] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 423.071757][T12424] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 423.126159][T12424] bcachefs (loop3): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 423.177205][T12431] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.208033][ T25] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 423.208060][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 423.208084][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 423.225779][T12429] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.276672][T12424] bcachefs (loop3): Topology repair: unreadable btree node at [ 423.276691][T12424] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing 2025/04/27 11:13:56 executed programs: 621 [ 423.304964][T12429] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.394627][T12424] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 423.394645][T12424] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 423.450287][T12424] bcachefs (loop3): empty btree root extents [ 423.470400][T12424] done [ 423.473215][T12424] bcachefs (loop3): accounting_read... done [ 423.490311][T12424] bcachefs (loop3): alloc_read... done [ 423.510225][T12424] bcachefs (loop3): snapshots_read... done [ 423.526443][T12424] bcachefs (loop3): check_allocations... [ 423.534468][T12424] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 423.534488][T12424] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 423.579454][T12455] loop4: detected capacity change from 0 to 32768 [ 423.687537][T12424] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 423.687556][T12424] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 423.744529][T12429] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.808688][T12455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.808785][T12455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.882307][T12464] loop1: detected capacity change from 0 to 32768 [ 424.004276][T12424] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 424.004296][T12424] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 424.090422][T12424] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 424.090442][T12424] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 424.111614][T12464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.111712][T12464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.182299][T12455] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.337852][T12424] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 424.337872][T12424] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 424.436185][T12424] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.467648][T12424] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.493845][T12424] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.532083][T12424] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.580694][T12464] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.609404][T12424] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.643697][T12471] loop2: detected capacity change from 0 to 32768 [ 424.698043][T12424] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.779634][T12424] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 424.806893][T12482] loop0: detected capacity change from 0 to 32768 [ 424.860376][T12424] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 424.884831][T12471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.884929][T12471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.997109][T12424] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.057687][T12424] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.069996][T12424] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.082883][T12471] bcachefs: bch2_fs_get_tree() error: EINVAL [ 425.089031][T12482] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.089128][T12482] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.138519][T12424] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.191707][T12424] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.210348][T12424] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.230667][T12424] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.250396][T12424] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 425.270533][T12424] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 425.300680][T12424] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 425.301925][T12484] loop4: detected capacity change from 0 to 32768 [ 425.330538][T12424] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 425.379632][T12424] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 425.413948][T12424] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 425.413967][T12424] Ratelimiting new instances of previous error [ 425.520428][T12424] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 425.520447][T12424] Ratelimiting new instances of previous error [ 425.548824][T12484] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.548931][T12484] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.552460][T12482] bcachefs: bch2_fs_get_tree() error: EINVAL [ 425.590365][T12500] loop1: detected capacity change from 0 to 32768 [ 425.651927][T12424] done [ 425.680713][T12424] bcachefs (loop3): going read-write [ 425.739433][T12424] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 425.770605][T12424] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 425.793876][T12424] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 425.839496][T12424] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 425.891970][T12424] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 425.911372][T12484] bcachefs: bch2_fs_get_tree() error: EINVAL [ 425.928701][T12500] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.937887][T12424] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 425.986407][T12424] bcachefs (loop3): shutting down [ 425.992568][T12500] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.148472][T12506] loop2: detected capacity change from 0 to 32768 [ 426.186803][T12424] bcachefs (loop3): shutdown complete [ 426.498190][T12519] loop0: detected capacity change from 0 to 32768 [ 426.581411][T12500] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.597668][T12526] loop4: detected capacity change from 0 to 32768 [ 426.697221][T12506] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 426.697221][T12506] allowing incompatible features above 0.0: (unknown version) [ 426.725403][T12519] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.758784][T12506] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 426.768191][T12506] bcachefs (loop2): Version upgrade required: [ 426.768191][T12506] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 426.768191][T12506] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 426.768191][T12506] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 426.788877][T12519] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.974522][T12506] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 426.974542][T12506] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 426.974556][T12506] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 426.974568][T12506] inconsistency detected - emergency read only at journal seq 10 [ 427.028470][T12424] bcachefs: bch2_fs_get_tree() error: EINTR [ 427.065446][T12526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.065533][T12526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.233992][T12506] bcachefs (loop2): flagging btree extents lost data [ 427.280354][T12506] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 427.304324][T12506] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 427.349407][T12519] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.391072][T12506] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 427.452187][T12506] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 427.452206][T12506] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 427.452219][T12506] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 427.467160][T12526] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.513747][T12542] loop1: detected capacity change from 0 to 32768 [ 427.677190][T12506] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 427.677190][T12506] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 427.728141][T12542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.784415][T12506] bcachefs (loop2): scan_for_btree_nodes... [ 427.826570][T12542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.965027][T12506] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 427.973729][T12506] done [ 427.976517][T12506] bcachefs (loop2): check_topology... [ 427.992577][T12506] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 428.018659][T12506] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 428.050624][T12506] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 428.095097][ T40] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 428.095125][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 428.095139][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 428.139376][T12506] bcachefs (loop2): Topology repair: unreadable btree node at [ 428.139393][T12506] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 428.180572][T12506] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 428.180591][T12506] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 428.206880][T12506] bcachefs (loop2): empty btree root extents [ 428.219887][T12506] done [ 428.229865][T12506] bcachefs (loop2): accounting_read... [ 428.243774][T12546] loop3: detected capacity change from 0 to 32768 [ 428.258312][T12542] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.290518][T12506] done [ 428.293431][T12506] bcachefs (loop2): alloc_read... done [ 428.309526][T12506] bcachefs (loop2): snapshots_read... done [ 428.333083][T12506] bcachefs (loop2): check_allocations... [ 428.338900][T12506] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 428.338919][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 428.402735][T12557] loop4: detected capacity change from 0 to 32768 [ 428.420070][T12546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.428190][T12546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.573965][T12558] loop0: detected capacity change from 0 to 32768 [ 428.592461][T12506] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 428.592505][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 428.638613][T12557] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.648421][T12557] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.650471][T12506] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 428.650488][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 428.710038][T12506] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree 2025/04/27 11:14:01 executed programs: 633 [ 428.710055][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 428.836109][T12558] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.836201][T12558] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.881846][T12557] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.904990][T12546] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.014281][T12506] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 429.014298][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 429.107755][T12506] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.159218][T12506] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.205814][T12558] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.238003][T12506] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.265065][T12506] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.320647][T12506] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.337350][T12506] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.407506][T12506] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.430562][T12506] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.463800][T12506] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.491014][T12506] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.520556][T12506] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.540389][T12506] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.569771][T12506] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.598632][T12506] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 429.645230][T12506] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 429.673770][T12506] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 429.720563][T12506] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 429.720678][T12581] loop1: detected capacity change from 0 to 32768 [ 429.740773][T12506] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 429.767574][T12506] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 429.800422][T12506] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 429.840647][T12506] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 429.840665][T12506] Ratelimiting new instances of previous error [ 429.882729][T12506] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 429.882749][T12506] Ratelimiting new instances of previous error [ 429.932350][T12581] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 429.932456][T12581] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 429.949383][T12583] loop3: detected capacity change from 0 to 32768 [ 430.058651][T12506] done [ 430.070852][T12506] bcachefs (loop2): going read-write [ 430.091727][T12506] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 430.127135][T12506] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 430.160209][T12506] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 430.175224][T12583] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.192504][T12506] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 430.192869][T12581] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.205234][T12583] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.242559][T12506] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 430.255372][T12506] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 430.282249][T12585] loop4: detected capacity change from 0 to 32768 [ 430.288122][T12506] bcachefs (loop2): shutting down [ 430.380546][T12587] loop0: detected capacity change from 0 to 32768 [ 430.482056][T12506] bcachefs (loop2): shutdown complete [ 430.529070][T12583] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.957136][T12587] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 430.957136][T12587] allowing incompatible features above 0.0: (unknown version) [ 430.979826][T12585] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.979942][T12585] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.079797][T12587] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 431.144277][T12587] bcachefs (loop0): Version upgrade required: [ 431.144277][T12587] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 431.144277][T12587] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 431.144277][T12587] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 431.228089][T12619] loop3: detected capacity change from 0 to 32768 [ 431.244433][T12617] loop1: detected capacity change from 0 to 32768 [ 431.276806][T12506] bcachefs: bch2_fs_get_tree() error: EINTR [ 431.288531][T12587] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 431.288559][T12587] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 431.288571][T12587] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 431.288581][T12587] inconsistency detected - emergency read only at journal seq 10 [ 431.370787][T12585] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.411842][T12587] bcachefs (loop0): flagging btree extents lost data [ 431.427304][T12617] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.432796][T12587] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 431.452758][T12587] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 431.479770][T12617] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.521299][T12587] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 431.577536][T12619] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.577647][T12619] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.655297][T12587] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 431.655317][T12587] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 431.655337][T12587] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 431.783794][T12587] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 431.783794][T12587] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 431.880996][T12587] bcachefs (loop0): scan_for_btree_nodes... [ 431.901691][T12617] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.980510][T12619] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.025195][T12587] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 432.050372][T12587] done [ 432.053410][T12587] bcachefs (loop0): check_topology... [ 432.064010][T12587] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 432.098728][T12587] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 432.139714][T12587] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 432.207847][ T25] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 432.207874][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 432.207888][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 432.277782][T12587] bcachefs (loop0): Topology repair: unreadable btree node at [ 432.277800][T12587] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 432.295074][T12637] loop2: detected capacity change from 0 to 32768 [ 432.355571][T12587] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 432.355589][T12587] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 432.374812][T12587] bcachefs (loop0): empty btree root extents [ 432.390335][T12587] done [ 432.393172][T12587] bcachefs (loop0): accounting_read... done [ 432.425862][T12587] bcachefs (loop0): alloc_read... done [ 432.434842][T12587] bcachefs (loop0): snapshots_read... done [ 432.458907][T12587] bcachefs (loop0): check_allocations... [ 432.472252][T12637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.495852][T12587] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 432.495873][T12587] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 432.541252][T12637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.582134][T12587] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 432.582155][T12587] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 432.698429][T12639] loop4: detected capacity change from 0 to 32768 [ 432.727540][T12587] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 432.727559][T12587] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 432.806531][T12587] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 432.806551][T12587] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 432.885315][T12587] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 432.885334][T12587] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 432.888474][T12639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.930802][T12587] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.943336][T12639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.984943][T12637] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.025073][T12587] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.063574][T12651] loop3: detected capacity change from 0 to 32768 [ 433.082593][T12587] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.094753][T12587] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.118509][T12648] loop1: detected capacity change from 0 to 32768 [ 433.141488][T12587] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.151745][T12587] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.166720][T12587] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.183340][T12587] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.225519][T12587] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.250519][T12587] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.284759][T12587] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.295274][T12587] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.307937][T12587] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.345142][T12587] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 433.361432][T12587] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 433.376002][T12587] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 433.396911][T12587] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 433.408835][T12587] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 433.413397][T12639] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.440579][T12587] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 433.448349][T12648] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.461102][T12648] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.490552][T12587] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 433.508207][T12651] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.508314][T12651] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.544015][T12587] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 433.544033][T12587] Ratelimiting new instances of previous error [ 433.561671][T12587] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 433.561689][T12587] Ratelimiting new instances of previous error [ 433.674432][T12587] done [ 433.677856][T12587] bcachefs (loop0): going read-write [ 433.731025][T12651] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.745880][T12587] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 433.776933][T12587] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 433.813249][T12587] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 433.841421][T12587] bcachefs (loop0): unclean shutdown complete, journal seq 10 2025/04/27 11:14:06 executed programs: 644 [ 433.891902][T12587] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 433.910278][T12648] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.920681][T12587] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 433.928805][T12587] bcachefs (loop0): shutting down [ 434.131862][T12587] bcachefs (loop0): shutdown complete [ 434.307274][T12670] loop2: detected capacity change from 0 to 32768 [ 434.473078][T12677] loop4: detected capacity change from 0 to 32768 [ 434.686546][T12681] loop1: detected capacity change from 0 to 32768 [ 434.755470][T12679] loop3: detected capacity change from 0 to 32768 [ 434.897770][T12677] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 434.897770][T12677] allowing incompatible features above 0.0: (unknown version) [ 434.898507][T12670] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.925564][T12677] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 434.946701][T12679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.947723][T12677] bcachefs (loop4): Version upgrade required: [ 434.947723][T12677] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 434.947723][T12677] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 434.947723][T12677] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 434.956291][T12670] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.958682][T12679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.054400][T12681] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.063961][T12681] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.075875][T12677] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 435.075902][T12677] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 435.075915][T12677] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 435.075927][T12677] inconsistency detected - emergency read only at journal seq 10 [ 435.291136][T12587] bcachefs: bch2_fs_get_tree() error: EINTR [ 435.334722][T12677] bcachefs (loop4): flagging btree extents lost data [ 435.347457][T12677] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 435.368612][T12677] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 435.381648][T12670] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.419776][T12679] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.430591][T12681] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.441034][T12677] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 435.502389][T12677] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 435.502409][T12677] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 435.502422][T12677] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 435.700864][T12677] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 435.700864][T12677] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 435.796711][T12677] bcachefs (loop4): scan_for_btree_nodes... [ 435.858795][T12677] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 435.885240][T12677] done [ 435.896951][T12677] bcachefs (loop4): check_topology... [ 435.897966][T12677] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 435.954639][T12677] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 436.020419][T12677] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 436.087999][ T40] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 436.088026][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 436.088040][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 436.134158][T12677] bcachefs (loop4): Topology repair: unreadable btree node at [ 436.134176][T12677] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 436.237260][T12677] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 436.237277][T12677] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 436.313124][T12677] bcachefs (loop4): empty btree root extents [ 436.359321][T12677] done [ 436.372468][T12677] bcachefs (loop4): accounting_read... done [ 436.406430][T12677] bcachefs (loop4): alloc_read... done [ 436.435632][T12718] loop3: detected capacity change from 0 to 32768 [ 436.442330][T12677] bcachefs (loop4): snapshots_read... done [ 436.448837][T12677] bcachefs (loop4): check_allocations... [ 436.482134][T12677] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 436.482155][T12677] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 436.585853][T12716] loop2: detected capacity change from 0 to 32768 [ 436.607125][T12712] loop1: detected capacity change from 0 to 32768 [ 436.620071][T12718] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.620517][T12718] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.684817][T12677] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 436.684837][T12677] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 436.745070][T12677] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 436.745088][T12677] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 436.812754][T12677] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 436.812773][T12677] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 436.839836][T12716] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.839934][T12716] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.843308][T12712] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.843402][T12712] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.858821][T12718] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.881199][T12714] loop0: detected capacity change from 0 to 32768 [ 437.079913][T12714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 437.080010][T12714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 437.092994][T12716] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.296310][T12712] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.393667][T12677] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 437.393687][T12677] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 437.483208][T12714] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.596598][T12677] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.642737][T12677] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.706208][T12677] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.740486][T12677] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.769501][T12677] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.815675][T12677] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.849235][T12677] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.890002][T12677] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.928944][T12677] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.959538][T12677] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.992076][T12677] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.015428][T12677] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.047593][T12677] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.069952][T12677] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.110569][T12677] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.140535][T12677] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 438.162932][T12748] loop3: detected capacity change from 0 to 32768 [ 438.216788][T12750] loop2: detected capacity change from 0 to 32768 [ 438.236890][T12677] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 438.248819][T12677] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 438.262307][T12677] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 438.276318][T12677] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 438.299081][T12677] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 438.299099][T12677] Ratelimiting new instances of previous error [ 438.340831][T12677] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 438.340851][T12677] Ratelimiting new instances of previous error [ 438.357019][T12748] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.357116][T12748] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.438367][T12750] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.471506][T12752] loop1: detected capacity change from 0 to 32768 [ 438.487012][T12750] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.487683][T12677] done [ 438.519029][T12677] bcachefs (loop4): going read-write [ 438.538408][T12677] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 438.581201][T12677] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 438.590066][T12677] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 438.627607][T12677] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 438.644743][T12748] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.712027][T12677] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 438.718715][T12677] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 438.735873][T12752] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.765238][T12754] loop0: detected capacity change from 0 to 32768 [ 438.767736][T12677] bcachefs (loop4): shutting down [ 438.796990][T12752] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.810509][T12750] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.953167][T12677] bcachefs (loop4): shutdown complete 2025/04/27 11:14:11 executed programs: 655 [ 439.329045][T12752] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.476084][T12785] loop3: detected capacity change from 0 to 32768 [ 439.574633][T12754] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 439.574633][T12754] allowing incompatible features above 0.0: (unknown version) [ 439.627362][T12754] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 439.642740][T12787] loop2: detected capacity change from 0 to 32768 [ 439.694983][T12754] bcachefs (loop0): Version upgrade required: [ 439.694983][T12754] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 439.694983][T12754] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 439.694983][T12754] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 439.794958][T12785] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 439.815969][T12785] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 439.837147][T12754] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 439.837167][T12754] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 439.837179][T12754] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 439.837190][T12754] inconsistency detected - emergency read only at journal seq 10 [ 439.861442][T12677] bcachefs: bch2_fs_get_tree() error: EINTR [ 440.033116][T12787] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.033215][T12787] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.129071][T12754] bcachefs (loop0): flagging btree extents lost data [ 440.143127][ T1299] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.149521][ T1299] ieee802154 phy1 wpan1: encryption failed: -22 [ 440.170252][T12754] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 440.190231][T12754] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 440.214500][T12754] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 440.244724][T12754] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 440.244743][T12754] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 440.244757][T12754] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 440.355620][T12787] bcachefs: bch2_fs_get_tree() error: EINVAL [ 440.380706][T12785] bcachefs: bch2_fs_get_tree() error: EINVAL [ 440.406788][T12754] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 440.406788][T12754] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 440.526898][T12754] bcachefs (loop0): scan_for_btree_nodes... [ 440.565654][T12754] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 440.593848][T12754] done [ 440.596686][T12754] bcachefs (loop0): check_topology... [ 440.604869][T12754] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 440.636645][T12800] loop1: detected capacity change from 0 to 32768 [ 440.659750][T12754] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 440.680634][T12754] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 440.731351][ T25] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 440.731379][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 440.731392][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 440.744466][T12805] loop4: detected capacity change from 0 to 32768 [ 440.777491][T12754] bcachefs (loop0): Topology repair: unreadable btree node at [ 440.777510][T12754] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 440.830005][T12754] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 440.830023][T12754] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 440.847259][T12754] bcachefs (loop0): empty btree root extents [ 440.856877][T12754] done [ 440.860773][T12754] bcachefs (loop0): accounting_read... [ 440.876071][T12800] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.888296][T12754] done [ 440.900398][T12800] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.914731][T12754] bcachefs (loop0): alloc_read... done [ 440.921909][T12754] bcachefs (loop0): snapshots_read... done [ 440.927914][T12754] bcachefs (loop0): check_allocations... [ 440.969449][T12754] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 440.969471][T12754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 441.013146][T12805] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.013247][T12805] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.118487][T12754] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 441.118506][T12754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 441.214810][T12754] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 441.214831][T12754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 441.290607][T12805] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.321969][T12754] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 441.321989][T12754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 441.337644][T12800] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.452463][T12754] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 441.452482][T12754] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 441.552008][T12754] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.591780][T12754] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.619515][T12754] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.653811][T12754] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.665433][T12820] loop3: detected capacity change from 0 to 32768 [ 441.714758][T12754] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.777479][T12754] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.794365][T12754] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.845463][T12754] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.870649][T12754] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.882495][T12820] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.882593][T12820] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.894699][T12824] loop2: detected capacity change from 0 to 32768 [ 441.940527][T12754] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.970979][T12754] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.994089][T12754] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.061199][T12754] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.083195][T12754] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.100612][T12754] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.110739][T12754] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 442.122117][T12754] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.132965][T12754] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.145045][T12754] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.155744][T12754] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.167855][T12754] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 442.167874][T12754] Ratelimiting new instances of previous error [ 442.174331][T12824] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.198786][T12754] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 442.198808][T12754] Ratelimiting new instances of previous error [ 442.228008][T12833] loop1: detected capacity change from 0 to 32768 [ 442.240820][T12824] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 442.317217][T12820] bcachefs: bch2_fs_get_tree() error: EINVAL [ 442.412390][T12754] done [ 442.415808][T12754] bcachefs (loop0): going read-write [ 442.435750][T12833] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.460952][T12754] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 442.475729][T12833] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 442.484473][T12754] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 442.506081][T12754] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 442.528806][T12754] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 442.615053][T12754] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 442.640323][T12754] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 442.659461][T12826] loop4: detected capacity change from 0 to 32768 [ 442.666236][T12754] bcachefs (loop0): shutting down [ 442.778223][T12824] bcachefs: bch2_fs_get_tree() error: EINVAL [ 442.793216][T12754] bcachefs (loop0): shutdown complete [ 442.820539][T12833] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.157510][T12852] loop3: detected capacity change from 0 to 32768 [ 443.451451][T12826] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 443.451451][T12826] allowing incompatible features above 0.0: (unknown version) [ 443.468746][T12852] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.485923][T12826] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 443.496408][T12754] bcachefs: bch2_fs_get_tree() error: EINTR [ 443.532118][T12852] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.550693][T12826] bcachefs (loop4): Version upgrade required: [ 443.550693][T12826] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 443.550693][T12826] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 443.550693][T12826] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 443.645732][T12826] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 443.645751][T12826] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 443.645763][T12826] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 443.645773][T12826] inconsistency detected - emergency read only at journal seq 10 [ 443.755167][T12868] loop1: detected capacity change from 0 to 32768 [ 443.787541][T12861] loop2: detected capacity change from 0 to 32768 [ 443.867494][T12826] bcachefs (loop4): flagging btree extents lost data [ 443.874383][T12826] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 443.886715][T12826] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 443.944423][T12826] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 443.957841][T12868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.957937][T12868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.979721][T12852] bcachefs: bch2_fs_get_tree() error: EINVAL [ 444.048302][T12861] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.048400][T12861] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.202676][T12826] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 444.202696][T12826] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 444.202709][T12826] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 444.306083][T12826] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 444.306083][T12826] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 444.354253][T12884] loop0: detected capacity change from 0 to 32768 [ 444.376336][T12826] bcachefs (loop4): scan_for_btree_nodes... [ 444.411703][T12868] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/04/27 11:14:17 executed programs: 667 [ 444.494691][T12884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.508761][T12884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.508879][T12861] bcachefs: bch2_fs_get_tree() error: EINVAL [ 444.598341][T12826] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 444.610445][T12826] done [ 444.613342][T12826] bcachefs (loop4): check_topology... [ 444.627968][T12826] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 444.655141][T12826] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 444.706224][T12826] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 444.801835][ T40] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 444.801862][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 444.801875][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 444.849541][T12826] bcachefs (loop4): Topology repair: unreadable btree node at [ 444.849560][T12826] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 444.978573][T12826] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 444.978591][T12826] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 445.017954][T12884] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.096423][T12826] bcachefs (loop4): empty btree root extents [ 445.160346][T12826] done [ 445.163182][T12826] bcachefs (loop4): accounting_read... done [ 445.216354][T12826] bcachefs (loop4): alloc_read... done [ 445.250749][T12826] bcachefs (loop4): snapshots_read... done [ 445.267764][T12898] loop1: detected capacity change from 0 to 32768 [ 445.274644][T12826] bcachefs (loop4): check_allocations... [ 445.291073][T12826] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 445.291094][T12826] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 445.428645][T12898] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.438082][T12898] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.438513][T12826] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 445.438529][T12826] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 445.470894][T12896] loop3: detected capacity change from 0 to 32768 [ 445.524463][T12826] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 445.524483][T12826] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 445.569855][T12826] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 445.569875][T12826] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 445.604914][T12826] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 445.604933][T12826] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 445.634814][T12826] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.645298][T12826] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.683492][T12826] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.700825][T12896] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.700926][T12896] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.704115][T12898] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.837210][T12826] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.863395][T12826] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.891875][T12900] loop2: detected capacity change from 0 to 32768 [ 445.950495][T12826] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.983862][T12826] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.004699][T12826] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.020607][T12826] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.057300][T12900] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 446.057409][T12900] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 446.101923][T12896] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.104447][T12903] loop0: detected capacity change from 0 to 32768 [ 446.152022][T12826] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.213927][T12826] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.287191][T12826] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.289053][T12903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 446.308127][T12903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 446.349333][T12826] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.410666][T12826] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.438286][T12826] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.458819][T12826] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 446.502464][T12826] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.530462][T12826] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.551100][T12903] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.578284][T12900] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.597025][T12826] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.650782][T12826] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.706219][T12826] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.706236][T12826] Ratelimiting new instances of previous error [ 446.789323][T12826] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.789341][T12826] Ratelimiting new instances of previous error [ 446.902364][T12826] done [ 446.905884][T12826] bcachefs (loop4): going read-write [ 446.963741][T12826] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 446.983603][T12826] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 447.013619][T12826] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 447.044042][T12826] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 447.080078][T12931] loop1: detected capacity change from 0 to 32768 [ 447.121717][T12826] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 447.148685][T12826] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 447.163970][T12826] bcachefs (loop4): shutting down [ 447.265768][T12931] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.329961][T12931] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.347924][T12934] loop3: detected capacity change from 0 to 32768 [ 447.373117][T12826] bcachefs (loop4): shutdown complete [ 447.381893][T12936] loop0: detected capacity change from 0 to 32768 [ 447.613012][T12939] loop2: detected capacity change from 0 to 32768 [ 447.658688][T12931] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.990109][T12934] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.999460][T12936] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 448.016749][T12939] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 448.016749][T12939] allowing incompatible features above 0.0: (unknown version) [ 448.043249][T12934] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.043265][T12936] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.083335][T12939] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 448.138764][T12939] bcachefs (loop2): Version upgrade required: [ 448.138764][T12939] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 448.138764][T12939] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 448.138764][T12939] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 448.262827][T12939] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 448.262847][T12939] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 448.262861][T12939] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 448.262873][T12939] inconsistency detected - emergency read only at journal seq 10 [ 448.289696][T12969] loop1: detected capacity change from 0 to 32768 [ 448.327131][T12826] bcachefs: bch2_fs_get_tree() error: EINTR [ 448.365332][T12936] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.379648][T12939] bcachefs (loop2): flagging btree extents lost data [ 448.402698][T12939] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 448.415478][T12939] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 448.466603][T12939] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 448.508633][T12939] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 448.508653][T12939] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 448.508666][T12939] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 448.560620][T12934] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.582714][T12969] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 448.582812][T12969] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.765907][T12939] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 448.765907][T12939] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 448.850447][T12939] bcachefs (loop2): scan_for_btree_nodes... [ 448.897687][T12939] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 448.920287][T12939] done [ 448.923112][T12939] bcachefs (loop2): check_topology... [ 448.925999][T12969] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.957326][T12939] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 448.990335][T12939] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 449.064166][T12939] bcachefs (loop2): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 449.143296][ T25] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 449.143323][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 449.143336][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 449.194212][T12939] bcachefs (loop2): Topology repair: unreadable btree node at [ 449.194232][T12939] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 449.314258][T12939] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 449.314277][T12939] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 449.383575][T12939] bcachefs (loop2): empty btree root extents [ 449.424775][T12939] done [ 449.427683][T12939] bcachefs (loop2): accounting_read... done [ 449.469533][T12939] bcachefs (loop2): alloc_read... done [ 449.475279][T12983] loop3: detected capacity change from 0 to 32768 [ 449.510943][T12939] bcachefs (loop2): snapshots_read... done [ 449.518123][T12939] bcachefs (loop2): check_allocations... [ 449.531877][T12939] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 449.531899][T12939] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 449.595133][T12983] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.608900][T12939] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 449.608919][T12939] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 449.623531][T12978] loop4: detected capacity change from 0 to 32768 [ 449.630297][T12983] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.748821][T12981] loop0: detected capacity change from 0 to 32768 [ 449.756907][T12939] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 449.756927][T12939] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 449.779859][T12978] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.779954][T12978] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.850450][T12939] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 449.850469][T12939] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 449.943172][T12939] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 449.943191][T12939] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 449.960323][T12981] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.960422][T12981] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.087301][T12985] loop1: detected capacity change from 0 to 32768 [ 450.136379][T12983] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.198228][T12978] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.210006][T12939] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.230409][T12939] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.295413][T12939] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.306615][T12939] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.318409][T12939] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.329043][T12939] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.342546][T12939] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.353124][T12939] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.361942][T12985] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.375445][T12939] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.417060][T12939] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.431346][T12985] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.463699][T12939] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.482232][T12939] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/04/27 11:14:23 executed programs: 680 [ 450.498916][T12981] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.529375][T12939] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.558072][T12939] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.613694][T12939] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.689839][T12939] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 450.775096][T12939] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.828614][T12939] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.885142][T12939] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.918429][T12985] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.970876][T12939] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 451.020657][T12939] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 451.020676][T12939] Ratelimiting new instances of previous error [ 451.078266][T12939] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 451.078285][T12939] Ratelimiting new instances of previous error [ 451.217050][T12939] done [ 451.250829][T12939] bcachefs (loop2): going read-write [ 451.266963][T12939] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 451.287678][T12939] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 451.338615][T12939] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 451.360338][T12939] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 451.415973][T12939] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 451.443314][T12939] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 451.470337][T12939] bcachefs (loop2): shutting down [ 451.537796][T13015] loop3: detected capacity change from 0 to 32768 [ 451.582328][T12939] bcachefs (loop2): shutdown complete [ 451.641391][T13019] loop0: detected capacity change from 0 to 32768 [ 451.674302][T13017] loop4: detected capacity change from 0 to 32768 [ 451.818975][T13022] loop1: detected capacity change from 0 to 32768 [ 451.995306][T13015] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.999017][T13019] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 451.999017][T13019] allowing incompatible features above 0.0: (unknown version) [ 452.020676][T13015] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.051509][T13022] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.061167][T13022] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.072318][T13019] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 452.081447][T13019] bcachefs (loop0): Version upgrade required: [ 452.081447][T13019] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 452.081447][T13019] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 452.081447][T13019] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 452.207373][T13019] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 452.207395][T13019] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 452.207408][T13019] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 452.207420][T13019] inconsistency detected - emergency read only at journal seq 10 [ 452.229922][T13017] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.257466][T13019] bcachefs (loop0): flagging btree extents lost data [ 452.346566][T13019] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 452.369235][T13017] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.410460][T13019] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 452.468581][T12939] bcachefs: bch2_fs_get_tree() error: EINTR [ 452.477242][T13019] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 452.525591][T13019] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 452.525611][T13019] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 452.525624][T13019] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 452.605155][T13015] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.658520][T13019] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 452.658520][T13019] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 452.726403][T13022] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.827306][T13019] bcachefs (loop0): scan_for_btree_nodes... [ 452.902562][T13019] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 452.950337][T13019] done [ 452.950496][T13017] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.963830][T13019] bcachefs (loop0): check_topology... [ 452.964803][T13019] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 453.026079][T13019] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 453.099686][T13019] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 453.205225][ T40] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 453.205250][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 453.205264][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 453.270538][T13019] bcachefs (loop0): Topology repair: unreadable btree node at [ 453.270556][T13019] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 453.394723][T13019] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 453.394739][T13019] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 453.439360][T13019] bcachefs (loop0): empty btree root extents [ 453.468665][T13019] done [ 453.478175][T13019] bcachefs (loop0): accounting_read... done [ 453.520332][T13019] bcachefs (loop0): alloc_read... done [ 453.550258][T13019] bcachefs (loop0): snapshots_read... done [ 453.556232][T13019] bcachefs (loop0): check_allocations... [ 453.588128][T13019] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 453.588150][T13019] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 453.714546][T13019] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 453.714565][T13019] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 453.813996][T13019] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 453.814016][T13019] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 453.894830][T13019] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 453.894849][T13019] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 453.998311][T13019] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 453.998330][T13019] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 454.083865][T13019] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.123763][T13019] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.160610][T13019] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.200414][T13019] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.216250][T13053] loop2: detected capacity change from 0 to 32768 [ 454.266552][T13019] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.279764][T13057] loop3: detected capacity change from 0 to 32768 [ 454.317181][T13058] loop4: detected capacity change from 0 to 32768 [ 454.330818][T13059] loop1: detected capacity change from 0 to 32768 [ 454.384486][T13019] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.408656][T13019] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.428263][T13053] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.428362][T13053] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.449636][T13019] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.462346][T13019] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.476011][T13019] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.487576][T13019] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.497601][T13019] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.509264][T13019] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.519435][T13019] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.535877][T13019] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.546018][T13019] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 454.557388][T13019] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.567843][T13019] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.583092][T13019] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.594884][T13019] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.620592][T13019] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.620609][T13019] Ratelimiting new instances of previous error [ 454.638905][T13057] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.639003][T13057] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.664985][T13019] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.665002][T13019] Ratelimiting new instances of previous error [ 454.666678][T13059] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.700795][T13059] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.715566][T13019] done [ 454.718976][T13019] bcachefs (loop0): going read-write [ 454.719187][T13058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.734026][T13019] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 454.744953][T13019] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 454.760291][T13019] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 454.780702][T13019] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 454.810507][T13058] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.830714][T13019] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 454.837355][T13019] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 454.870604][T13019] bcachefs (loop0): shutting down [ 454.886700][T13053] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.959441][T13057] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.108478][T13059] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.133932][T13019] bcachefs (loop0): shutdown complete [ 455.584017][T13058] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/04/27 11:14:28 executed programs: 691 [ 455.924325][T13092] loop3: detected capacity change from 0 to 32768 [ 455.930930][T13090] loop2: detected capacity change from 0 to 32768 [ 456.089138][T13094] loop1: detected capacity change from 0 to 32768 [ 456.253358][T13097] loop4: detected capacity change from 0 to 32768 [ 456.438264][T13090] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.454614][T13092] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 456.454614][T13092] allowing incompatible features above 0.0: (unknown version) [ 456.479518][T13090] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.487936][T13094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.490868][T13092] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 456.505462][T13094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.513727][T13097] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.525784][T13092] bcachefs (loop3): Version upgrade required: [ 456.525784][T13092] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 456.525784][T13092] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 456.525784][T13092] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 456.542841][T13097] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.624807][T13019] bcachefs: bch2_fs_get_tree() error: EINTR [ 456.641659][T13092] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 456.641680][T13092] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 456.641693][T13092] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 456.641705][T13092] inconsistency detected - emergency read only at journal seq 10 [ 456.858476][T13092] bcachefs (loop3): flagging btree extents lost data [ 456.880238][T13092] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 456.901568][T13090] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.910527][T13092] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 457.007759][T13092] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 457.033738][T13097] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.039895][T13094] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.166828][T13092] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 457.166850][T13092] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 457.166864][T13092] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 457.355749][T13092] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 457.355749][T13092] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 457.437664][T13092] bcachefs (loop3): scan_for_btree_nodes... [ 457.526974][T13092] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 457.580436][T13092] done [ 457.583353][T13092] bcachefs (loop3): check_topology... [ 457.596608][T13092] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 457.640352][T13092] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 457.670492][T13092] bcachefs (loop3): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 457.743859][ T40] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 457.743884][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 457.743898][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 457.791011][T13092] bcachefs (loop3): Topology repair: unreadable btree node at [ 457.791029][T13092] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 457.895429][T13126] loop0: detected capacity change from 0 to 32768 [ 457.958195][T13092] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 457.958214][T13092] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 458.017805][T13130] loop4: detected capacity change from 0 to 32768 [ 458.026248][T13092] bcachefs (loop3): empty btree root extents [ 458.032544][T13092] done [ 458.035328][T13092] bcachefs (loop3): accounting_read... [ 458.060014][T13126] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.075183][T13092] done [ 458.077984][T13092] bcachefs (loop3): alloc_read... done [ 458.080823][T13126] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.084216][T13092] bcachefs (loop3): snapshots_read... done [ 458.097757][T13092] bcachefs (loop3): check_allocations... [ 458.112808][T13092] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 458.112829][T13092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 458.180914][T13133] loop1: detected capacity change from 0 to 32768 [ 458.205038][T13128] loop2: detected capacity change from 0 to 32768 [ 458.247039][T13130] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.262544][T13092] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 458.262562][T13092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 458.282200][T13130] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.345129][T13092] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 458.345149][T13092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 458.376342][T13092] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 458.376355][T13092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 458.409784][T13126] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.469401][T13092] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 458.469420][T13092] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 458.503516][T13133] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.503612][T13133] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.518389][T13128] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.518484][T13128] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.707997][T13130] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.751121][T13092] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.777854][T13092] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.828710][T13092] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.874550][T13092] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.924362][T13092] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.940412][T13092] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.956114][T13128] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.962549][T13133] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.064037][T13092] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.110472][T13092] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.195167][T13092] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.246198][T13092] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.287619][T13092] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.340438][T13092] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.385914][T13092] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.411249][T13092] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.453619][T13092] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.490372][T13092] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 459.530611][T13092] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 459.535126][T13163] loop0: detected capacity change from 0 to 32768 [ 459.579210][T13092] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.593805][T13092] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 459.609371][T13092] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.622090][T13092] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 459.622108][T13092] Ratelimiting new instances of previous error [ 459.640115][T13092] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.640232][T13092] Ratelimiting new instances of previous error [ 459.685623][T13163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 459.697953][T13163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 459.751724][T13092] done [ 459.755205][T13092] bcachefs (loop3): going read-write [ 459.773608][T13092] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 459.800252][T13092] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 459.819654][T13092] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 459.839872][T13092] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 459.911683][T13092] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 459.918413][T13092] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 459.957185][T13092] bcachefs (loop3): shutting down [ 459.991658][T13165] loop4: detected capacity change from 0 to 32768 [ 460.026176][T13163] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.072837][T13092] bcachefs (loop3): shutdown complete [ 460.143599][T13169] loop2: detected capacity change from 0 to 32768 [ 460.242088][T13168] loop1: detected capacity change from 0 to 32768 [ 460.569876][T13196] loop0: detected capacity change from 0 to 32768 [ 460.589641][T13169] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.599499][T13165] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 460.599499][T13165] allowing incompatible features above 0.0: (unknown version) [ 460.658803][T13169] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.667142][T13168] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.683091][T13165] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 460.685062][T13168] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.691839][T13165] bcachefs (loop4): Version upgrade required: [ 460.691839][T13165] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 460.691839][T13165] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 460.691839][T13165] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 460.742182][T13092] bcachefs: bch2_fs_get_tree() error: EINTR [ 460.788236][T13165] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 460.788254][T13165] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 460.788268][T13165] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 460.788280][T13165] inconsistency detected - emergency read only at journal seq 10 [ 460.928818][T13165] bcachefs (loop4): flagging btree extents lost data [ 460.950307][T13165] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 460.972525][T13165] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 460.992436][T13196] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 461.013680][T13165] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 461.050331][T13196] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.065619][T13165] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 461.065638][T13165] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 461.065653][T13165] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 461.130963][T13168] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.203551][T13169] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.283375][T13165] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 461.283375][T13165] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 461.389111][T13196] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.402316][T13165] bcachefs (loop4): scan_for_btree_nodes... [ 461.490354][T13165] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 461.520662][T13165] done [ 461.530043][T13165] bcachefs (loop4): check_topology... 2025/04/27 11:14:34 executed programs: 702 [ 461.532544][T13165] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 461.602599][T13165] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 461.660971][T13165] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 461.712538][ T40] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 461.712566][ T40] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 461.712579][ T40] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 461.763749][T13165] bcachefs (loop4): Topology repair: unreadable btree node at [ 461.763769][T13165] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 461.901408][T13165] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 461.901427][T13165] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 461.950565][T13165] bcachefs (loop4): empty btree root extents [ 461.956706][T13165] done [ 461.959481][T13165] bcachefs (loop4): accounting_read... done [ 461.986307][T13165] bcachefs (loop4): alloc_read... done [ 462.020223][T13165] bcachefs (loop4): snapshots_read... done [ 462.035970][T13165] bcachefs (loop4): check_allocations... [ 462.058039][T13165] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 462.058058][T13165] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 462.066099][T13212] loop2: detected capacity change from 0 to 32768 [ 462.100989][T13165] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 462.101009][T13165] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 462.119653][T13209] loop3: detected capacity change from 0 to 32768 [ 462.219998][T13165] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 462.220017][T13165] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 462.299524][T13165] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 462.299544][T13165] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 462.303966][T13209] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.334055][T13165] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 462.334074][T13165] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 462.347277][T13209] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.409906][T13214] loop1: detected capacity change from 0 to 32768 [ 462.413937][T13212] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.414034][T13212] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.551126][T13165] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.570640][T13165] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.600750][T13165] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.620021][T13216] loop0: detected capacity change from 0 to 32768 [ 462.638883][T13214] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.638980][T13214] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.682778][T13165] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.694543][T13165] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.704811][T13165] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.716980][T13165] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.727744][T13165] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.740416][T13165] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.750819][T13165] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.765660][T13165] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.777022][T13165] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.788968][T13165] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.803347][T13165] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.815557][T13209] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.851151][T13212] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.877020][T13165] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.890735][T13216] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.890855][T13216] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.976436][T13165] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 463.011158][T13165] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.038380][T13165] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.071178][T13165] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.104442][T13165] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.127769][T13165] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.127787][T13165] Ratelimiting new instances of previous error [ 463.129672][T13214] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.185679][T13165] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.185707][T13165] Ratelimiting new instances of previous error [ 463.308972][T13216] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.355715][T13165] done [ 463.397728][T13165] bcachefs (loop4): going read-write [ 463.428117][T13165] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 463.461625][T13165] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 463.490306][T13165] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 463.515118][T13165] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 463.591211][T13165] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 463.597863][T13165] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 463.645459][T13165] bcachefs (loop4): shutting down [ 463.812772][T13165] bcachefs (loop4): shutdown complete [ 463.989632][T13246] loop3: detected capacity change from 0 to 32768 [ 464.154719][T13248] loop2: detected capacity change from 0 to 32768 [ 464.209856][T13251] loop1: detected capacity change from 0 to 32768 [ 464.281901][T13253] loop0: detected capacity change from 0 to 32768 [ 464.556965][T13251] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.569060][T13246] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 464.569060][T13246] allowing incompatible features above 0.0: (unknown version) [ 464.601042][T13251] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.610420][T13246] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 464.610646][T13246] bcachefs (loop3): Version upgrade required: [ 464.610646][T13246] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 464.610646][T13246] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 464.610646][T13246] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 464.619705][T13253] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.718964][T13253] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.733009][T13248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.742714][T13248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.769374][T13165] bcachefs: bch2_fs_get_tree() error: EINTR [ 464.792633][T13246] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 464.792654][T13246] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 464.792667][T13246] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 464.792679][T13246] inconsistency detected - emergency read only at journal seq 10 [ 465.006907][T13246] bcachefs (loop3): flagging btree extents lost data [ 465.044717][T13246] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 465.067106][T13253] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.086441][T13246] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 465.099076][T13251] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.125283][T13248] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.158772][T13246] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 465.248675][T13246] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 465.248695][T13246] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 465.248708][T13246] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 465.420575][T13246] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 465.420575][T13246] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 465.494141][T13246] bcachefs (loop3): scan_for_btree_nodes... [ 465.558086][T13246] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 465.600209][T13246] done [ 465.603026][T13246] bcachefs (loop3): check_topology... [ 465.635631][T13246] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 465.660620][T13246] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 465.690954][T13246] bcachefs (loop3): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 465.752645][ T25] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 465.752670][ T25] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 465.752684][ T25] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 465.793877][T13246] bcachefs (loop3): Topology repair: unreadable btree node at [ 465.793896][T13246] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 465.860860][T13246] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 465.860878][T13246] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 465.898561][T13246] bcachefs (loop3): empty btree root extents [ 465.906000][T13283] loop4: detected capacity change from 0 to 32768 [ 465.921295][T13246] done [ 465.924441][T13246] bcachefs (loop3): accounting_read... done [ 465.952051][T13246] bcachefs (loop3): alloc_read... done [ 465.957856][T13246] bcachefs (loop3): snapshots_read... done [ 465.991093][T13246] bcachefs (loop3): check_allocations... [ 466.009780][T13246] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 466.009801][T13246] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 466.074239][T13283] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.074337][T13283] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.162262][T13288] loop0: detected capacity change from 0 to 32768 [ 466.283464][T13290] loop2: detected capacity change from 0 to 32768 [ 466.299985][T13288] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.309581][T13288] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.340875][T13246] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 466.340894][T13246] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 466.421519][T13287] loop1: detected capacity change from 0 to 32768 [ 466.440789][T13246] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree