4s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 397.562334][T11387] loop2: detected capacity change from 0 to 32768 [ 397.602267][T11345] bcachefs (loop1): empty btree root extents [ 397.627716][T11345] done [ 397.651488][T11345] bcachefs (loop1): accounting_read... done [ 397.692067][T11345] bcachefs (loop1): alloc_read... done [ 397.722400][T11345] bcachefs (loop1): snapshots_read... done [ 397.735006][T11382] loop3: detected capacity change from 0 to 32768 [ 397.738224][T11384] loop4: detected capacity change from 0 to 32768 [ 397.761861][T11345] bcachefs (loop1): check_allocations... [ 397.789512][T11345] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 397.789533][T11345] 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 [ 397.795937][T11387] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 397.796064][T11387] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 397.796151][T11387] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 397.934406][T11384] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 397.964926][T11384] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.006872][T11382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 398.018217][T11384] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.028372][T11345] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 398.028389][T11345] 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 [ 398.081647][T11382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.099036][T11382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.149314][T11345] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 398.149333][T11345] 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 [ 398.191940][T11387] bcachefs: bch2_fs_get_tree() error: EINVAL [ 398.264925][T11389] loop0: detected capacity change from 0 to 32768 [ 398.306616][T11345] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 398.306636][T11345] 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 [ 398.455837][T11389] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 398.468412][T11389] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.477974][T11389] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.497321][T11345] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree 2025/05/08 08:58:56 executed programs: 506 [ 398.497340][T11345] 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 [ 398.517388][T11384] bcachefs: bch2_fs_get_tree() error: EINVAL [ 398.518570][T11382] bcachefs: bch2_fs_get_tree() error: EINVAL [ 398.674492][T11345] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.700804][T11345] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.768656][T11345] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.801838][T11345] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.851183][T11345] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.888977][T11345] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.940797][T11345] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.988783][T11345] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.010422][T11389] bcachefs: bch2_fs_get_tree() error: EINVAL [ 399.025734][T11345] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.056194][T11345] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.117984][T11345] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.173584][T11345] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.208407][T11345] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.233007][T11345] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 399.267873][T11345] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 399.307665][T11345] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 399.337840][T11345] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 399.367805][T11345] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 399.407937][T11345] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 399.447698][T11345] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 399.484363][T11345] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 399.484381][T11345] Ratelimiting new instances of previous error [ 399.511356][T11419] loop2: detected capacity change from 0 to 32768 [ 399.578295][T11345] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 399.578314][T11345] Ratelimiting new instances of previous error [ 399.611258][T11345] done [ 399.614782][T11345] bcachefs (loop1): going read-write [ 399.632455][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 399.637713][T11345] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 399.644653][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 399.664697][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 399.701554][T11345] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 399.747234][T11345] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 399.777594][T11345] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 399.849263][T11345] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 399.890450][T11345] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 399.916145][T11345] bcachefs (loop1): shutting down [ 399.922467][T11422] loop3: detected capacity change from 0 to 32768 [ 400.027345][T11423] loop4: detected capacity change from 0 to 32768 [ 400.050165][T11345] bcachefs (loop1): shutdown complete [ 400.077740][T11419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 400.126575][T11425] loop0: detected capacity change from 0 to 32768 [ 400.443781][T11422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 400.537855][T11423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 400.571743][T11422] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 400.571743][T11422] allowing incompatible features above 0.0: (unknown version) [ 400.623254][T11425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 400.635365][T11423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 400.667999][T11423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 400.668939][T11422] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 400.687667][T11425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 400.707820][T11422] bcachefs (loop3): Version upgrade required: [ 400.707820][T11422] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 400.707820][T11422] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 400.707820][T11422] 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 [ 400.717365][T11425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 400.797229][T11452] loop2: detected capacity change from 0 to 32768 [ 400.822600][T11422] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 400.822619][T11422] 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 [ 400.822632][T11422] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 400.822645][T11422] error not marked as autofix and not in fsck [ 400.822654][T11422] run fsck, and forward to devs so error can be marked for self-healing [ 400.822665][T11422] inconsistency detected - emergency read only at journal seq 10 [ 400.959747][T11452] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 400.959876][T11452] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 400.959966][T11452] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 400.968322][T11345] bcachefs: bch2_fs_get_tree() error: EINTR [ 401.040499][T11422] bcachefs (loop3): flagging btree extents lost data [ 401.047432][T11422] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 401.065652][T11422] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 401.128533][T11422] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 401.180969][T11423] bcachefs: bch2_fs_get_tree() error: EINVAL [ 401.191678][T11422] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 401.191698][T11422] 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 [ 401.191712][T11422] 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 [ 401.368402][T11422] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 401.368402][T11422] 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 [ 401.404740][T11452] bcachefs: bch2_fs_get_tree() error: EINVAL [ 401.433109][T11422] bcachefs (loop3): scan_for_btree_nodes... [ 401.433481][T11425] bcachefs: bch2_fs_get_tree() error: EINVAL [ 401.612158][T11422] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 401.636591][T11422] done [ 401.646340][T11422] bcachefs (loop3): check_topology... [ 401.651609][T11422] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 401.707157][T11422] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 401.741375][T11422] 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 [ 401.789953][ T45] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 401.789980][ T45] 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 [ 401.789993][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 401.790003][ T45] error not marked as autofix and not in fsck [ 401.790011][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 401.860892][T11422] bcachefs (loop3): Topology repair: unreadable btree node at [ 401.860910][T11422] 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 [ 402.006420][T11422] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 402.006440][T11422] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 402.067696][T11422] bcachefs (loop3): empty btree root extents [ 402.082517][T11466] loop1: detected capacity change from 0 to 32768 [ 402.091403][T11422] done [ 402.097612][T11422] bcachefs (loop3): accounting_read... done [ 402.115150][T11422] bcachefs (loop3): alloc_read... done [ 402.121353][T11422] bcachefs (loop3): snapshots_read... done [ 402.142390][T11422] bcachefs (loop3): check_allocations... [ 402.154899][T11422] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 402.154920][T11422] 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 [ 402.230351][T11422] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 402.230371][T11422] 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 [ 402.242651][T11466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 402.242767][T11466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 402.279738][T11422] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 402.279755][T11422] 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 [ 402.289577][T11466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 402.436320][T11422] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 402.436340][T11422] 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 [ 402.514839][T11468] loop4: detected capacity change from 0 to 32768 [ 402.625057][T11422] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 402.625076][T11422] 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 [ 402.692344][T11472] loop0: detected capacity change from 0 to 32768 [ 402.767256][T11468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 402.767416][T11468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 402.784948][T11470] loop2: detected capacity change from 0 to 32768 [ 402.796672][T11468] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 402.865351][T11422] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.894494][T11422] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.922863][T11422] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.927934][T11466] bcachefs: bch2_fs_get_tree() error: EINVAL [ 402.947536][T11422] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.987956][T11422] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.001905][T11472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 403.002032][T11472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 403.002126][T11472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 403.082601][T11470] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 403.082727][T11470] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 403.082817][T11470] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 403.258667][T11422] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.313853][T11422] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.347692][T11422] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.387991][T11422] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.417879][T11422] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.418393][T11468] bcachefs: bch2_fs_get_tree() error: EINVAL [ 403.439158][T11472] bcachefs: bch2_fs_get_tree() error: EINVAL [ 403.447865][T11422] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.488839][T11422] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.501358][T11470] bcachefs: bch2_fs_get_tree() error: EINVAL [ 403.573306][T11422] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.613540][T11422] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 403.665759][T11422] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 403.735968][T11422] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing 2025/05/08 08:59:01 executed programs: 516 [ 403.777869][T11422] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.807789][T11422] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 403.850631][T11422] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.897647][T11422] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 403.945698][T11422] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 403.945716][T11422] Ratelimiting new instances of previous error [ 404.007485][T11422] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 404.007503][T11422] Ratelimiting new instances of previous error [ 404.087890][T11422] done [ 404.102322][T11422] bcachefs (loop3): going read-write [ 404.128789][T11422] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 404.157583][T11422] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 404.186867][T11422] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 404.217586][T11422] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 404.244449][T11502] loop1: detected capacity change from 0 to 32768 [ 404.259025][T11422] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 404.296453][T11422] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 404.316660][T11422] bcachefs (loop3): shutting down [ 404.463513][T11506] loop0: detected capacity change from 0 to 32768 [ 404.481913][T11502] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 404.509497][T11422] bcachefs (loop3): shutdown complete [ 404.517025][T11502] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 404.517025][T11502] allowing incompatible features above 0.0: (unknown version) [ 404.540263][T11502] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 404.548729][T11502] bcachefs (loop1): Version upgrade required: [ 404.548729][T11502] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 404.548729][T11502] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 404.548729][T11502] 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 [ 404.697388][T11504] loop4: detected capacity change from 0 to 32768 [ 404.766425][T11506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 404.799371][T11502] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 404.799389][T11502] 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 [ 404.799403][T11502] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 404.799414][T11502] error not marked as autofix and not in fsck [ 404.799423][T11502] run fsck, and forward to devs so error can be marked for self-healing [ 404.799433][T11502] inconsistency detected - emergency read only at journal seq 10 [ 404.820401][T11506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 404.820496][T11506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 404.879659][T11508] loop2: detected capacity change from 0 to 32768 [ 404.962758][T11502] bcachefs (loop1): flagging btree extents lost data [ 404.969566][T11502] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 404.997621][T11502] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 405.037164][T11504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 405.081576][T11502] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 405.101584][T11504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 405.101678][T11504] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 405.141444][T11508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 405.167995][T11508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 405.178298][T11508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 405.191333][T11422] bcachefs: bch2_fs_get_tree() error: EINTR [ 405.222245][T11502] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 405.222264][T11502] 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 [ 405.222278][T11502] 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 [ 405.272688][T11502] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 405.272688][T11502] 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 [ 405.371102][T11506] bcachefs: bch2_fs_get_tree() error: EINVAL [ 405.416150][T11502] bcachefs (loop1): scan_for_btree_nodes... [ 405.489737][T11502] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 405.537797][T11502] done [ 405.540606][T11502] bcachefs (loop1): check_topology... [ 405.551333][T11502] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 405.598103][T11502] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 405.609622][T11504] bcachefs: bch2_fs_get_tree() error: EINVAL [ 405.665644][T11502] bcachefs (loop1): 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 [ 405.698210][T11508] bcachefs: bch2_fs_get_tree() error: EINVAL [ 405.759279][ T2436] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 405.759305][ T2436] 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 [ 405.759319][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 405.759331][ T2436] error not marked as autofix and not in fsck [ 405.759341][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 405.840271][T11502] bcachefs (loop1): Topology repair: unreadable btree node at [ 405.840289][T11502] 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 [ 405.905919][T11502] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 405.905938][T11502] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 405.985026][T11502] bcachefs (loop1): empty btree root extents [ 406.017786][T11502] done [ 406.027733][T11502] bcachefs (loop1): accounting_read... done [ 406.056298][T11502] bcachefs (loop1): alloc_read... done [ 406.073054][T11502] bcachefs (loop1): snapshots_read... done [ 406.087548][T11502] bcachefs (loop1): check_allocations... [ 406.110329][T11502] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 406.110351][T11502] 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 [ 406.287893][T11502] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 406.287913][T11502] 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 [ 406.358692][T11502] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 406.358712][T11502] 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 [ 406.443519][T11502] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 406.443538][T11502] 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 [ 406.552427][T11502] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 406.552446][T11502] 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 [ 406.599727][T11540] loop3: detected capacity change from 0 to 32768 [ 406.625800][T11502] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.639055][T11542] loop0: detected capacity change from 0 to 32768 [ 406.639685][T11544] loop4: detected capacity change from 0 to 32768 [ 406.674209][T11502] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.693325][T11502] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.710923][T11502] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.724127][T11502] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.734744][T11502] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.747181][T11502] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.866463][T11546] loop2: detected capacity change from 0 to 32768 [ 406.899305][T11502] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.911309][T11502] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.955985][T11542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 406.956112][T11542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 406.956200][T11542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 406.983432][T11544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 406.983568][T11544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 406.983656][T11544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 407.007844][T11540] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 407.007969][T11540] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 407.008057][T11540] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 407.108979][T11546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 407.109109][T11546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 407.109197][T11546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 407.358260][T11502] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.404371][T11502] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.427350][T11540] bcachefs: bch2_fs_get_tree() error: EINVAL [ 407.442165][T11546] bcachefs: bch2_fs_get_tree() error: EINVAL [ 407.457807][T11544] bcachefs: bch2_fs_get_tree() error: EINVAL [ 407.485613][T11542] bcachefs: bch2_fs_get_tree() error: EINVAL [ 407.537740][T11502] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.568717][T11502] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.607977][T11502] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 407.680404][T11502] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 407.712031][T11502] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 407.769617][T11502] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 407.798981][T11502] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 407.832321][T11502] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 407.882371][T11502] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 407.923982][T11502] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 407.924000][T11502] Ratelimiting new instances of previous error [ 408.000705][T11502] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 408.000723][T11502] Ratelimiting new instances of previous error [ 408.129078][T11502] done [ 408.140395][T11502] bcachefs (loop1): going read-write [ 408.156919][T11502] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 408.179947][T11502] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 408.200944][T11502] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 408.226216][T11502] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 408.296157][T11502] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 408.317507][T11502] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 408.349362][T11502] bcachefs (loop1): shutting down [ 408.462288][T11502] bcachefs (loop1): shutdown complete [ 408.582455][T11576] loop0: detected capacity change from 0 to 32768 [ 408.653204][T11582] loop2: detected capacity change from 0 to 32768 [ 408.673476][T11580] loop3: detected capacity change from 0 to 32768 [ 408.866633][T11579] loop4: detected capacity change from 0 to 32768 [ 409.130316][T11582] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.135376][T11580] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.147775][T11576] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.192708][T11579] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.197831][T11576] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.213626][T11580] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 409.213626][T11580] allowing incompatible features above 0.0: (unknown version) [ 409.236407][T11580] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 409.244568][T11580] bcachefs (loop3): Version upgrade required: [ 409.244568][T11580] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 409.244568][T11580] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 409.244568][T11580] 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 [ 409.257202][T11576] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 409.331188][T11580] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 409.331207][T11580] 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 [ 409.331221][T11580] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 409.331249][T11580] error not marked as autofix and not in fsck [ 409.331259][T11580] run fsck, and forward to devs so error can be marked for self-healing [ 409.331269][T11580] inconsistency detected - emergency read only at journal seq 10 [ 409.337583][T11579] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.349115][T11580] bcachefs (loop3): flagging btree extents lost data [ 409.367916][T11579] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 409.390624][T11582] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.391114][T11580] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 409.427777][T11582] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 409.453555][T11580] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 409.468225][T11580] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 409.497694][T11580] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 409.497712][T11580] 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 [ 409.497725][T11580] 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 [ 409.568994][T11580] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 409.568994][T11580] 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 [ 409.573574][T11502] bcachefs: bch2_fs_get_tree() error: EINTR [ 409.642313][T11580] bcachefs (loop3): scan_for_btree_nodes... [ 409.655348][T11579] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/05/08 08:59:07 executed programs: 527 [ 409.705012][T11580] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 409.737565][T11580] done [ 409.740390][T11580] bcachefs (loop3): check_topology... [ 409.767722][T11580] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 409.858522][T11580] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 409.912357][T11580] 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 [ 409.967869][T11582] bcachefs: bch2_fs_get_tree() error: EINVAL [ 409.997192][ T2436] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 409.997218][ T2436] 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 [ 409.997231][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 409.997244][ T2436] error not marked as autofix and not in fsck [ 409.997254][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 410.062181][T11580] bcachefs (loop3): Topology repair: unreadable btree node at [ 410.062199][T11580] 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 [ 410.085621][T11576] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.274008][T11580] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 410.274026][T11580] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 410.334593][T11580] bcachefs (loop3): empty btree root extents [ 410.371617][T11580] done [ 410.374431][T11580] bcachefs (loop3): accounting_read... done [ 410.406999][T11580] bcachefs (loop3): alloc_read... done [ 410.433441][T11580] bcachefs (loop3): snapshots_read... done [ 410.461969][T11580] bcachefs (loop3): check_allocations... [ 410.464401][T11580] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 410.464419][T11580] 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 [ 410.509795][T11614] loop1: detected capacity change from 0 to 32768 [ 410.583896][T11580] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 410.583915][T11580] 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 [ 410.635513][T11614] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.635638][T11614] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.635731][T11614] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.899584][T11580] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 410.899605][T11580] 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 [ 410.961970][T11618] loop0: detected capacity change from 0 to 32768 [ 410.991391][T11614] bcachefs: bch2_fs_get_tree() error: EINVAL [ 411.040464][T11580] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 411.040482][T11580] 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.083291][T11580] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 411.083310][T11580] 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 [ 411.118843][T11580] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.129123][T11580] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.141028][T11580] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.151271][T11580] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.163946][T11580] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.213243][T11618] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.213365][T11618] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.213449][T11618] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.286347][T11616] loop4: detected capacity change from 0 to 32768 [ 411.343990][T11580] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.356019][T11580] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.392535][T11580] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.436035][T11580] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.479465][T11580] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.529008][T11627] loop2: detected capacity change from 0 to 32768 [ 411.558326][T11580] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.591643][T11616] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.591767][T11616] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.591853][T11616] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.637011][T11618] bcachefs: bch2_fs_get_tree() error: EINVAL [ 411.677529][T11580] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.691293][T11580] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.694273][T11627] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.727538][T11580] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.792915][T11627] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.793005][T11627] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.938353][T11580] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.959633][T11580] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 412.026674][T11580] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.064076][T11580] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.085340][T11580] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.096658][T11580] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.110094][T11616] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.143894][T11580] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 412.143915][T11580] Ratelimiting new instances of previous error [ 412.233896][T11580] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 412.233915][T11580] Ratelimiting new instances of previous error [ 412.252534][T11627] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.378199][T11580] done [ 412.387117][T11580] bcachefs (loop3): going read-write [ 412.403325][T11580] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 412.427572][T11580] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 412.456453][T11580] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 412.476457][T11580] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 412.559045][T11580] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 412.574487][T11650] loop1: detected capacity change from 0 to 32768 [ 412.586637][T11580] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 412.611976][T11580] bcachefs (loop3): shutting down [ 412.768867][T11652] loop0: detected capacity change from 0 to 32768 [ 412.780533][T11580] bcachefs (loop3): shutdown complete [ 413.071023][T11655] loop4: detected capacity change from 0 to 32768 [ 413.094240][T11650] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.136749][T11662] loop2: detected capacity change from 0 to 32768 [ 413.198748][T11652] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.255154][T11652] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.289439][T11650] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 413.289439][T11650] allowing incompatible features above 0.0: (unknown version) [ 413.316250][T11652] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.333456][T11650] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 413.356832][T11650] bcachefs (loop1): Version upgrade required: [ 413.356832][T11650] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 413.356832][T11650] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 413.356832][T11650] 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 [ 413.459770][T11650] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 413.459789][T11650] 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 [ 413.459802][T11650] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 413.459815][T11650] error not marked as autofix and not in fsck [ 413.459824][T11650] run fsck, and forward to devs so error can be marked for self-healing [ 413.459835][T11650] inconsistency detected - emergency read only at journal seq 10 [ 413.490197][T11662] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.546241][T11655] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.567667][T11650] bcachefs (loop1): flagging btree extents lost data [ 413.574426][T11650] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 413.598131][T11580] bcachefs: bch2_fs_get_tree() error: EINTR [ 413.598742][T11655] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.634215][T11650] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 413.655705][T11655] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.696782][T11652] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.701652][T11662] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.738318][T11662] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.778304][T11650] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 413.918322][T11650] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 413.918342][T11650] 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 [ 413.918355][T11650] 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 [ 414.048132][T11650] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 414.048132][T11650] 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 [ 414.110187][T11655] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.151464][T11650] bcachefs (loop1): scan_for_btree_nodes... [ 414.187947][T11662] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.204120][T11650] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 414.233187][T11650] done [ 414.249973][T11650] bcachefs (loop1): check_topology... [ 414.250984][T11650] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 414.303193][T11650] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 414.382432][T11650] bcachefs (loop1): 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 [ 414.470149][ T2436] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 414.470175][ T2436] 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 [ 414.470188][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 414.470200][ T2436] error not marked as autofix and not in fsck [ 414.470210][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 414.558341][T11650] bcachefs (loop1): Topology repair: unreadable btree node at [ 414.558360][T11650] 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 [ 414.645979][T11650] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 414.646000][T11650] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 414.656204][T11687] loop3: detected capacity change from 0 to 32768 [ 414.741645][T11650] bcachefs (loop1): empty btree root extents [ 414.747993][T11650] done [ 414.750873][T11650] bcachefs (loop1): accounting_read... done [ 414.757015][T11650] bcachefs (loop1): alloc_read... done [ 414.782385][T11650] bcachefs (loop1): snapshots_read... done [ 414.820786][T11687] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.821907][T11650] bcachefs (loop1): check_allocations... [ 414.847941][T11687] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.878716][T11650] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 414.878736][T11650] 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 [ 414.927757][T11687] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.054347][T11650] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 415.054367][T11650] 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 [ 415.129764][T11650] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 415.129791][T11650] 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 [ 415.185303][T11689] loop0: detected capacity change from 0 to 32768 [ 415.203584][T11687] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.303377][T11650] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 415.303396][T11650] 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 [ 415.337148][T11689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.337275][T11689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.337365][T11689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.429627][T11692] loop4: detected capacity change from 0 to 32768 [ 415.623115][T11650] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 415.623134][T11650] 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 2025/05/08 08:59:13 executed programs: 539 [ 415.635651][T11692] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.635782][T11692] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.635869][T11692] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.681608][T11695] loop2: detected capacity change from 0 to 32768 [ 415.714611][T11689] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.906552][T11695] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.917915][T11695] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.927132][T11695] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.962429][T11650] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.988295][T11650] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.035738][T11650] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.082627][T11650] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.120109][T11650] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.132313][T11692] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.178460][T11650] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.210423][T11650] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.253850][T11650] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.280176][T11695] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.324011][T11650] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.396737][T11650] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.416733][T11717] loop3: detected capacity change from 0 to 32768 [ 416.462387][T11650] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.493027][T11650] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.547772][T11650] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.562380][T11650] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 416.575521][T11650] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 416.592742][T11650] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 416.655021][T11650] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.717231][T11650] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.730811][T11717] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.730939][T11717] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.731030][T11717] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.847892][T11650] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.887702][T11650] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.918474][T11650] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.918491][T11650] Ratelimiting new instances of previous error [ 416.967711][T11650] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.967729][T11650] Ratelimiting new instances of previous error [ 417.044338][T11717] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.072257][T11650] done [ 417.075728][T11650] bcachefs (loop1): going read-write [ 417.104548][T11650] bcachefs (loop1): journal_replay... [ 417.104655][T11650] bcachefs (loop1): bch2_journal_replay(): error journal_shutdown [ 417.155940][T11726] loop0: detected capacity change from 0 to 32768 [ 417.158561][T11650] bcachefs (loop1): bch2_fs_recovery(): error journal_shutdown [ 417.170231][ T6483] bcachefs (loop1): going read-only [ 417.175461][ T6483] bcachefs (loop1): finished waiting for writes to stop [ 417.213420][T11650] bcachefs (loop1): bch2_fs_start(): error starting filesystem journal_shutdown [ 417.242151][ T6483] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 417.264591][T11650] bcachefs (loop1): shutting down [ 417.277680][ T6483] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 417.308915][T11735] loop4: detected capacity change from 0 to 32768 [ 417.315737][ T6483] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 417.377674][T11726] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.405726][ T6483] bcachefs (loop1): done going read-only, filesystem not clean [ 417.431319][T11737] loop2: detected capacity change from 0 to 32768 [ 417.439688][T11726] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.468006][T11726] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.560871][T11650] bcachefs (loop1): shutdown complete [ 417.862202][T11735] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.875466][T11737] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.894044][T11726] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.971801][T11735] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.987250][T11737] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 417.987250][T11737] allowing incompatible features above 0.0: (unknown version) [ 418.032506][T11735] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.081142][T11737] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 418.134990][T11737] bcachefs (loop2): Version upgrade required: [ 418.134990][T11737] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 418.134990][T11737] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 418.134990][T11737] 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.264938][T11650] bcachefs: bch2_fs_get_tree() error: journal_shutdown [ 418.284418][T11737] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 418.284437][T11737] 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 [ 418.284450][T11737] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 418.284462][T11737] error not marked as autofix and not in fsck [ 418.284472][T11737] run fsck, and forward to devs so error can be marked for self-healing [ 418.284489][T11737] inconsistency detected - emergency read only at journal seq 10 [ 418.359263][T11750] loop3: detected capacity change from 0 to 32768 [ 418.475398][T11735] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.518741][T11750] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 418.540055][T11750] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 418.560929][T11737] bcachefs (loop2): flagging btree extents lost data [ 418.600422][T11737] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 418.628615][T11750] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.655560][T11737] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 418.724902][T11737] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 418.764757][T11737] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 418.764775][T11737] 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 [ 418.764789][T11737] 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 [ 418.920984][T11737] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 418.920984][T11737] 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.014577][T11750] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.029700][T11737] bcachefs (loop2): scan_for_btree_nodes... [ 419.094486][T11737] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 419.137771][T11737] done [ 419.141567][T11737] bcachefs (loop2): check_topology... [ 419.142713][T11737] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 419.177836][T11737] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 419.205851][T11737] 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 [ 419.256729][ T45] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 419.256756][ T45] 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.256769][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 419.256782][ T45] error not marked as autofix and not in fsck [ 419.256792][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 419.323228][T11737] bcachefs (loop2): Topology repair: unreadable btree node at [ 419.323247][T11737] 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 [ 419.367782][T11737] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 419.367800][T11737] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 419.387051][T11765] loop0: detected capacity change from 0 to 32768 [ 419.461202][T11737] bcachefs (loop2): empty btree root extents [ 419.470618][T11737] done [ 419.473582][T11737] bcachefs (loop2): accounting_read... done [ 419.517558][T11737] bcachefs (loop2): alloc_read... done [ 419.533495][T11737] bcachefs (loop2): snapshots_read... done [ 419.549828][T11737] bcachefs (loop2): check_allocations... [ 419.576135][T11737] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 419.576155][T11737] 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 [ 419.590849][T11765] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.591000][T11765] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.591090][T11765] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.607850][T11777] loop4: detected capacity change from 0 to 32768 [ 419.709295][T11774] loop1: detected capacity change from 0 to 32768 [ 419.939318][T11777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.939448][T11777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.939541][T11777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.030627][T11765] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.053485][T11774] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 420.053607][T11774] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 420.053688][T11774] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.328598][T11737] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 420.328618][T11737] 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.398217][T11783] loop3: detected capacity change from 0 to 32768 [ 420.402791][T11777] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.476117][T11774] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.550562][T11737] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 420.550581][T11737] 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.639285][T11737] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 420.639305][T11737] 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.642793][T11783] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 420.677155][T11783] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 420.687916][T11783] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.715936][T11737] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree 2025/05/08 08:59:18 executed programs: 549 [ 420.715955][T11737] 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.835939][T11737] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.866897][T11737] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.907307][T11737] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.937225][T11737] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.006380][T11737] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.045902][T11783] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.077823][T11737] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.112932][T11737] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.148949][T11737] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.214088][T11737] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.247886][T11737] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.287926][T11737] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.307767][T11737] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.340538][T11737] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.381111][T11737] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.428250][T11737] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.449137][T11737] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 421.468766][T11737] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 421.481580][T11807] loop0: detected capacity change from 0 to 32768 [ 421.554013][T11737] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 421.585979][T11807] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.586117][T11807] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.586209][T11807] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.641506][T11737] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 421.652347][T11737] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 421.664963][T11737] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 421.664981][T11737] Ratelimiting new instances of previous error [ 421.665644][T11811] loop4: detected capacity change from 0 to 32768 [ 421.697617][T11737] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 421.697639][T11737] Ratelimiting new instances of previous error [ 421.783091][T11737] done [ 421.789406][T11813] loop1: detected capacity change from 0 to 32768 [ 421.794624][T11737] bcachefs (loop2): going read-write [ 421.842021][T11737] bcachefs (loop2): bch2_copygc_start(): error creating copygc thread EINTR [ 421.867578][T11737] bcachefs (loop2): __bch2_fs_read_write(): error error starting copygc thread EINTR [ 421.884701][T11737] bcachefs (loop2): going read-only [ 421.942919][T11737] bcachefs (loop2): finished waiting for writes to stop [ 422.001561][T11811] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.027605][T11737] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 422.036459][T11737] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 422.060928][T11811] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.075528][T11815] loop3: detected capacity change from 0 to 32768 [ 422.083800][T11811] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.103505][T11737] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 422.160963][T11737] bcachefs (loop2): done going read-only, filesystem not clean [ 422.173550][T11807] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.175814][T11813] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.217382][T11813] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.223736][T11737] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 422.234454][T11737] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 422.242821][T11737] bcachefs (loop2): shutting down [ 422.292706][T11815] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.310620][T11813] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.409860][T11737] bcachefs (loop2): shutdown complete [ 422.453966][T11815] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 422.453966][T11815] allowing incompatible features above 0.0: (unknown version) [ 422.517819][T11811] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.537916][T11815] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 422.546091][T11815] bcachefs (loop3): Version upgrade required: [ 422.546091][T11815] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 422.546091][T11815] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 422.546091][T11815] 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.739202][T11813] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.805354][T11815] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 422.805374][T11815] 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.805387][T11815] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 422.805399][T11815] error not marked as autofix and not in fsck [ 422.805409][T11815] run fsck, and forward to devs so error can be marked for self-healing [ 422.805420][T11815] inconsistency detected - emergency read only at journal seq 10 [ 422.867115][T11737] bcachefs: bch2_fs_get_tree() error: EINTR [ 423.075162][T11815] bcachefs (loop3): flagging btree extents lost data [ 423.097776][T11815] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 423.142863][T11815] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 423.211565][T11815] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 423.265552][T11815] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 423.265571][T11815] 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 [ 423.265585][T11815] 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 [ 423.427960][T11815] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 423.427960][T11815] 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 [ 423.533390][T11815] bcachefs (loop3): scan_for_btree_nodes... [ 423.562781][T11815] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 423.587064][T11815] done [ 423.597506][T11815] bcachefs (loop3): check_topology... [ 423.603548][T11815] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 423.642837][T11847] loop0: detected capacity change from 0 to 32768 [ 423.651167][T11815] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 423.672113][T11815] 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.724271][ T2436] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 423.724298][ T2436] 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.724312][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 423.724323][ T2436] error not marked as autofix and not in fsck [ 423.724333][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 423.731100][T11849] loop4: detected capacity change from 0 to 32768 [ 423.797285][T11815] bcachefs (loop3): Topology repair: unreadable btree node at [ 423.797303][T11815] 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 [ 423.841992][T11853] loop2: detected capacity change from 0 to 32768 [ 423.863463][T11815] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 423.863482][T11815] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 423.944857][T11815] bcachefs (loop3): empty btree root extents [ 423.985676][T11847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.000629][T11815] done [ 424.003482][T11815] bcachefs (loop3): accounting_read... done [ 424.009754][T11815] bcachefs (loop3): alloc_read... done [ 424.016118][T11815] bcachefs (loop3): snapshots_read... done [ 424.022614][T11847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.056491][T11847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.069226][T11851] loop1: detected capacity change from 0 to 32768 [ 424.088471][T11853] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.099764][T11815] bcachefs (loop3): check_allocations... [ 424.100352][T11853] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.115552][T11853] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.156475][T11815] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 424.156494][T11815] 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 [ 424.184400][T11849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.184521][T11849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.184612][T11849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.332857][T11851] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.332986][T11851] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.333076][T11851] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.613688][T11849] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.638314][T11853] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.651751][T11847] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.807836][T11815] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 424.807856][T11815] 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 [ 424.817749][T11851] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.967834][T11815] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 424.967854][T11815] 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 [ 425.109244][T11815] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 425.109264][T11815] 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 [ 425.202964][T11815] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 425.202984][T11815] 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 [ 425.338927][T11815] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.377728][T11815] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.438110][T11815] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.494391][T11815] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.541965][T11815] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.571308][T11815] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.607985][T11815] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.621452][T11884] loop0: detected capacity change from 0 to 32768 [ 425.678288][T11815] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.702155][T11815] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.715468][T11815] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.730127][T11815] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.744685][T11815] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.783036][T11815] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 425.819833][T11884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.819965][T11884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.820057][T11884] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.896666][T11887] loop4: detected capacity change from 0 to 32768 [ 425.925494][T11815] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 425.937237][T11815] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.019531][T11815] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 426.038134][T11815] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 426.065792][T11815] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 426.084634][T11815] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 426.095520][T11815] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 426.108890][T11815] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 426.108907][T11815] Ratelimiting new instances of previous error [ 426.125405][T11887] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.141974][T11888] loop2: detected capacity change from 0 to 32768 [ 426.155082][T11815] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 426.155100][T11815] Ratelimiting new instances of previous error [ 426.197143][T11890] loop1: detected capacity change from 0 to 32768 [ 426.202703][T11887] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.202794][T11887] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.230467][T11888] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.230592][T11888] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.230680][T11888] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.411257][T11884] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.550593][T11890] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.563247][T11890] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.575770][T11890] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.602219][T11815] done [ 426.605649][T11815] bcachefs (loop3): going read-write [ 426.678087][T11815] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 426.718792][T11887] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.719649][T11815] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 426.751092][T11888] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.778382][T11815] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 426.807356][T11815] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 426.851182][T11815] bcachefs (loop3): bch2_fs_recovery(): error EINTR 2025/05/08 08:59:24 executed programs: 560 [ 426.907692][T11815] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 426.915818][T11815] bcachefs (loop3): shutting down [ 427.047396][T11890] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.149395][T11815] bcachefs (loop3): shutdown complete [ 427.737059][T11921] loop0: detected capacity change from 0 to 32768 [ 427.780934][T11923] loop4: detected capacity change from 0 to 32768 [ 427.895644][T11925] loop2: detected capacity change from 0 to 32768 [ 428.065794][T11921] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.106579][T11927] loop1: detected capacity change from 0 to 32768 [ 428.135437][T11921] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 428.135437][T11921] allowing incompatible features above 0.0: (unknown version) [ 428.183976][T11925] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.197963][T11921] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 428.225292][T11925] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.239952][T11921] bcachefs (loop0): Version upgrade required: [ 428.239952][T11921] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 428.239952][T11921] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 428.239952][T11921] 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 [ 428.317618][T11925] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.333022][T11923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.356051][T11921] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 428.356074][T11921] 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 [ 428.356088][T11921] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 428.356100][T11921] error not marked as autofix and not in fsck [ 428.356110][T11921] run fsck, and forward to devs so error can be marked for self-healing [ 428.356120][T11921] inconsistency detected - emergency read only at journal seq 10 [ 428.370222][T11923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.370316][T11923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.457989][T11921] bcachefs (loop0): flagging btree extents lost data [ 428.465855][T11921] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 428.482136][T11921] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 428.563771][T11921] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 428.575185][T11927] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.590310][T11927] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.619439][T11925] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.630862][T11921] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 428.630882][T11921] 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 [ 428.630895][T11921] 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 [ 428.648259][T11927] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.728123][T11923] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.854746][T11815] bcachefs: bch2_fs_get_tree() error: EINTR [ 428.976608][T11921] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 428.976608][T11921] 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 [ 429.066133][T11921] bcachefs (loop0): scan_for_btree_nodes... [ 429.128604][T11927] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.219842][T11921] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 429.248201][T11921] done [ 429.251019][T11921] bcachefs (loop0): check_topology... [ 429.268605][T11921] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 429.316498][T11921] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 429.352046][T11921] 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 [ 429.398182][ T45] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 429.398208][ T45] 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 [ 429.398221][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 429.398234][ T45] error not marked as autofix and not in fsck [ 429.398243][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 429.470985][T11921] bcachefs (loop0): Topology repair: unreadable btree node at [ 429.471003][T11921] 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 [ 429.550385][T11921] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 429.550402][T11921] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 429.620483][T11921] bcachefs (loop0): empty btree root extents [ 429.626981][T11921] done [ 429.659625][T11921] bcachefs (loop0): accounting_read... done [ 429.710023][T11921] bcachefs (loop0): alloc_read... done [ 429.715638][T11921] bcachefs (loop0): snapshots_read... done [ 429.733250][T11961] loop4: detected capacity change from 0 to 32768 [ 429.750243][T11921] bcachefs (loop0): check_allocations... [ 429.758632][T11921] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 429.758652][T11921] 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 [ 429.874805][T11961] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.894003][T11921] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 429.894023][T11921] 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 [ 430.007778][T11961] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.007876][T11961] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.124207][T11921] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 430.124226][T11921] 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 [ 430.136622][T11963] loop2: detected capacity change from 0 to 32768 [ 430.199407][T11968] loop1: detected capacity change from 0 to 32768 [ 430.319793][T11965] loop3: detected capacity change from 0 to 32768 [ 430.337017][T11921] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 430.337036][T11921] 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 [ 430.393920][T11921] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 430.393941][T11921] 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 [ 430.456949][T11921] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.483489][T11921] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.496930][T11921] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.507377][T11921] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.521125][T11921] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.531588][T11921] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.533855][T11968] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.555166][T11921] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.567301][T11921] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.574160][T11963] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.592892][T11968] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.592985][T11968] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.595974][T11963] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.596066][T11963] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.600079][T11961] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.600495][T11921] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.659081][T11921] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.670676][T11921] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.680715][T11921] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.692411][T11921] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.702613][T11921] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.715634][T11921] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.718197][T11965] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.736514][T11921] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 430.799854][T11921] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 430.815616][T11965] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.815708][T11965] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.906963][T11921] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 430.943426][T11921] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 430.977871][T11921] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.019116][T11921] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.019134][T11921] Ratelimiting new instances of previous error [ 431.063034][T11921] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.063053][T11921] Ratelimiting new instances of previous error [ 431.082514][T11963] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.181898][T11968] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.263496][T11965] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.272843][T11921] done [ 431.276230][T11921] bcachefs (loop0): going read-write [ 431.317416][T11921] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 431.368998][T11921] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 431.388702][T11921] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 431.427770][T11921] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 431.509547][T11921] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 431.520656][T11921] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 431.537533][T11921] bcachefs (loop0): shutting down [ 431.729267][T11921] bcachefs (loop0): shutdown complete [ 431.947883][T12000] loop4: detected capacity change from 0 to 32768 [ 432.192322][T12003] loop2: detected capacity change from 0 to 32768 [ 432.267979][T12005] loop1: detected capacity change from 0 to 32768 [ 432.324668][T12007] loop3: detected capacity change from 0 to 32768 [ 432.529557][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.567472][T12000] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 432.567472][T12000] allowing incompatible features above 0.0: (unknown version) [ 432.590785][T12000] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 432.599640][T12000] bcachefs (loop4): Version upgrade required: [ 432.599640][T12000] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 432.599640][T12000] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 432.599640][T12000] 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 [ 432.681388][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.693084][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.702330][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.711152][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.713128][T12003] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.728831][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.743071][T12000] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 432.743090][T12000] 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 [ 432.743102][T12000] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 432.743115][T12000] error not marked as autofix and not in fsck [ 432.743124][T12000] run fsck, and forward to devs so error can be marked for self-healing [ 432.743136][T12000] inconsistency detected - emergency read only at journal seq 10 [ 432.778131][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.796796][T12003] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.828530][T12000] bcachefs (loop4): flagging btree extents lost data [ 432.883039][T12000] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 432.905359][T12000] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 432.917637][T12003] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.935432][T12000] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 432.973257][T11921] bcachefs: bch2_fs_get_tree() error: EINTR [ 432.987550][T12000] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 432.987567][T12000] 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 [ 432.987579][T12000] 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 2025/05/08 08:59:31 executed programs: 572 [ 433.039544][T12005] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.126684][T12000] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 433.126684][T12000] 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 [ 433.266571][T12007] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.316632][T12000] bcachefs (loop4): scan_for_btree_nodes... [ 433.335152][T12003] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.461979][T12000] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 433.477621][T12000] done [ 433.482021][T12000] bcachefs (loop4): check_topology... [ 433.490967][T12000] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 433.547755][T12000] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 433.580659][T12000] 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 [ 433.635802][ T45] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 433.635828][ T45] 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 [ 433.635841][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 433.635854][ T45] error not marked as autofix and not in fsck [ 433.635863][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 433.711993][T12000] bcachefs (loop4): Topology repair: unreadable btree node at [ 433.712012][T12000] 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 [ 433.891412][T12000] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 433.891431][T12000] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 433.947613][T12000] bcachefs (loop4): empty btree root extents [ 433.954399][T12000] done [ 433.957287][T12000] bcachefs (loop4): accounting_read... done [ 433.987702][T12000] bcachefs (loop4): alloc_read... done [ 433.994487][T12000] bcachefs (loop4): snapshots_read... done [ 434.027507][T12000] bcachefs (loop4): check_allocations... [ 434.042305][T12000] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 434.042327][T12000] 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 [ 434.167333][T12000] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 434.167353][T12000] 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 [ 434.242778][T12038] loop0: detected capacity change from 0 to 32768 [ 434.293988][T12040] loop1: detected capacity change from 0 to 32768 [ 434.320006][T12000] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 434.320024][T12000] 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 [ 434.460078][T12038] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.464572][T12040] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.506631][T12000] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 434.506651][T12000] 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 [ 434.510183][T12040] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.546795][T12040] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.547373][T12038] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.581686][T12038] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.594891][T12042] loop3: detected capacity change from 0 to 32768 [ 434.614069][T12000] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 434.614089][T12000] 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 [ 434.668373][T12000] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.722206][T12000] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.781102][T12000] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.820030][T12000] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.833479][T12044] loop2: detected capacity change from 0 to 32768 [ 434.846268][T12000] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.876869][T12000] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.911469][T12000] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 434.975186][T12000] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 434.999057][T12042] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.999191][T12042] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.999282][T12042] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.008933][T12040] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.064006][T12038] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.125311][T12000] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 435.186516][T12044] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.191227][T12044] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.191324][T12044] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.360918][T12000] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 435.380214][T12042] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.402422][T12000] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 435.453385][T12000] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 435.485765][T12000] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 435.537734][T12000] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 435.571681][T12000] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 435.586153][T12000] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 435.602629][T12044] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.674689][T12000] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 435.715349][T12000] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 435.763734][T12000] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 435.819926][T12000] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 435.855958][T12000] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 435.855977][T12000] Ratelimiting new instances of previous error [ 435.917582][T12000] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 435.917604][T12000] Ratelimiting new instances of previous error [ 436.005341][T12000] done [ 436.023949][T12000] bcachefs (loop4): going read-write [ 436.057252][T12000] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 436.087662][T12000] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 436.107589][T12000] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 436.137576][T12000] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 436.199016][T12000] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 436.205661][T12000] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 436.245377][T12000] bcachefs (loop4): shutting down [ 436.389326][T12000] bcachefs (loop4): shutdown complete [ 436.399238][T12074] loop1: detected capacity change from 0 to 32768 [ 436.481296][T12076] loop0: detected capacity change from 0 to 32768 [ 436.500391][T12078] loop3: detected capacity change from 0 to 32768 [ 436.639299][T12080] loop2: detected capacity change from 0 to 32768 [ 437.172152][T12074] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 437.172603][T12080] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 437.194781][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 437.207746][T12078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 437.232626][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 437.242362][T12078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 437.251587][T12080] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 437.261075][T12078] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 437.261508][T12074] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 437.261508][T12074] allowing incompatible features above 0.0: (unknown version) [ 437.270339][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 437.301285][T12080] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 437.328402][T12074] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 437.346609][T12000] bcachefs: bch2_fs_get_tree() error: EINTR [ 437.365133][T12074] bcachefs (loop1): Version upgrade required: [ 437.365133][T12074] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 437.365133][T12074] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 437.365133][T12074] 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 [ 437.526485][T12074] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 437.526506][T12074] 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 [ 437.526520][T12074] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 437.526533][T12074] error not marked as autofix and not in fsck [ 437.526542][T12074] run fsck, and forward to devs so error can be marked for self-healing [ 437.526553][T12074] inconsistency detected - emergency read only at journal seq 10 [ 437.715761][T12080] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.766186][T12076] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.783986][T12078] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.908487][T12074] bcachefs (loop1): flagging btree extents lost data [ 437.926844][T12074] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 437.969037][T12074] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 438.031633][T12074] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 438.076038][T12074] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 438.076058][T12074] 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 [ 438.076072][T12074] 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 2025/05/08 08:59:36 executed programs: 582 [ 438.228550][T12074] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 438.228550][T12074] 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 [ 438.342997][T12074] bcachefs (loop1): scan_for_btree_nodes... [ 438.435899][T12074] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 438.477551][T12074] done [ 438.480533][T12074] bcachefs (loop1): check_topology... [ 438.488244][T12074] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 438.527918][T12074] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 438.567708][T12074] bcachefs (loop1): 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 [ 438.591373][ T2436] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 438.591400][ T2436] 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 [ 438.591413][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 438.591426][ T2436] error not marked as autofix and not in fsck [ 438.591435][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 438.650772][T12074] bcachefs (loop1): Topology repair: unreadable btree node at [ 438.650792][T12074] 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 [ 438.677339][T12074] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 438.677357][T12074] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 438.693042][T12074] bcachefs (loop1): empty btree root extents [ 438.697197][T12111] loop4: detected capacity change from 0 to 32768 [ 438.699375][T12074] done [ 438.710226][T12074] bcachefs (loop1): accounting_read... done [ 438.776273][T12074] bcachefs (loop1): alloc_read... done [ 438.792257][T12074] bcachefs (loop1): snapshots_read... done [ 438.809213][T12074] bcachefs (loop1): check_allocations... [ 438.818839][T12074] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 438.818858][T12074] 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 [ 438.826217][T12113] loop2: detected capacity change from 0 to 32768 [ 438.935516][T12111] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.935646][T12111] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.935736][T12111] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 439.119738][T12117] loop0: detected capacity change from 0 to 32768 [ 439.154034][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 439.165131][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 439.174403][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 439.205485][T12115] loop3: detected capacity change from 0 to 32768 [ 439.217874][T12074] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 439.217896][T12074] 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 [ 439.270923][T12074] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 439.270944][T12074] 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 [ 439.414220][T12074] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 439.414240][T12074] 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 [ 439.455535][T12115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 439.476969][T12074] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 439.476988][T12074] 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 [ 439.481172][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 439.514051][T12074] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.531316][T12111] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.534087][T12115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 439.556148][T12115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 439.557821][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 439.557917][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 439.563114][T12074] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.638217][T12113] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.685713][T12074] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.736083][T12074] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.787842][T12074] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.829497][T12074] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.871861][T12074] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 439.902501][T12074] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 439.925215][T12115] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.962311][T12074] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.007671][T12074] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.057899][T12074] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.069773][T12117] bcachefs: bch2_fs_get_tree() error: EINVAL [ 440.124298][ T1298] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.124355][ T1298] ieee802154 phy1 wpan1: encryption failed: -22 [ 440.210202][T12074] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.232104][T12074] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.270415][T12074] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.297930][T12074] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.316902][T12074] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 440.357370][T12074] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 440.377830][T12074] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 440.420586][T12074] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 440.450122][T12074] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 440.512819][T12074] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 440.512837][T12074] Ratelimiting new instances of previous error [ 440.551129][T12074] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 440.551147][T12074] Ratelimiting new instances of previous error [ 440.614383][T12074] done [ 440.627884][T12074] bcachefs (loop1): going read-write [ 440.641730][T12074] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 440.660874][T12074] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 440.683609][T12074] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 440.704024][T12074] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 440.747621][T12148] loop4: detected capacity change from 0 to 32768 [ 440.779510][T12074] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 440.814607][T12074] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 440.863503][T12074] bcachefs (loop1): shutting down [ 440.967756][T12154] loop0: detected capacity change from 0 to 32768 [ 441.008605][T12148] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.029553][T12074] bcachefs (loop1): shutdown complete [ 441.095689][T12152] loop3: detected capacity change from 0 to 32768 [ 441.109639][T12148] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 441.109639][T12148] allowing incompatible features above 0.0: (unknown version) [ 441.135712][T12148] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 441.146004][T12148] bcachefs (loop4): Version upgrade required: [ 441.146004][T12148] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 441.146004][T12148] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 441.146004][T12148] 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 [ 441.153828][T12150] loop2: detected capacity change from 0 to 32768 [ 441.232901][T12154] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.253865][T12148] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 441.253885][T12148] 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 [ 441.253899][T12148] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 441.253912][T12148] error not marked as autofix and not in fsck [ 441.253921][T12148] run fsck, and forward to devs so error can be marked for self-healing [ 441.253931][T12148] inconsistency detected - emergency read only at journal seq 10 [ 441.286552][T12154] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.286644][T12154] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.406468][T12152] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.406594][T12152] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.406687][T12152] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.511421][T12154] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.644513][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.644639][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.644729][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.677859][T12074] bcachefs: bch2_fs_get_tree() error: EINTR [ 441.776299][T12152] bcachefs: bch2_fs_get_tree() error: EINVAL [ 442.013363][T12150] bcachefs: bch2_fs_get_tree() error: EINVAL [ 442.100264][T12148] bcachefs (loop4): flagging btree extents lost data [ 442.140752][T12148] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 442.196776][T12148] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 442.268756][T12148] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 442.330334][T12148] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 442.330354][T12148] 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 [ 442.330367][T12148] 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 [ 442.458019][T12148] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 442.458019][T12148] 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 [ 442.533009][T12148] bcachefs (loop4): scan_for_btree_nodes... [ 442.554936][T12148] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 442.587816][T12148] done [ 442.590798][T12148] bcachefs (loop4): check_topology... [ 442.599143][T12148] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 442.644430][T12148] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 442.675755][T12148] 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 [ 442.724340][ T45] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 442.724379][ T45] 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 [ 442.724392][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 442.724404][ T45] error not marked as autofix and not in fsck [ 442.724413][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 442.784535][T12148] bcachefs (loop4): Topology repair: unreadable btree node at [ 442.784555][T12148] 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 [ 442.855215][T12187] loop1: detected capacity change from 0 to 32768 [ 442.889618][T12148] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 442.889636][T12148] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 442.917894][T12148] bcachefs (loop4): empty btree root extents [ 442.924030][T12148] done [ 442.937178][T12148] bcachefs (loop4): accounting_read... done [ 442.957758][T12148] bcachefs (loop4): alloc_read... done [ 442.963922][T12148] bcachefs (loop4): snapshots_read... done [ 442.975601][T12148] bcachefs (loop4): check_allocations... [ 442.982994][T12189] loop3: detected capacity change from 0 to 32768 [ 443.007087][T12185] loop0: detected capacity change from 0 to 32768 [ 443.017523][T12148] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 443.017542][T12148] 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 [ 443.128875][T12187] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.129003][T12187] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.129094][T12187] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.132027][T12191] loop2: detected capacity change from 0 to 32768 [ 443.220490][T12148] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 443.220510][T12148] 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 [ 443.306895][T12148] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 443.306915][T12148] 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 [ 443.325649][T12189] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.325787][T12189] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.325873][T12189] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.336557][T12191] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.347172][T12185] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.414889][T12185] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.440137][T12148] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 443.440156][T12148] 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 [ 443.528043][T12191] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.547867][T12191] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.559367][T12185] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.590870][T12187] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.598379][T12148] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 443.598396][T12148] 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 [ 443.668447][T12148] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.717094][T12148] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 443.766848][T12148] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.821063][T12148] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 443.851167][T12148] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.865416][T12189] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.922764][T12148] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 443.950578][T12185] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.988159][T12148] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.045802][T12148] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.068342][T12191] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/05/08 08:59:42 executed programs: 592 [ 444.130172][T12148] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.188367][T12148] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.227529][T12148] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.284954][T12148] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.313546][T12148] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.330885][T12148] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.349602][T12148] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.362225][T12148] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 444.404300][T12148] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 444.444272][T12148] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 444.496945][T12148] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 444.544685][T12148] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 444.577947][T12148] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 444.577965][T12148] Ratelimiting new instances of previous error [ 444.620011][T12148] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 444.620031][T12148] Ratelimiting new instances of previous error [ 444.703257][T12148] done [ 444.706655][T12148] bcachefs (loop4): going read-write [ 444.730305][T12148] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 444.747598][T12148] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 444.766822][T12148] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 444.786831][T12148] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 444.839068][T12148] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 444.848758][T12148] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 444.856868][T12148] bcachefs (loop4): shutting down [ 444.945007][T12222] loop1: detected capacity change from 0 to 32768 [ 445.001881][T12148] bcachefs (loop4): shutdown complete [ 445.114288][T12228] loop2: detected capacity change from 0 to 32768 [ 445.123494][T12224] loop3: detected capacity change from 0 to 32768 [ 445.196649][T12227] loop0: detected capacity change from 0 to 32768 [ 445.636030][T12224] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.639385][T12228] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.664172][T12227] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.674490][T12224] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 445.674490][T12224] allowing incompatible features above 0.0: (unknown version) [ 445.677261][T12222] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.708939][T12227] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.725376][T12228] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.726541][T12224] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 445.735144][T12228] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.756095][T12222] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.766270][T12222] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.766436][T12224] bcachefs (loop3): Version upgrade required: [ 445.766436][T12224] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 445.766436][T12224] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 445.766436][T12224] 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 [ 445.775672][T12227] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.859676][T12224] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 445.859696][T12224] 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 [ 445.859708][T12224] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 445.859719][T12224] error not marked as autofix and not in fsck [ 445.859729][T12224] run fsck, and forward to devs so error can be marked for self-healing [ 445.859738][T12224] inconsistency detected - emergency read only at journal seq 10 [ 445.968703][T12224] bcachefs (loop3): flagging btree extents lost data [ 445.977232][T12224] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 445.993947][T12224] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 446.041004][T12224] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 446.091376][T12148] bcachefs: bch2_fs_get_tree() error: EINTR [ 446.114682][T12224] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 446.114701][T12224] 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 [ 446.114715][T12224] 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 [ 446.220655][T12224] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 446.220655][T12224] 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 [ 446.281837][T12222] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.314305][T12224] bcachefs (loop3): scan_for_btree_nodes... [ 446.356082][T12228] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.393489][T12227] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.410327][T12224] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 446.447958][T12224] done [ 446.457039][T12224] bcachefs (loop3): check_topology... [ 446.459627][T12224] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 446.525583][T12224] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 446.561779][T12224] 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 [ 446.605465][ T45] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 446.605491][ T45] 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 [ 446.605505][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 446.605517][ T45] error not marked as autofix and not in fsck [ 446.605526][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 446.675678][T12224] bcachefs (loop3): Topology repair: unreadable btree node at [ 446.675696][T12224] 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 [ 446.815208][T12224] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 446.815228][T12224] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 446.860226][T12224] bcachefs (loop3): empty btree root extents [ 446.877682][T12224] done [ 446.880607][T12224] bcachefs (loop3): accounting_read... done [ 446.963737][T12224] bcachefs (loop3): alloc_read... done [ 446.987216][T12224] bcachefs (loop3): snapshots_read... done [ 447.003789][T12224] bcachefs (loop3): check_allocations... [ 447.012164][T12224] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 447.012184][T12224] 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 [ 447.101531][T12260] loop4: detected capacity change from 0 to 32768 [ 447.150754][T12224] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 447.150774][T12224] 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 [ 447.296527][T12260] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.296656][T12260] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.296757][T12260] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.419984][T12224] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 447.420003][T12224] 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 [ 447.481855][T12265] loop2: detected capacity change from 0 to 32768 [ 447.541004][T12224] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 447.541023][T12224] 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 [ 447.557332][T12262] loop1: detected capacity change from 0 to 32768 [ 447.631645][T12224] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 447.631665][T12224] 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 [ 447.684598][T12266] loop0: detected capacity change from 0 to 32768 [ 447.700996][T12265] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.744042][T12260] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.844182][T12265] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.860885][T12265] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.863403][T12262] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.891388][T12224] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 447.939244][T12262] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.939335][T12262] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.019723][T12266] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 448.021503][T12266] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 448.021599][T12266] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.218446][T12224] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.268813][T12224] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.283415][T12262] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.340005][T12224] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.368956][T12265] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.417854][T12224] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.467877][T12224] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.498514][T12266] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.524135][T12224] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.603189][T12224] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.646846][T12224] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.702658][T12224] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.739878][T12224] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.770373][T12224] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.802450][T12224] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.854085][T12224] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.908784][T12224] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.948738][T12224] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 449.013044][T12224] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 449.033968][T12224] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 449.072883][T12224] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 449.117661][T12224] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 449.148340][T12224] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 449.148358][T12224] Ratelimiting new instances of previous error [ 449.184644][T12224] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 449.184663][T12224] Ratelimiting new instances of previous error [ 449.264621][T12296] loop4: detected capacity change from 0 to 32768 [ 449.304617][T12224] done [ 449.309253][T12224] bcachefs (loop3): going read-write [ 449.332409][T12224] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 449.347726][T12224] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 449.365383][T12298] loop1: detected capacity change from 0 to 32768 [ 449.377753][T12224] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 449.387352][T12224] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 449.413205][T12296] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.480400][T12224] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 449.499849][T12224] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 449.509688][T12296] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.518443][T12224] bcachefs (loop3): shutting down [ 449.559100][T12296] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.628841][T12224] bcachefs (loop3): shutdown complete [ 449.665920][T12302] loop0: detected capacity change from 0 to 32768 [ 449.783620][T12300] loop2: detected capacity change from 0 to 32768 [ 450.085593][T12298] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.120367][T12298] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 450.120367][T12298] allowing incompatible features above 0.0: (unknown version) [ 450.145324][T12298] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 450.162555][T12296] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.178327][T12302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.178350][T12298] bcachefs (loop1): Version upgrade required: [ 450.178350][T12298] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 450.178350][T12298] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 450.178350][T12298] 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 [ 450.239121][T12300] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.267667][T12302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.297886][T12298] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 450.297905][T12298] 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 [ 450.297918][T12298] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 450.297930][T12298] error not marked as autofix and not in fsck [ 450.297939][T12298] run fsck, and forward to devs so error can be marked for self-healing [ 450.297950][T12298] inconsistency detected - emergency read only at journal seq 10 [ 450.336365][T12302] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.409290][T12300] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.409381][T12300] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.586537][T12298] bcachefs (loop1): flagging btree extents lost data [ 450.608265][T12224] bcachefs: bch2_fs_get_tree() error: EINTR 2025/05/08 08:59:48 executed programs: 604 [ 450.655086][T12298] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 450.732713][T12298] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 450.808781][T12298] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 450.822916][T12300] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.863375][T12302] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.912602][T12298] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 450.912623][T12298] 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 [ 450.912636][T12298] 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 [ 451.131729][T12298] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 451.131729][T12298] 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 [ 451.242652][T12298] bcachefs (loop1): scan_for_btree_nodes... [ 451.434474][T12298] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 451.459908][T12298] done [ 451.467653][T12298] bcachefs (loop1): check_topology... [ 451.477277][T12298] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 451.557672][T12298] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 451.594892][T12298] bcachefs (loop1): 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 [ 451.639074][T12333] loop4: detected capacity change from 0 to 32768 [ 451.663528][ T2436] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 451.663568][ T2436] 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 [ 451.663581][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 451.663594][ T2436] error not marked as autofix and not in fsck [ 451.663603][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 451.731260][T12298] bcachefs (loop1): Topology repair: unreadable btree node at [ 451.731279][T12298] 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 [ 451.836195][T12333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.836323][T12333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.836414][T12333] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.982880][T12333] bcachefs: bch2_fs_get_tree() error: EINVAL [ 451.993926][T12298] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 451.993945][T12298] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 452.027778][T12298] bcachefs (loop1): empty btree root extents [ 452.036472][T12338] loop2: detected capacity change from 0 to 32768 [ 452.043388][T12298] done [ 452.046277][T12298] bcachefs (loop1): accounting_read... done [ 452.067063][T12298] bcachefs (loop1): alloc_read... done [ 452.096464][T12298] bcachefs (loop1): snapshots_read... done [ 452.109060][T12335] loop3: detected capacity change from 0 to 32768 [ 452.113899][T12298] bcachefs (loop1): check_allocations... [ 452.143893][T12298] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 452.143913][T12298] 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 [ 452.236330][T12340] loop0: detected capacity change from 0 to 32768 [ 452.270282][T12338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.270416][T12338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.270497][T12338] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.466608][T12340] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.466742][T12340] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.466833][T12340] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.482459][T12335] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.482594][T12335] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.482684][T12335] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.803493][T12338] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.948335][T12335] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.028470][T12298] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 453.028490][T12298] 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.072981][T12340] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.166223][T12298] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 453.166242][T12298] 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.261282][T12349] loop4: detected capacity change from 0 to 32768 [ 453.285159][T12298] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 453.285178][T12298] 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.425767][T12298] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 453.425786][T12298] 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 [ 453.501156][T12349] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.501285][T12349] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.501375][T12349] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.639592][T12298] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.666113][T12298] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.692597][T12298] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.717866][T12298] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.748848][T12298] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.774244][T12298] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.806760][T12298] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.818133][T12298] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.853879][T12349] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.864654][T12298] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.917826][T12298] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.945049][T12298] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.974130][T12298] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.984514][T12372] loop2: detected capacity change from 0 to 32768 [ 454.007072][T12298] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.064970][T12298] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.110067][T12298] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.140213][T12298] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 454.184963][T12372] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.185128][T12372] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.185219][T12372] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.188715][T12382] loop3: detected capacity change from 0 to 32768 [ 454.295618][T12298] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.321299][T12383] loop0: detected capacity change from 0 to 32768 [ 454.359111][T12298] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.403516][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.403643][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.403737][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.564124][T12383] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.564273][T12383] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.564368][T12383] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.685361][T12298] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.726711][T12298] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.777925][T12298] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.777943][T12298] Ratelimiting new instances of previous error [ 454.809928][T12372] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.853798][T12298] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.853818][T12298] Ratelimiting new instances of previous error [ 454.892024][T12382] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.955499][T12392] loop4: detected capacity change from 0 to 32768 [ 454.991219][T12383] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.030067][T12298] done [ 455.043911][T12298] bcachefs (loop1): going read-write [ 455.124927][T12298] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 455.137560][T12392] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.159032][T12392] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.169268][T12392] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.206946][T12298] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 455.256243][T12298] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 455.343329][T12298] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 455.498435][T12298] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 455.520330][T12392] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.525435][T12298] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 455.552964][T12298] bcachefs (loop1): shutting down [ 455.745133][T12298] bcachefs (loop1): shutdown complete 2025/05/08 08:59:53 executed programs: 616 [ 456.134164][T12416] loop3: detected capacity change from 0 to 32768 [ 456.146092][T12418] loop2: detected capacity change from 0 to 32768 [ 456.209192][T12420] loop0: detected capacity change from 0 to 32768 [ 456.487341][T12422] loop4: detected capacity change from 0 to 32768 [ 456.689703][T12416] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.689827][T12418] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.703318][T12420] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.750153][T12422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.756489][T12418] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.776199][T12416] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 456.776199][T12416] allowing incompatible features above 0.0: (unknown version) [ 456.786981][T12418] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.799433][T12416] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 456.811610][T12420] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.815438][T12416] bcachefs (loop3): Version upgrade required: [ 456.815438][T12416] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 456.815438][T12416] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 456.815438][T12416] 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.855172][T12422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.914085][T12420] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.932045][T12422] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.940516][T12416] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 456.940533][T12416] 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.940544][T12416] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 456.940555][T12416] error not marked as autofix and not in fsck [ 456.940563][T12416] run fsck, and forward to devs so error can be marked for self-healing [ 456.940572][T12416] inconsistency detected - emergency read only at journal seq 10 [ 457.028702][T12298] bcachefs: bch2_fs_get_tree() error: EINTR [ 457.217544][T12416] bcachefs (loop3): flagging btree extents lost data [ 457.224290][T12416] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 457.284685][T12416] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 457.297891][T12418] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.340141][T12420] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.357002][T12416] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 457.386631][T12422] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.398182][T12416] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 457.398201][T12416] 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.398215][T12416] 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.555481][T12416] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 457.555481][T12416] 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.665253][T12416] bcachefs (loop3): scan_for_btree_nodes... [ 457.761571][T12416] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 457.777682][T12416] done [ 457.780496][T12416] bcachefs (loop3): check_topology... [ 457.855584][T12416] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 457.890906][T12416] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 457.910522][T12416] 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.945995][ T2436] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 457.946026][ T2436] 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.946040][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 457.946053][ T2436] error not marked as autofix and not in fsck [ 457.946062][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 458.013005][T12416] bcachefs (loop3): Topology repair: unreadable btree node at [ 458.013024][T12416] 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 [ 458.141659][T12416] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 458.141678][T12416] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 458.209599][T12416] bcachefs (loop3): empty btree root extents [ 458.238104][T12416] done [ 458.240921][T12416] bcachefs (loop3): accounting_read... [ 458.247277][T12459] loop0: detected capacity change from 0 to 32768 [ 458.267599][T12416] done [ 458.277547][T12416] bcachefs (loop3): alloc_read... done [ 458.299372][T12416] bcachefs (loop3): snapshots_read... done [ 458.338324][T12416] bcachefs (loop3): check_allocations... [ 458.348259][T12452] loop1: detected capacity change from 0 to 32768 [ 458.360985][T12416] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 458.361003][T12416] 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.421591][T12416] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 458.421611][T12416] 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.531615][T12455] loop2: detected capacity change from 0 to 32768 [ 458.561665][T12416] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 458.561683][T12416] 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.575589][T12459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.575717][T12459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.575806][T12459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.654202][T12452] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.654327][T12452] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.654414][T12452] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.834360][T12455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.886432][T12455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.897103][T12457] loop4: detected capacity change from 0 to 32768 [ 458.912755][T12455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.913747][T12459] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.927064][T12416] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 458.927081][T12416] 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 [ 459.164035][T12416] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 459.164055][T12416] 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 [ 459.228538][T12455] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.248086][T12452] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.275680][T12457] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 459.275818][T12457] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 459.275907][T12457] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 459.423315][T12416] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.447852][T12416] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.488080][T12416] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.521800][T12416] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.561141][T12416] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.599462][T12416] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.662037][T12416] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.707979][T12416] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.732581][T12457] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.762936][T12416] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.809314][T12416] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.834616][T12416] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.880622][T12416] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.937939][T12416] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 459.965605][T12416] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 459.997898][T12416] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 460.047685][T12416] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 460.079336][T12416] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 460.118178][T12416] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 460.151175][T12416] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 460.177738][T12416] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 460.217972][T12416] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 460.217990][T12416] Ratelimiting new instances of previous error [ 460.245248][T12416] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 460.245267][T12416] Ratelimiting new instances of previous error [ 460.338385][T12416] done [ 460.349475][T12416] bcachefs (loop3): going read-write [ 460.368100][T12416] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 460.387623][T12416] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 460.409063][T12489] loop0: detected capacity change from 0 to 32768 [ 460.411630][T12416] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 460.456025][T12416] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 460.480047][T12493] loop2: detected capacity change from 0 to 32768 [ 460.509509][T12416] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 460.510337][T12492] loop1: detected capacity change from 0 to 32768 [ 460.523986][T12416] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 460.524006][T12416] bcachefs (loop3): shutting down [ 460.581360][T12416] bcachefs (loop3): shutdown complete [ 460.800837][T12489] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.873039][T12492] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.884387][T12492] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.885480][T12495] loop4: detected capacity change from 0 to 32768 [ 460.894115][T12492] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.918127][T12489] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 460.918127][T12489] allowing incompatible features above 0.0: (unknown version) [ 460.945320][T12493] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.964857][T12493] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.977671][T12489] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 460.985923][T12489] bcachefs (loop0): Version upgrade required: [ 460.985923][T12489] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 460.985923][T12489] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 460.985923][T12489] 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 [ 461.077844][T12493] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.164323][T12489] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 461.164343][T12489] 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 [ 461.164357][T12489] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down 2025/05/08 08:59:59 executed programs: 625 [ 461.164369][T12489] error not marked as autofix and not in fsck [ 461.164385][T12489] run fsck, and forward to devs so error can be marked for self-healing [ 461.164396][T12489] inconsistency detected - emergency read only at journal seq 10 [ 461.214128][T12492] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.279694][T12416] bcachefs: bch2_fs_get_tree() error: EINTR [ 461.292146][T12495] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 461.292267][T12495] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 461.292353][T12495] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.477132][T12493] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.677719][T12489] bcachefs (loop0): flagging btree extents lost data [ 461.707726][T12489] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 461.726625][T12495] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.767703][T12489] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 461.828192][T12489] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 461.884537][T12489] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 461.884558][T12489] 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.884572][T12489] 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.950785][T12489] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 461.950785][T12489] 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 [ 462.020836][T12489] bcachefs (loop0): scan_for_btree_nodes... [ 462.091337][T12489] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 462.136284][T12489] done [ 462.145556][T12489] bcachefs (loop0): check_topology... [ 462.153329][T12489] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 462.186612][T12489] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 462.209369][T12489] 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 [ 462.274169][ T45] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 462.274196][ T45] 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 [ 462.274210][ T45] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 462.274223][ T45] error not marked as autofix and not in fsck [ 462.274232][ T45] run fsck, and forward to devs so error can be marked for self-healing [ 462.349229][T12489] bcachefs (loop0): Topology repair: unreadable btree node at [ 462.349248][T12489] 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 [ 462.444188][T12526] loop3: detected capacity change from 0 to 32768 [ 462.451549][T12489] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 462.451566][T12489] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 462.520230][T12489] bcachefs (loop0): empty btree root extents [ 462.543107][T12489] done [ 462.565127][T12489] bcachefs (loop0): accounting_read... done [ 462.596670][T12526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.608107][T12526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.618701][T12526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.628045][T12489] bcachefs (loop0): alloc_read... done [ 462.634323][T12489] bcachefs (loop0): snapshots_read... done [ 462.640823][T12489] bcachefs (loop0): check_allocations... [ 462.652612][T12489] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 462.652634][T12489] 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.775402][T12528] loop1: detected capacity change from 0 to 32768 [ 462.785446][T12489] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 462.785467][T12489] 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.927038][T12528] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.938285][T12528] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.948692][T12528] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.958222][T12489] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 462.958240][T12489] 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.969154][T12530] loop2: detected capacity change from 0 to 32768 [ 463.010749][T12533] loop4: detected capacity change from 0 to 32768 [ 463.148790][T12526] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.156696][T12530] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 463.185654][T12489] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 463.185674][T12489] 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 [ 463.197776][T12530] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 463.197868][T12530] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 463.398938][T12533] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 463.431583][T12533] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 463.441540][T12489] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 463.441558][T12489] 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 [ 463.442554][T12533] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 463.507406][T12489] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.527971][T12489] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.531603][T12530] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.549786][T12489] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.587678][T12489] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.598006][T12528] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.647912][T12489] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.688781][T12489] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.727299][T12489] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.771235][T12489] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.817818][T12489] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.851620][T12489] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.886796][T12489] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.901936][T12533] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.971085][T12489] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.021342][T12489] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.059579][T12489] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.111098][T12489] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.157758][T12489] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 464.200933][T12489] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 464.233956][T12489] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 464.250521][T12489] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 464.286848][T12489] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 464.316092][T12489] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 464.316111][T12489] Ratelimiting new instances of previous error [ 464.373034][T12489] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 464.373053][T12489] Ratelimiting new instances of previous error [ 464.454481][T12489] done [ 464.464130][T12489] bcachefs (loop0): going read-write [ 464.482298][T12489] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 464.502958][T12489] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 464.529515][T12489] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 464.552818][T12489] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 464.605299][T12563] loop3: detected capacity change from 0 to 32768 [ 464.610703][T12489] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 464.633359][T12489] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 464.657290][T12489] bcachefs (loop0): shutting down [ 464.753638][T12489] bcachefs (loop0): shutdown complete [ 464.898436][T12569] loop4: detected capacity change from 0 to 32768 [ 464.906727][T12565] loop2: detected capacity change from 0 to 32768 [ 464.949838][T12567] loop1: detected capacity change from 0 to 32768 [ 465.144353][T12563] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.220658][T12565] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.234815][T12565] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 465.237581][T12563] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 465.237581][T12563] allowing incompatible features above 0.0: (unknown version) [ 465.250412][T12565] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 465.292799][T12567] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.299605][T12563] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 465.304007][T12567] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 465.325194][T12567] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 465.357354][T12563] bcachefs (loop3): Version upgrade required: [ 465.357354][T12563] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 465.357354][T12563] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 465.357354][T12563] 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 [ 465.372688][T12569] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.470045][T12563] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 465.470063][T12563] 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 [ 465.470076][T12563] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 465.470086][T12563] error not marked as autofix and not in fsck [ 465.470094][T12563] run fsck, and forward to devs so error can be marked for self-healing [ 465.470104][T12563] inconsistency detected - emergency read only at journal seq 10 [ 465.487747][T12569] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 465.487831][T12569] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 465.611207][T12489] bcachefs: bch2_fs_get_tree() error: EINTR [ 465.696401][T12565] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.768446][T12563] bcachefs (loop3): flagging btree extents lost data [ 465.775179][T12563] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 465.821720][T12563] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 465.865907][T12563] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 465.921512][T12567] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.928121][T12563] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 465.928139][T12563] 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.928153][T12563] 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.974711][T12569] bcachefs: bch2_fs_get_tree() error: EINVAL [ 466.131132][T12563] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 466.131132][T12563] 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 [ 466.248747][T12563] bcachefs (loop3): scan_for_btree_nodes... [ 466.317719][T12563] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 466.357675][T12563] done 2025/05/08 09:00:04 executed programs: 635 [ 466.360527][T12563] bcachefs (loop3): check_topology... [ 466.372649][T12563] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 466.427617][T12563] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 466.467744][T12563] 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 [ 466.526805][ T2436] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 466.526831][ T2436] 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 [ 466.526845][ T2436] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 466.527184][ T2436] error not marked as autofix and not in fsck [ 466.527195][ T2436] run fsck, and forward to devs so error can be marked for self-healing [ 466.600562][T12563] bcachefs (loop3): Topology repair: unreadable btree node at [ 466.600580][T12563] 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 [ 466.646604][T12563] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 466.646622][T12563] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 466.697583][T12563] bcachefs (loop3): empty btree root extents [ 466.724627][T12600] loop0: detected capacity change from 0 to 32768 [ 466.733985][T12563] done [ 466.736823][T12563] bcachefs (loop3): accounting_read... done [ 466.777299][T12563] bcachefs (loop3): alloc_read... done [ 466.787666][T12563] bcachefs (loop3): snapshots_read... done [ 466.793705][T12563] bcachefs (loop3): check_allocations... [ 466.840329][T12563] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 466.840351][T12563] 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.893168][T12606] loop4: detected capacity change from 0 to 32768 [ 466.983340][T12600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.983467][T12600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.983560][T12600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.003657][T12602] loop2: detected capacity change from 0 to 32768 [ 467.073069][T12563] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 467.073088][T12563] 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 [ 467.114296][T12563] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 467.114316][T12563] 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 [ 467.219685][T12563] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 467.219705][T12563] 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 [ 467.247732][T12606] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.247937][T12606] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.248027][T12606] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.283559][T12607] loop1: detected capacity change from 0 to 32768 [ 467.356135][T12602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.416575][T12602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.437955][T12602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.455476][T12563] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 467.455495][T12563] 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 [ 467.527824][T12607] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.550980][T12563] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.563218][T12563] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.567845][T12607] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.584615][T12563] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.601693][T12606] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.617700][T12607] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.657864][T12563] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.678346][T12600] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.733964][T12563] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.801994][T12563] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.848089][T12563] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.876384][T12602] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.956923][T12563] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.032267][T12563] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.055056][T12607] bcachefs: bch2_fs_get_tree() error: EINVAL [ 468.122322][T12563] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.176991][T12563] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing