[ 407.890085][T11828] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 407.925841][T11753] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 407.934115][T11828] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 407.944722][T11828] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 407.994820][T11830] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.010249][T11753] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 408.016893][T11753] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 408.027323][T11832] loop2: detected capacity change from 0 to 32768 [ 408.037533][T11826] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.053034][T11753] bcachefs (loop3): shutting down [ 408.078180][T11830] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.097570][T11830] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.152111][T11826] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 408.152111][T11826] allowing incompatible features above 0.0: (unknown version) [ 408.152592][T11753] bcachefs (loop3): shutdown complete [ 408.177113][T11826] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 408.191530][T11826] bcachefs (loop4): Version upgrade required: [ 408.191530][T11826] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 408.191530][T11826] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 408.191530][T11826] 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 [ 408.270475][T11826] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 408.270494][T11826] 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 [ 408.270506][T11826] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 408.270517][T11826] error not marked as autofix and not in fsck [ 408.270525][T11826] run fsck, and forward to devs so error can be marked for self-healing [ 408.270533][T11826] inconsistency detected - emergency read only at journal seq 10 [ 408.384178][T11826] bcachefs (loop4): flagging btree extents lost data [ 408.391218][T11826] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 408.392962][T11832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.403423][T11826] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 408.451070][T11826] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 408.468118][T11832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.468216][T11832] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.575750][T11828] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.582587][T11826] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 408.582605][T11826] 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 [ 408.582617][T11826] 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 [ 408.760589][T11826] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 408.760589][T11826] 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 [ 408.826892][T11830] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.850054][T11753] bcachefs: bch2_fs_get_tree() error: EINTR 2025/05/11 09:01:48 executed programs: 494 [ 408.882871][T11826] bcachefs (loop4): scan_for_btree_nodes... [ 408.901433][T11832] bcachefs: bch2_fs_get_tree() error: EINVAL [ 409.087386][T11826] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 409.107445][T11826] done [ 409.128283][T11826] bcachefs (loop4): check_topology... [ 409.143843][T11826] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 409.188480][T11826] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 409.242947][T11826] 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 [ 409.336713][ T60] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 409.336750][ T60] 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.336764][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 409.336777][ T60] error not marked as autofix and not in fsck [ 409.336786][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 409.403549][T11826] bcachefs (loop4): Topology repair: unreadable btree node at [ 409.403568][T11826] 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 [ 409.542723][T11826] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 409.542741][T11826] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 409.586797][T11826] bcachefs (loop4): empty btree root extents [ 409.603944][T11826] done [ 409.606749][T11826] bcachefs (loop4): accounting_read... done [ 409.646499][T11826] bcachefs (loop4): alloc_read... done [ 409.678019][T11826] bcachefs (loop4): snapshots_read... done [ 409.688008][T11826] bcachefs (loop4): check_allocations... [ 409.733735][T11826] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 409.733755][T11826] 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 [ 409.823132][T11826] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 409.823152][T11826] 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 [ 409.877276][T11864] loop1: detected capacity change from 0 to 32768 [ 409.897098][T11826] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 409.897118][T11826] 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 [ 409.983239][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.983364][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.983455][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.062077][T11866] loop3: detected capacity change from 0 to 32768 [ 410.104037][T11826] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 410.104057][T11826] 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 [ 410.159595][T11868] loop0: detected capacity change from 0 to 32768 [ 410.252720][T11826] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 410.252740][T11826] 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 [ 410.306029][T11826] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.356691][T11870] loop2: detected capacity change from 0 to 32768 [ 410.362835][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.363004][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.363090][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.366273][T11864] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.415120][T11868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.415237][T11868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.415326][T11868] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.586261][T11826] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.613685][T11870] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.613813][T11870] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.613910][T11870] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.745493][T11826] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.796917][T11826] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.828798][T11868] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.844776][T11866] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.907199][T11826] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.947143][T11826] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.995287][T11870] bcachefs: bch2_fs_get_tree() error: EINVAL [ 411.038037][T11826] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.092823][T11826] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.145301][T11826] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.176161][T11826] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.218334][T11826] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.258493][T11826] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.298722][T11826] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.347480][T11826] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 411.384032][T11826] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 411.408138][T11826] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 411.458375][T11826] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.481003][T11826] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.517718][T11826] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.548905][T11826] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.584215][T11826] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.584233][T11826] Ratelimiting new instances of previous error [ 411.624519][T11826] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.624538][T11826] Ratelimiting new instances of previous error [ 411.714898][T11826] done [ 411.728408][T11826] bcachefs (loop4): going read-write [ 411.757646][T11826] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 411.788039][T11826] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 411.796916][T11826] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 411.822838][T11900] loop1: detected capacity change from 0 to 32768 [ 411.848198][T11826] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 411.939445][T11826] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 411.946096][T11826] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 411.959084][T11826] bcachefs (loop4): shutting down [ 411.997110][T11904] loop0: detected capacity change from 0 to 32768 [ 412.001847][T11900] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.080008][T11826] bcachefs (loop4): shutdown complete [ 412.165410][T11900] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 412.165410][T11900] allowing incompatible features above 0.0: (unknown version) [ 412.179991][T11904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.219767][T11903] loop3: detected capacity change from 0 to 32768 [ 412.232875][T11904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.245751][T11900] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 412.281953][T11904] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.298503][T11900] bcachefs (loop1): Version upgrade required: [ 412.298503][T11900] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 412.298503][T11900] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 412.298503][T11900] 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 [ 412.442227][T11906] loop2: detected capacity change from 0 to 32768 [ 412.494372][T11903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.510450][T11903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.520166][T11903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.520591][T11826] bcachefs: bch2_fs_get_tree() error: EINTR [ 412.548750][T11900] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 412.548767][T11900] 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 [ 412.548780][T11900] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 412.548791][T11900] error not marked as autofix and not in fsck [ 412.548800][T11900] run fsck, and forward to devs so error can be marked for self-healing [ 412.548810][T11900] inconsistency detected - emergency read only at journal seq 10 [ 412.645773][T11900] bcachefs (loop1): flagging btree extents lost data [ 412.653029][T11900] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 412.665072][T11900] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 412.745903][T11900] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 412.783515][T11906] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.820355][T11900] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 412.820372][T11900] 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 [ 412.820381][T11900] 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 [ 412.831633][T11906] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.831731][T11906] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.850121][T11904] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.126562][T11903] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.164403][T11900] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 413.164403][T11900] 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 [ 413.291646][T11906] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.305384][T11900] bcachefs (loop1): scan_for_btree_nodes... [ 413.385351][T11900] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 413.438142][T11900] done [ 413.440966][T11900] bcachefs (loop1): check_topology... [ 413.444198][T11900] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 413.474390][T11900] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 413.525227][T11900] 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 [ 413.591968][ T8360] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 413.591997][ T8360] 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 [ 413.592010][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 413.592022][ T8360] error not marked as autofix and not in fsck [ 413.592032][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 413.672684][T11900] bcachefs (loop1): Topology repair: unreadable btree node at [ 413.672702][T11900] 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 [ 413.764083][T11937] loop4: detected capacity change from 0 to 32768 [ 413.788366][T11900] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 413.788383][T11900] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 413.806605][T11900] bcachefs (loop1): empty btree root extents [ 413.812973][T11900] done [ 413.815847][T11900] bcachefs (loop1): accounting_read... done [ 413.833314][T11900] bcachefs (loop1): alloc_read... done [ 413.848052][T11900] bcachefs (loop1): snapshots_read... done [ 413.864440][T11900] bcachefs (loop1): check_allocations... [ 413.866652][T11900] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 413.866671][T11900] 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 [ 413.991969][T11937] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.009708][T11937] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.056172][T11937] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.066380][T11900] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 414.066397][T11900] 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 [ 414.167274][T11900] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 414.167293][T11900] 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 [ 414.261293][T11900] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 414.261312][T11900] 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 [ 414.307707][T11939] loop0: detected capacity change from 0 to 32768 [ 414.358939][T11900] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 414.358960][T11900] 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 [ 414.466777][T11937] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.495159][T11939] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.495288][T11939] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.495385][T11939] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.515603][T11942] loop3: detected capacity change from 0 to 32768 [ 414.520902][T11944] loop2: detected capacity change from 0 to 32768 2025/05/11 09:01:53 executed programs: 506 [ 414.752220][T11900] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 414.786044][T11942] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.786170][T11942] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.786278][T11942] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.863328][T11944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.863450][T11944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.863541][T11944] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.988282][T11900] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.013727][T11900] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.048686][T11900] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.084918][T11900] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.122070][T11939] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.183859][T11900] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.246046][T11900] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.285694][T11900] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.315439][T11944] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.348358][T11900] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.372229][T11900] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.413895][T11900] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.428343][T11942] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.502826][T11900] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.558374][T11900] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.608235][T11900] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.645261][T11900] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.676723][T11900] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 415.720227][T11900] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 415.760993][T11900] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 415.793544][T11900] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 415.812478][T11900] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 415.814059][T11974] loop4: detected capacity change from 0 to 32768 [ 415.833471][T11900] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 415.833489][T11900] Ratelimiting new instances of previous error [ 415.884921][T11900] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 415.884941][T11900] Ratelimiting new instances of previous error [ 416.014143][T11900] done [ 416.017634][T11900] bcachefs (loop1): going read-write [ 416.067206][T11976] loop0: detected capacity change from 0 to 32768 [ 416.085957][T11974] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.097463][T11974] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.107245][T11974] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.118536][T11900] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 416.145769][T11900] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 416.168575][T11900] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 416.221216][T11900] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 416.328347][T11976] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.365420][T11900] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 416.368239][T11976] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.381971][T11976] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.392590][T11974] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.406307][T11900] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 416.445738][T11900] bcachefs (loop1): shutting down [ 416.620948][T11900] bcachefs (loop1): shutdown complete [ 416.755890][T11978] loop2: detected capacity change from 0 to 32768 [ 416.849664][T11980] loop3: detected capacity change from 0 to 32768 [ 417.059846][T11976] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.118666][T11997] loop4: detected capacity change from 0 to 32768 [ 417.469797][T11980] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.483059][T11978] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.559102][T12018] loop0: detected capacity change from 0 to 32768 [ 417.562869][T11980] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.578345][T11978] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 417.578345][T11978] allowing incompatible features above 0.0: (unknown version) [ 417.584249][T11997] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.603443][T11978] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 417.621855][T11980] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.670264][T11997] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.678216][T11978] bcachefs (loop2): Version upgrade required: [ 417.678216][T11978] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 417.678216][T11978] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 417.678216][T11978] 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 [ 417.759505][T11997] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.774110][T11978] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 417.774128][T11978] 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 [ 417.774141][T11978] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 417.774154][T11978] error not marked as autofix and not in fsck [ 417.774164][T11978] run fsck, and forward to devs so error can be marked for self-healing [ 417.774174][T11978] inconsistency detected - emergency read only at journal seq 10 [ 418.023912][T12018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 418.024048][T12018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 418.024139][T12018] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.044516][T11980] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.049270][T11900] bcachefs: bch2_fs_get_tree() error: EINTR [ 418.052705][T11997] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.277013][T11978] bcachefs (loop2): flagging btree extents lost data [ 418.305257][T11978] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 418.381499][T11978] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 418.422346][T11978] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 418.456728][T11978] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 418.456746][T11978] 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.456760][T11978] 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.538566][T12018] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.695694][T11978] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 418.695694][T11978] 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 [ 418.811106][T11978] bcachefs (loop2): scan_for_btree_nodes... [ 418.811408][T11978] bcachefs (loop2): read_btree_nodes(): error starting kthread EINTR [ 418.878198][T11978] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 418.884868][T11978] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 418.968142][T11978] bcachefs (loop2): shutting down [ 419.059579][T11978] bcachefs (loop2): shutdown complete [ 419.209012][T12029] loop1: detected capacity change from 0 to 32768 [ 419.354450][T12032] loop4: detected capacity change from 0 to 32768 [ 419.369995][T12033] loop3: detected capacity change from 0 to 32768 [ 419.604196][T12036] loop0: detected capacity change from 0 to 32768 [ 419.750603][T12032] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.758454][T12029] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.761804][T12033] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.797195][T12032] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.807690][T12029] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 419.807690][T12029] allowing incompatible features above 0.0: (unknown version) [ 419.830957][T12032] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.836681][T12036] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.839844][T12033] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.868425][T12029] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 419.872485][T12033] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.876701][T12029] bcachefs (loop1): Version upgrade required: [ 419.876701][T12029] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 419.876701][T12029] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 419.876701][T12029] 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 [ 419.947958][T12036] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.968764][T12029] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 419.968783][T12029] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 419.968797][T12029] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 419.968809][T12029] error not marked as autofix and not in fsck [ 419.968818][T12029] run fsck, and forward to devs so error can be marked for self-healing [ 419.968828][T12029] inconsistency detected - emergency read only at journal seq 10 [ 420.028146][T12036] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.082837][T12032] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.225080][T12029] bcachefs (loop1): flagging btree extents lost data [ 420.248301][T12029] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 420.259554][T11978] bcachefs: bch2_fs_get_tree() error: EINTR [ 420.286905][T12029] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) 2025/05/11 09:01:59 executed programs: 516 [ 420.353508][T12033] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.360641][T12029] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 420.400990][T12036] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.426400][T12029] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 420.426421][T12029] 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 [ 420.426435][T12029] 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 [ 420.600792][T12029] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 420.600792][T12029] 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 [ 420.713230][T12029] bcachefs (loop1): scan_for_btree_nodes... [ 420.790633][T12029] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 420.819088][T12029] done [ 420.837153][T12029] bcachefs (loop1): check_topology... [ 420.874431][T12029] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 420.928206][T12029] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 420.958761][T12029] 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 [ 421.031400][ T8360] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 421.031428][ T8360] 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 [ 421.031443][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 421.031455][ T8360] error not marked as autofix and not in fsck [ 421.031465][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 421.108336][T12029] bcachefs (loop1): Topology repair: unreadable btree node at [ 421.108354][T12029] 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 [ 421.248328][T12029] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 421.248347][T12029] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 421.297420][T12029] bcachefs (loop1): empty btree root extents [ 421.328024][T12029] done [ 421.330932][T12029] bcachefs (loop1): accounting_read... done [ 421.358034][T12029] bcachefs (loop1): alloc_read... done [ 421.363784][T12029] bcachefs (loop1): snapshots_read... done [ 421.384271][T12073] loop0: detected capacity change from 0 to 32768 [ 421.416360][T12029] bcachefs (loop1): check_allocations... [ 421.439772][T12029] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 421.439792][T12029] 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 [ 421.502283][T12073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.502512][T12073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.502610][T12073] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.519789][T12066] loop4: detected capacity change from 0 to 32768 [ 421.577402][T12029] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 421.577421][T12029] 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 [ 421.713655][T12072] loop3: detected capacity change from 0 to 32768 [ 421.742008][T12069] loop2: detected capacity change from 0 to 32768 [ 421.749034][T12029] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 421.749052][T12029] 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 [ 421.823013][T12073] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.823460][T12066] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.823579][T12066] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.823666][T12066] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.920833][T12072] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.921467][T12072] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.921573][T12072] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.118296][T12066] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.225158][T12069] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.268911][T12029] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 422.268931][T12029] 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 [ 422.325584][T12069] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.325696][T12069] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.389097][T12072] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.581784][T12029] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 422.581803][T12029] 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 [ 422.659011][T12029] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.718607][T12029] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.763803][T12029] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.788374][T12069] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.838434][T12029] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.891891][T12029] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.928236][T12029] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.974720][T12029] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.027324][T12029] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 423.057085][T12099] loop0: detected capacity change from 0 to 32768 [ 423.076206][T12029] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.138820][T12029] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 423.183107][T12029] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.248447][T12029] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 423.298363][T12029] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.311247][T12105] loop4: detected capacity change from 0 to 32768 [ 423.326425][T12099] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.326554][T12099] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.326645][T12099] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.504635][T12029] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 423.538571][T12029] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 423.585082][T12029] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 423.597622][T12029] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 423.601795][T12105] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.624672][T12029] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 423.648944][T12099] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.658470][T12029] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 423.668660][T12105] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.688420][T12029] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 423.723001][T12029] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 423.723019][T12029] Ratelimiting new instances of previous error [ 423.738143][T12105] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.822528][T12029] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 423.822547][T12029] Ratelimiting new instances of previous error [ 423.830528][T12107] loop3: detected capacity change from 0 to 32768 [ 423.901923][T12029] done [ 423.905322][T12029] bcachefs (loop1): going read-write [ 423.968615][T12029] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 423.988179][T12029] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 423.998242][T12107] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.000686][T12029] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 424.009488][T12107] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.028531][T12107] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.065807][T12029] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 424.110787][T12029] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 424.135103][T12105] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.141269][T12029] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 424.168174][T12029] bcachefs (loop1): shutting down [ 424.255789][T12114] loop2: detected capacity change from 0 to 32768 [ 424.350553][T12029] bcachefs (loop1): shutdown complete [ 424.786250][T12107] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.870522][T12133] loop0: detected capacity change from 0 to 32768 [ 424.880778][T12140] loop4: detected capacity change from 0 to 32768 [ 425.005510][T12114] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.067555][T12140] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.107598][T12114] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 425.107598][T12114] allowing incompatible features above 0.0: (unknown version) [ 425.107646][T12133] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.168421][T12140] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.208147][T12140] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.218465][T12133] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.227725][T12133] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.257545][T12114] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 425.298504][T12114] bcachefs (loop2): Version upgrade required: [ 425.298504][T12114] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 425.298504][T12114] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 425.298504][T12114] 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 [ 425.422944][T12029] bcachefs: bch2_fs_get_tree() error: EINTR [ 425.429396][T12114] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 425.429414][T12114] 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 2025/05/11 09:02:04 executed programs: 527 [ 425.429427][T12114] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 425.429439][T12114] error not marked as autofix and not in fsck [ 425.429449][T12114] run fsck, and forward to devs so error can be marked for self-healing [ 425.429460][T12114] inconsistency detected - emergency read only at journal seq 10 [ 425.544111][T12140] bcachefs: bch2_fs_get_tree() error: EINVAL [ 425.568114][T12114] bcachefs (loop2): flagging btree extents lost data [ 425.685728][T12114] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 425.728720][T12133] bcachefs: bch2_fs_get_tree() error: EINVAL [ 425.768007][T12114] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 425.872480][T12114] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 425.902947][T12114] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 425.902966][T12114] 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 [ 425.902980][T12114] 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 [ 426.040019][T12114] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 426.040019][T12114] 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 [ 426.142656][T12114] bcachefs (loop2): scan_for_btree_nodes... [ 426.210958][T12114] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 426.261768][T12114] done [ 426.268496][T12114] bcachefs (loop2): check_topology... [ 426.269435][T12114] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 426.311502][T12114] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 426.358148][T12114] 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 [ 426.389920][T12158] loop3: detected capacity change from 0 to 32768 [ 426.409911][ T60] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 426.409937][ T60] 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 [ 426.409951][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 426.409962][ T60] error not marked as autofix and not in fsck [ 426.409970][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 426.474242][T12114] bcachefs (loop2): Topology repair: unreadable btree node at [ 426.474261][T12114] 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 [ 426.580741][T12160] loop1: detected capacity change from 0 to 32768 [ 426.614523][T12162] loop4: detected capacity change from 0 to 32768 [ 426.647466][T12158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.647588][T12158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.647677][T12158] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.744776][T12114] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 426.744795][T12114] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 426.807970][T12114] bcachefs (loop2): empty btree root extents [ 426.843296][T12162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.868220][T12114] done [ 426.871362][T12160] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.887513][T12114] bcachefs (loop2): accounting_read... [ 426.904247][T12165] loop0: detected capacity change from 0 to 32768 [ 426.917402][T12162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.928305][T12114] done [ 426.931195][T12114] bcachefs (loop2): alloc_read... done [ 426.938122][T12162] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.951307][T12114] bcachefs (loop2): snapshots_read... done [ 426.977855][T12160] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.992267][T12114] bcachefs (loop2): check_allocations... [ 426.994580][T12160] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.015635][T12114] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 427.015651][T12114] 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 [ 427.093533][T12158] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.108576][T12114] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 427.108593][T12114] 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 [ 427.209669][T12162] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.254413][T12165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.278635][T12114] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 427.278652][T12114] 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 [ 427.340173][T12165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.340283][T12165] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.532581][T12114] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 427.532600][T12114] 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 [ 427.661762][T12160] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.689011][T12114] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 427.689032][T12114] 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 [ 427.790335][T12165] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.796406][T12114] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.848129][T12114] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.903736][T12114] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.931213][T12114] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.988383][T12114] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.018589][T12114] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.058573][T12114] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.083729][T12114] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.149441][T12114] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.178712][T12114] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.211253][T12114] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.238169][T12114] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.282296][T12114] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.313606][T12114] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.345616][T12114] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.378144][T12114] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 428.409864][T12195] loop3: detected capacity change from 0 to 32768 [ 428.434932][T12114] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 428.449533][T12114] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 428.462566][T12114] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 428.528208][T12114] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 428.585797][T12114] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 428.585815][T12114] Ratelimiting new instances of previous error [ 428.604970][T12114] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 428.604989][T12114] Ratelimiting new instances of previous error [ 428.617808][T12195] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.618447][T12195] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.618543][T12195] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.633447][T12197] loop4: detected capacity change from 0 to 32768 [ 428.800028][T12114] done [ 428.803706][T12114] bcachefs (loop2): going read-write [ 428.817979][T12114] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 428.838014][T12114] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 428.857239][T12114] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 428.881939][T12197] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.893172][T12114] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 428.904381][T12200] loop1: detected capacity change from 0 to 32768 [ 428.915816][T12195] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.959090][T12197] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.989583][T12114] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 428.996241][T12114] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 429.013264][T12197] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 429.038061][T12114] bcachefs (loop2): shutting down [ 429.224613][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.233448][T12114] bcachefs (loop2): shutdown complete [ 429.249554][T12197] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.351164][T12202] loop0: detected capacity change from 0 to 32768 [ 429.375443][T12200] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 429.375443][T12200] allowing incompatible features above 0.0: (unknown version) [ 429.438119][T12200] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 429.477695][T12200] bcachefs (loop1): Version upgrade required: [ 429.477695][T12200] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 429.477695][T12200] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 429.477695][T12200] 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 [ 429.653432][T12200] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 429.653452][T12200] 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 [ 429.653465][T12200] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 429.653477][T12200] error not marked as autofix and not in fsck [ 429.653486][T12200] run fsck, and forward to devs so error can be marked for self-healing [ 429.653497][T12200] inconsistency detected - emergency read only at journal seq 10 [ 429.777876][T12114] bcachefs: bch2_fs_get_tree() error: EINTR [ 429.823738][T12200] bcachefs (loop1): flagging btree extents lost data [ 429.830730][T12200] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 429.833702][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.842685][T12200] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 429.910171][T12200] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 429.932633][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 429.932722][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.066529][T12200] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 430.066548][T12200] 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 [ 430.066562][T12200] 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 [ 430.203038][T12200] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 430.203038][T12200] 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 [ 430.253698][T12226] loop3: detected capacity change from 0 to 32768 [ 430.278611][T12202] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.305832][T12200] bcachefs (loop1): scan_for_btree_nodes... [ 430.446187][T12200] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 430.508127][T12200] done 2025/05/11 09:02:09 executed programs: 537 [ 430.511077][T12200] bcachefs (loop1): check_topology... [ 430.540505][T12200] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 430.550115][T12226] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.566098][T12226] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.575621][T12226] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.615235][T12200] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 430.678263][T12200] 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 [ 430.754265][ T60] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 430.754291][ T60] 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 [ 430.754303][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 430.754315][ T60] error not marked as autofix and not in fsck [ 430.754325][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 430.813382][T12200] bcachefs (loop1): Topology repair: unreadable btree node at [ 430.813399][T12200] 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 [ 430.899338][T12238] loop2: detected capacity change from 0 to 32768 [ 430.900146][T12235] loop4: detected capacity change from 0 to 32768 [ 430.948605][T12200] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 430.948623][T12200] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 430.957174][T12226] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.036465][T12200] bcachefs (loop1): empty btree root extents [ 431.053515][T12200] done [ 431.090127][T12200] bcachefs (loop1): accounting_read... done [ 431.166665][T12200] bcachefs (loop1): alloc_read... done [ 431.208015][T12200] bcachefs (loop1): snapshots_read... done [ 431.234986][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.260704][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.288441][T12200] bcachefs (loop1): check_allocations... [ 431.297198][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.313749][T12200] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 431.313767][T12200] 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 [ 431.314812][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.331972][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.385363][T12200] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 431.385381][T12200] 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 [ 431.418774][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.500511][T12200] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 431.500531][T12200] 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 [ 431.619591][T12200] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 431.619610][T12200] 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 [ 431.668342][T12235] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.710825][T12200] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 431.710844][T12200] 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 [ 431.779346][T12248] loop0: detected capacity change from 0 to 32768 [ 431.789220][T12238] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.904204][T12200] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.917349][T12200] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.941239][T12200] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.988356][T12248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.988480][T12248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.988569][T12248] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.128692][T12200] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.183132][T12200] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.212897][T12264] loop3: detected capacity change from 0 to 32768 [ 432.237210][T12200] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.278965][T12200] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.329839][T12200] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.376343][T12200] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.426740][T12200] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.444707][T12264] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.444830][T12264] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.444920][T12264] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.478520][T12248] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.513079][T12200] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.530805][T12200] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.560026][T12200] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.596059][T12200] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.658701][T12200] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.703747][T12200] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 432.757792][T12200] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.779876][T12200] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.810001][T12200] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.828174][T12200] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.862019][T12200] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.862037][T12200] Ratelimiting new instances of previous error [ 432.898292][T12264] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.913697][T12200] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.913717][T12200] Ratelimiting new instances of previous error [ 433.030182][T12273] loop4: detected capacity change from 0 to 32768 [ 433.056483][T12200] done [ 433.080368][T12200] bcachefs (loop1): going read-write [ 433.130728][T12200] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 433.185978][T12200] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 433.216218][T12273] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.226405][T12200] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 433.227584][T12273] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.246668][T12273] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.286239][T12200] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 433.329365][T12200] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 433.336022][T12200] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 433.364639][T12200] bcachefs (loop1): shutting down [ 433.457886][T12282] loop2: detected capacity change from 0 to 32768 [ 433.493325][T12200] bcachefs (loop1): shutdown complete [ 433.683588][T12284] loop0: detected capacity change from 0 to 32768 [ 433.821816][T12273] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.933388][T12294] loop3: detected capacity change from 0 to 32768 [ 434.077561][T12282] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.115221][T12282] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 434.115221][T12282] allowing incompatible features above 0.0: (unknown version) [ 434.138729][T12282] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 434.147361][T12282] bcachefs (loop2): Version upgrade required: [ 434.147361][T12282] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 434.147361][T12282] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 434.147361][T12282] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 434.247037][T12294] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.335890][T12282] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 434.335909][T12282] 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 [ 434.335921][T12282] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 434.335931][T12282] error not marked as autofix and not in fsck [ 434.335940][T12282] run fsck, and forward to devs so error can be marked for self-healing [ 434.335949][T12282] inconsistency detected - emergency read only at journal seq 10 [ 434.350011][T12200] bcachefs: bch2_fs_get_tree() error: EINTR [ 434.352265][T12284] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.352451][T12284] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.352534][T12284] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.358205][T12294] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.358289][T12294] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.693917][T12282] bcachefs (loop2): flagging btree extents lost data [ 434.710247][T12282] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 434.732751][T12284] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.762512][T12282] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 434.811742][T12294] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.845491][T12282] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 434.930874][T12282] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 434.930893][T12282] 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 [ 434.930907][T12282] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 435.108365][T12282] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 435.108365][T12282] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 435.211565][T12282] bcachefs (loop2): scan_for_btree_nodes... [ 435.280285][T12319] loop4: detected capacity change from 0 to 32768 [ 435.294422][T12282] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 435.318228][T12282] done [ 435.321118][T12282] bcachefs (loop2): check_topology... [ 435.329190][T12282] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 435.371778][T12282] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 435.415243][T12282] 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 [ 435.536152][ T60] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 435.536200][ T60] 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 [ 435.536214][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 435.536227][ T60] error not marked as autofix and not in fsck [ 435.536237][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 435.572227][T12319] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.613999][T12282] bcachefs (loop2): Topology repair: unreadable btree node at [ 435.614020][T12282] 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 [ 435.632433][T12324] loop0: detected capacity change from 0 to 32768 [ 435.711490][T12319] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.711594][T12319] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.745984][T12282] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 435.746001][T12282] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 435.764729][T12282] bcachefs (loop2): empty btree root extents [ 435.771071][T12282] done [ 435.773862][T12282] bcachefs (loop2): accounting_read... done [ 435.789853][T12322] loop1: detected capacity change from 0 to 32768 [ 435.805639][T12282] bcachefs (loop2): alloc_read... done [ 435.818639][T12282] bcachefs (loop2): snapshots_read... done [ 435.824685][T12282] bcachefs (loop2): check_allocations... [ 435.831396][T12282] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 435.831416][T12282] 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 [ 435.892467][T12324] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.892594][T12324] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.892684][T12324] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.053533][T12282] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 436.053554][T12282] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 436.140140][T12322] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.140265][T12322] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.140354][T12322] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.213290][T12282] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 436.213309][T12282] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 436.224428][T12324] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.319373][T12282] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 436.319391][T12282] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 436.358658][T12319] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.448251][T12282] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 436.448268][T12282] 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 [ 436.482854][T12328] loop3: detected capacity change from 0 to 32768 [ 436.552770][T12282] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.565674][T12282] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/11 09:02:15 executed programs: 547 [ 436.583014][T12282] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.594248][T12282] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.610287][T12282] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.635172][T12282] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.654460][T12282] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.670169][T12322] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.714695][T12328] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.714825][T12328] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.714906][T12328] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.766830][T12282] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.844406][T12282] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.879034][T12282] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.921392][T12282] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.955556][T12282] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.001894][T12282] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.058201][T12282] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.081262][T12282] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.106292][T12282] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 437.155712][T12328] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.163239][T12282] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.176289][T12282] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.208525][T12282] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.260867][T12282] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.304913][T12282] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.304933][T12282] Ratelimiting new instances of previous error [ 437.334572][T12282] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.334591][T12282] Ratelimiting new instances of previous error [ 437.417087][T12282] done [ 437.428715][T12282] bcachefs (loop2): going read-write [ 437.445381][T12282] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 437.467037][T12282] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 437.478245][T12282] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 437.500368][T12282] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 437.560330][T12282] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 437.566988][T12282] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 437.598782][T12282] bcachefs (loop2): shutting down [ 437.641133][T12358] loop0: detected capacity change from 0 to 32768 [ 437.729997][T12282] bcachefs (loop2): shutdown complete [ 437.814303][T12360] loop4: detected capacity change from 0 to 32768 [ 438.024635][T12365] loop3: detected capacity change from 0 to 32768 [ 438.085236][T12362] loop1: detected capacity change from 0 to 32768 [ 438.526719][T12360] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.526719][T12358] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.539529][T12365] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.567386][T12362] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.576068][T12360] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.590282][T12360] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.590981][T12358] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 438.590981][T12358] allowing incompatible features above 0.0: (unknown version) [ 438.608665][T12365] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.627240][T12358] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 438.639643][T12358] bcachefs (loop0): Version upgrade required: [ 438.639643][T12358] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 438.639643][T12358] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 438.639643][T12358] 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 [ 438.720719][T12365] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.757654][T12362] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.782319][T12358] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 438.782339][T12358] 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 [ 438.782352][T12358] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 438.782365][T12358] error not marked as autofix and not in fsck [ 438.782375][T12358] run fsck, and forward to devs so error can be marked for self-healing [ 438.782385][T12358] inconsistency detected - emergency read only at journal seq 10 [ 438.794598][T12362] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.840016][T12282] bcachefs: bch2_fs_get_tree() error: EINTR [ 439.072627][T12365] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.123138][T12360] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.145586][T12358] bcachefs (loop0): flagging btree extents lost data [ 439.172522][T12358] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 439.236237][T12362] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.242712][T12358] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 439.319488][T12358] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 439.391233][T12358] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 439.391252][T12358] 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 [ 439.391264][T12358] 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 [ 439.514029][T12358] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 439.514029][T12358] 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 [ 439.600770][T12358] bcachefs (loop0): scan_for_btree_nodes... [ 439.652254][T12358] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 439.691678][T12358] done [ 439.700714][T12358] bcachefs (loop0): check_topology... [ 439.714005][T12358] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 439.759583][T12358] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 439.803133][T12358] 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 [ 439.890577][ T60] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 439.890603][ T60] 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 [ 439.890617][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 439.890629][ T60] error not marked as autofix and not in fsck [ 439.890639][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 439.949860][T12358] bcachefs (loop0): Topology repair: unreadable btree node at [ 439.949878][T12358] 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 [ 439.979446][T12358] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 439.979464][T12358] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 439.996605][T12358] bcachefs (loop0): empty btree root extents [ 440.003933][T12358] done [ 440.006867][T12358] bcachefs (loop0): accounting_read... done [ 440.023768][T12358] bcachefs (loop0): alloc_read... done [ 440.034925][T12358] bcachefs (loop0): snapshots_read... done [ 440.044280][T12358] bcachefs (loop0): check_allocations... [ 440.052204][T12358] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 440.052225][T12358] 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 [ 440.162589][ T1301] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.171201][ T1301] ieee802154 phy1 wpan1: encryption failed: -22 [ 440.183062][T12358] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 440.183080][T12358] 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 [ 440.192770][T12397] loop3: detected capacity change from 0 to 32768 [ 440.258570][T12358] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 440.258589][T12358] 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 [ 440.345550][T12395] loop2: detected capacity change from 0 to 32768 [ 440.382551][T12358] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 440.382572][T12358] 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 [ 440.417006][T12397] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.417162][T12397] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.417243][T12397] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.491260][T12402] loop1: detected capacity change from 0 to 32768 [ 440.576235][T12395] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.576361][T12395] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.576451][T12395] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.741979][T12400] loop4: detected capacity change from 0 to 32768 [ 440.762478][T12397] bcachefs: bch2_fs_get_tree() error: EINVAL [ 440.783202][T12402] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.877575][T12402] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.890800][T12358] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 440.890817][T12358] 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 [ 440.901844][T12402] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.955186][T12358] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.965706][T12358] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.977882][T12358] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.988378][T12358] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.028829][T12358] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.069787][T12400] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.069908][T12400] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.069996][T12400] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.134459][T12395] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.238593][T12358] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.300798][T12358] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.331652][T12358] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.360235][T12402] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.429477][T12358] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.468179][T12358] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.498299][T12358] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.532839][T12358] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.532928][T12400] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.585356][T12358] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.608104][T12358] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.628775][T12358] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.648222][T12358] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing 2025/05/11 09:02:20 executed programs: 556 [ 441.691962][T12358] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 441.739803][T12358] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 441.807082][T12358] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 441.843539][T12358] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 441.881173][T12358] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 441.881193][T12358] Ratelimiting new instances of previous error [ 441.954577][T12358] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 441.954597][T12358] Ratelimiting new instances of previous error [ 442.061186][T12358] done [ 442.079596][T12358] bcachefs (loop0): going read-write [ 442.098229][T12358] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 442.118038][T12358] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 442.137221][T12358] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 442.157618][T12358] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 442.213204][T12358] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 442.237545][T12358] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 442.261980][T12358] bcachefs (loop0): shutting down [ 442.289243][T12432] loop3: detected capacity change from 0 to 32768 [ 442.411592][T12358] bcachefs (loop0): shutdown complete [ 442.477730][T12434] loop2: detected capacity change from 0 to 32768 [ 442.535416][T12436] loop1: detected capacity change from 0 to 32768 [ 442.676367][T12438] loop4: detected capacity change from 0 to 32768 [ 442.864953][T12432] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.904822][T12432] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 442.904822][T12432] allowing incompatible features above 0.0: (unknown version) [ 442.923169][T12434] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.941113][T12432] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 442.948574][T12434] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.950350][T12432] bcachefs (loop3): Version upgrade required: [ 442.950350][T12432] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 442.950350][T12432] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 442.950350][T12432] 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 [ 442.968367][T12434] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.032520][T12436] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.043356][T12438] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.054149][T12436] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.085176][T12432] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 443.085196][T12432] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 443.085209][T12432] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 443.085222][T12432] error not marked as autofix and not in fsck [ 443.085231][T12432] run fsck, and forward to devs so error can be marked for self-healing [ 443.085241][T12432] inconsistency detected - emergency read only at journal seq 10 [ 443.123600][T12436] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.123636][T12438] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.123720][T12438] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.328903][T12358] bcachefs: bch2_fs_get_tree() error: EINTR [ 443.388087][T12432] bcachefs (loop3): flagging btree extents lost data [ 443.410681][T12434] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.416847][T12432] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 443.478027][T12432] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 443.524145][T12438] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.553568][T12432] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 443.574816][T12436] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.625852][T12432] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 443.625871][T12432] 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 [ 443.625883][T12432] 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 [ 443.813677][T12432] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 443.813677][T12432] 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 [ 443.925800][T12432] bcachefs (loop3): scan_for_btree_nodes... [ 444.047586][T12432] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 444.088033][T12432] done [ 444.093496][T12432] bcachefs (loop3): check_topology... [ 444.095156][T12432] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 444.152491][T12432] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 444.204724][T12432] 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 [ 444.291974][ T60] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 444.292001][ T60] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 444.292014][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 444.292026][ T60] error not marked as autofix and not in fsck [ 444.292035][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 444.358346][T12432] bcachefs (loop3): Topology repair: unreadable btree node at [ 444.358364][T12432] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 444.481792][T12432] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 444.481811][T12432] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 444.481867][T12474] loop1: detected capacity change from 0 to 32768 [ 444.512785][T12469] loop0: detected capacity change from 0 to 32768 [ 444.520059][T12432] bcachefs (loop3): empty btree root extents [ 444.541190][T12432] done [ 444.544014][T12432] bcachefs (loop3): accounting_read... done [ 444.588497][T12432] bcachefs (loop3): alloc_read... done [ 444.609827][T12432] bcachefs (loop3): snapshots_read... done [ 444.648746][T12432] bcachefs (loop3): check_allocations... [ 444.654163][T12432] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 444.654183][T12432] 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 [ 444.688449][T12474] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 444.688610][T12474] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.688700][T12474] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.730229][T12472] loop2: detected capacity change from 0 to 32768 [ 444.788643][T12469] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 444.812203][T12432] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 444.812222][T12432] 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 [ 444.831885][T12469] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.866646][T12432] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 444.866666][T12432] 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 [ 444.954484][T12469] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.963633][T12432] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 444.963650][T12432] 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 [ 444.964395][T12476] loop4: detected capacity change from 0 to 32768 [ 444.995208][T12472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.008976][T12472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.044460][T12432] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 445.044481][T12432] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 445.075654][T12472] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.158832][T12432] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.188146][T12432] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.200495][T12432] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.218321][T12432] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.241077][T12474] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.256856][T12432] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.267006][T12476] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.267153][T12476] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.267248][T12476] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.360845][T12432] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.372733][T12432] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.388854][T12432] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.466932][T12432] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.482730][T12469] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.528366][T12432] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.561837][T12472] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.627509][T12432] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.658429][T12432] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.713393][T12432] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.772167][T12432] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.792485][T12432] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.803125][T12432] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 445.823648][T12432] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 445.838370][T12476] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.894399][T12432] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 445.947213][T12432] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 445.996859][T12432] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.042423][T12432] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.042442][T12432] Ratelimiting new instances of previous error [ 446.100713][T12432] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.100732][T12432] Ratelimiting new instances of previous error [ 446.206120][T12432] done [ 446.221902][T12432] bcachefs (loop3): going read-write [ 446.257140][T12432] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 446.291925][T12432] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 446.318379][T12432] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 446.348081][T12432] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 446.413194][T12432] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 446.448075][T12432] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 446.467197][T12432] bcachefs (loop3): shutting down [ 446.526047][T12506] loop1: detected capacity change from 0 to 32768 [ 446.575381][T12432] bcachefs (loop3): shutdown complete [ 446.647695][T12510] loop2: detected capacity change from 0 to 32768 [ 446.792093][T12508] loop0: detected capacity change from 0 to 32768 [ 446.839509][T12512] loop4: detected capacity change from 0 to 32768 [ 446.965450][T12506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.051254][T12508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.073509][T12510] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.077322][T12512] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.088577][T12508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.106944][T12506] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 447.106944][T12506] allowing incompatible features above 0.0: (unknown version) [ 447.159902][T12508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.163828][T12506] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 447.168230][T12512] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.176637][T12506] bcachefs (loop1): Version upgrade required: [ 447.176637][T12506] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 447.176637][T12506] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 447.176637][T12506] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 447.223956][T12510] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.296401][T12506] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 447.296421][T12506] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 2025/05/11 09:02:26 executed programs: 567 [ 447.296434][T12506] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 447.296446][T12506] error not marked as autofix and not in fsck [ 447.296456][T12506] run fsck, and forward to devs so error can be marked for self-healing [ 447.296466][T12506] inconsistency detected - emergency read only at journal seq 10 [ 447.315624][T12510] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.369331][T12512] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.372589][T12432] bcachefs: bch2_fs_get_tree() error: EINTR [ 447.644215][T12508] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.701239][T12506] bcachefs (loop1): flagging btree extents lost data [ 447.708428][T12510] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.751318][T12512] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.758957][T12506] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 447.817973][T12506] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 447.898318][T12506] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 447.995273][T12506] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 447.995293][T12506] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 447.995307][T12506] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 448.161723][T12506] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 448.161723][T12506] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 448.269357][T12506] bcachefs (loop1): scan_for_btree_nodes... [ 448.306843][T12506] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 448.356238][T12506] done [ 448.373737][T12506] bcachefs (loop1): check_topology... [ 448.374622][T12506] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 448.401183][T12506] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 448.441721][T12506] 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 [ 448.501330][ T8360] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 448.501357][ T8360] 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 [ 448.501371][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 448.501384][ T8360] error not marked as autofix and not in fsck [ 448.501393][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 448.581585][T12506] bcachefs (loop1): Topology repair: unreadable btree node at [ 448.581604][T12506] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 448.628434][T12506] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 448.628453][T12506] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 448.694421][T12506] bcachefs (loop1): empty btree root extents [ 448.704802][T12545] loop0: detected capacity change from 0 to 32768 [ 448.728716][T12506] done [ 448.731788][T12506] bcachefs (loop1): accounting_read... done [ 448.739767][T12506] bcachefs (loop1): alloc_read... done [ 448.745959][T12506] bcachefs (loop1): snapshots_read... done [ 448.764899][T12543] loop3: detected capacity change from 0 to 32768 [ 448.768911][T12506] bcachefs (loop1): check_allocations... [ 448.776850][T12506] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 448.776869][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 448.899746][T12545] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 448.899897][T12545] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 448.899994][T12545] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.032978][T12549] loop2: detected capacity change from 0 to 32768 [ 449.034302][T12543] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.034418][T12543] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.034506][T12543] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.253804][T12549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.265205][T12506] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 449.265224][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 449.265906][T12549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.304422][T12548] loop4: detected capacity change from 0 to 32768 [ 449.304933][T12549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.322464][T12506] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 449.322482][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 449.408352][T12506] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 449.408372][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 449.447853][T12543] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.533168][T12548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.533305][T12548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.533395][T12548] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.636392][T12545] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.696174][T12506] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 449.696194][T12506] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 449.861612][T12506] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.882040][T12506] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.903005][T12549] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.916180][T12548] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.932348][T12506] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.949269][T12506] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.021795][T12506] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.088363][T12506] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.137774][T12506] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.168195][T12506] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.224071][T12506] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.268096][T12506] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.308526][T12506] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.344580][T12506] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.376315][T12506] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.392664][T12506] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.450750][T12506] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.482150][T12506] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 450.495586][T12506] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.512250][T12506] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.545016][T12506] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.578347][T12506] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.604563][T12506] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.604582][T12506] Ratelimiting new instances of previous error [ 450.647220][T12506] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.647238][T12506] Ratelimiting new instances of previous error [ 450.740236][T12506] done [ 450.743706][T12506] bcachefs (loop1): going read-write [ 450.765205][T12506] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 450.807365][T12506] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 450.839066][T12506] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 450.859699][T12506] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 450.933036][T12506] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 450.951487][T12506] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 450.962695][T12580] loop3: detected capacity change from 0 to 32768 [ 450.988153][T12506] bcachefs (loop1): shutting down [ 451.079557][T12506] bcachefs (loop1): shutdown complete [ 451.156160][T12582] loop0: detected capacity change from 0 to 32768 [ 451.235611][T12586] loop4: detected capacity change from 0 to 32768 [ 451.321203][T12584] loop2: detected capacity change from 0 to 32768 [ 451.522593][T12580] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.573794][T12580] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 451.573794][T12580] allowing incompatible features above 0.0: (unknown version) [ 451.601435][T12580] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 451.610491][T12580] bcachefs (loop3): Version upgrade required: [ 451.610491][T12580] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 451.610491][T12580] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 451.610491][T12580] 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 [ 451.698607][T12582] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.706774][T12586] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.715768][T12584] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.736644][T12580] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 451.736663][T12580] 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 [ 451.736675][T12580] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 451.736686][T12580] error not marked as autofix and not in fsck [ 451.736694][T12580] run fsck, and forward to devs so error can be marked for self-healing [ 451.736702][T12580] inconsistency detected - emergency read only at journal seq 10 [ 451.752183][T12582] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.752277][T12582] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.768173][T12586] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.793473][T12580] bcachefs (loop3): flagging btree extents lost data [ 451.793509][T12580] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 451.793530][T12580] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 451.868192][T12580] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 451.880131][T12586] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.882713][T12584] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.918901][T12506] bcachefs: bch2_fs_get_tree() error: EINTR [ 451.928211][T12584] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.941216][T12580] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 451.941233][T12580] 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.941243][T12580] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 452.069236][T12580] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 452.069236][T12580] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 452.117196][T12582] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.188466][T12580] bcachefs (loop3): scan_for_btree_nodes... [ 452.294818][T12586] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.353460][T12580] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 452.372264][T12580] done [ 452.381814][T12580] bcachefs (loop3): check_topology... [ 452.390985][T12580] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 452.391237][T12584] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.422263][T12580] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 452.473684][T12580] 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 2025/05/11 09:02:31 executed programs: 576 [ 452.566060][ T8360] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 452.566087][ T8360] 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 [ 452.566100][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 452.566111][ T8360] error not marked as autofix and not in fsck [ 452.566121][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 452.675131][T12580] bcachefs (loop3): Topology repair: unreadable btree node at [ 452.675151][T12580] 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 [ 452.781279][T12580] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 452.781298][T12580] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 452.815719][T12580] bcachefs (loop3): empty btree root extents [ 452.831410][T12580] done [ 452.841380][T12580] bcachefs (loop3): accounting_read... done [ 452.856973][T12580] bcachefs (loop3): alloc_read... done [ 452.879007][T12580] bcachefs (loop3): snapshots_read... done [ 452.885037][T12580] bcachefs (loop3): check_allocations... [ 452.899008][T12580] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 452.899029][T12580] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 453.028871][T12580] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 453.028889][T12580] 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.129768][T12580] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 453.129787][T12580] 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.204926][T12618] loop1: detected capacity change from 0 to 32768 [ 453.262353][T12580] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 453.262373][T12580] 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.348950][T12580] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 453.348969][T12580] 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.430745][T12580] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.466987][T12620] loop0: detected capacity change from 0 to 32768 [ 453.472663][T12624] loop2: detected capacity change from 0 to 32768 [ 453.474186][T12618] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.474309][T12618] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.474400][T12618] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.628681][T12580] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.646403][T12580] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.657878][T12580] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.669816][T12580] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.674703][T12624] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.721756][T12580] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.748553][T12624] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.748661][T12624] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.766359][T12623] loop4: detected capacity change from 0 to 32768 [ 453.780102][T12618] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.816817][T12620] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.816937][T12620] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.817027][T12620] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.968503][T12580] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.051817][T12580] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.065876][T12580] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.081492][T12580] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.087006][T12623] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.104582][T12580] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.129285][T12580] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.158183][T12623] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.167450][T12623] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.187832][T12580] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.223204][T12580] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.228594][T12624] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.285917][T12580] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.322060][T12580] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 454.356812][T12620] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.414564][T12580] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.476933][T12580] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.551797][T12580] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.584788][T12580] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.627413][T12580] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.627431][T12580] Ratelimiting new instances of previous error [ 454.674943][T12580] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.674962][T12580] Ratelimiting new instances of previous error [ 454.719389][T12623] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.774010][T12580] done [ 454.777417][T12580] bcachefs (loop3): going read-write [ 454.850180][T12580] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 454.898225][T12580] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 454.907126][T12580] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 454.978111][T12580] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 455.049470][T12580] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 455.056291][T12580] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 455.088259][T12580] bcachefs (loop3): shutting down [ 455.146260][T12654] loop1: detected capacity change from 0 to 32768 [ 455.166291][T12580] bcachefs (loop3): shutdown complete [ 455.350017][T12659] loop0: detected capacity change from 0 to 32768 [ 455.652882][T12662] loop4: detected capacity change from 0 to 32768 [ 455.662938][T12656] loop2: detected capacity change from 0 to 32768 [ 455.837178][T12659] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.861974][T12654] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.904617][T12654] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.922684][T12654] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.927378][T12656] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.932951][T12659] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 455.932951][T12659] allowing incompatible features above 0.0: (unknown version) [ 455.942750][T12656] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.983316][T12659] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 455.995407][T12656] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.010779][T12662] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.022073][T12659] bcachefs (loop0): Version upgrade required: [ 456.022073][T12659] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 456.022073][T12659] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 456.022073][T12659] 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.093432][T12662] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.110955][T12662] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.178651][T12659] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 456.178670][T12659] 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.178683][T12659] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 456.178695][T12659] error not marked as autofix and not in fsck [ 456.178705][T12659] run fsck, and forward to devs so error can be marked for self-healing [ 456.178716][T12659] inconsistency detected - emergency read only at journal seq 10 [ 456.288771][T12580] bcachefs: bch2_fs_get_tree() error: EINTR [ 456.367131][T12654] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.514170][T12659] bcachefs (loop0): flagging btree extents lost data [ 456.523515][T12656] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.548274][T12662] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.572543][T12659] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 456.648063][T12659] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 456.725301][T12659] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 456.778288][T12659] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 456.778309][T12659] 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 [ 456.778323][T12659] 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 [ 456.950745][T12659] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 456.950745][T12659] 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.033780][T12659] bcachefs (loop0): scan_for_btree_nodes... [ 457.150747][T12659] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 457.195315][T12659] done [ 457.212706][T12659] bcachefs (loop0): check_topology... [ 457.215997][T12659] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 457.252547][T12659] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 457.287102][T12659] 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 [ 457.339077][ T8360] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 457.339103][ T8360] 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.339116][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 457.339128][ T8360] error not marked as autofix and not in fsck [ 457.339138][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 457.403152][T12659] bcachefs (loop0): Topology repair: unreadable btree node at [ 457.403172][T12659] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 457.448449][T12659] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 457.448466][T12659] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 457.468240][T12659] bcachefs (loop0): empty btree root extents [ 457.474908][T12659] done [ 457.487875][T12659] bcachefs (loop0): accounting_read... done [ 457.532030][T12659] bcachefs (loop0): alloc_read... done [ 457.555240][T12697] loop2: detected capacity change from 0 to 32768 [ 457.559732][T12659] bcachefs (loop0): snapshots_read... done [ 457.585294][T12691] loop3: detected capacity change from 0 to 32768 [ 457.593721][T12659] bcachefs (loop0): check_allocations... [ 457.598893][T12659] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 457.598912][T12659] 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 [ 457.700221][T12659] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 457.700242][T12659] 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 [ 457.746579][T12659] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 457.746597][T12659] 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 [ 457.783847][T12697] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.836407][T12659] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 457.836427][T12659] 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 [ 457.859301][T12697] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.859397][T12697] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.879359][T12691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.911125][T12691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.921352][T12691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.940138][T12696] loop4: detected capacity change from 0 to 32768 [ 457.951128][T12693] loop1: detected capacity change from 0 to 32768 [ 457.987019][T12659] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 457.987037][T12659] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 458.048224][T12659] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.114436][T12659] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.160695][T12691] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.198614][T12659] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.248204][T12693] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.248343][T12693] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.248434][T12693] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.268529][T12696] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.268656][T12696] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.268744][T12696] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.369577][T12697] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.421189][T12659] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.474848][T12659] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.502573][T12659] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.521881][T12659] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.558203][T12659] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.583898][T12659] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.620374][T12659] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/11 09:02:37 executed programs: 587 [ 458.670314][T12659] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.731083][T12659] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.768404][T12659] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.808835][T12659] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.808873][T12696] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.831181][T12693] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.853498][T12659] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.894070][T12659] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 458.945276][T12659] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.982497][T12659] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.056077][T12659] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 459.098263][T12659] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.127286][T12659] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 459.127305][T12659] Ratelimiting new instances of previous error [ 459.192172][T12659] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.192191][T12659] Ratelimiting new instances of previous error [ 459.320979][T12659] done [ 459.324482][T12659] bcachefs (loop0): going read-write [ 459.377579][T12659] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 459.418117][T12659] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 459.447384][T12659] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 459.488029][T12659] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 459.546718][T12730] loop2: detected capacity change from 0 to 32768 [ 459.549379][T12659] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 459.578021][T12659] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 459.598065][T12659] bcachefs (loop0): shutting down [ 459.657021][T12728] loop3: detected capacity change from 0 to 32768 [ 459.706019][T12659] bcachefs (loop0): shutdown complete [ 459.924886][T12732] loop4: detected capacity change from 0 to 32768 [ 459.985082][T12734] loop1: detected capacity change from 0 to 32768 [ 460.460410][T12732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.481808][T12730] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.482264][T12734] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.500743][T12728] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.533664][T12734] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 460.533664][T12734] allowing incompatible features above 0.0: (unknown version) [ 460.556633][T12732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.566412][T12732] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.574716][T12730] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.584177][T12734] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 460.611019][T12730] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.621213][T12734] bcachefs (loop1): Version upgrade required: [ 460.621213][T12734] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 460.621213][T12734] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 460.621213][T12734] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 460.691894][T12728] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.710757][T12728] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.721617][T12659] bcachefs: bch2_fs_get_tree() error: EINTR [ 460.747348][T12734] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 460.747367][T12734] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 460.747380][T12734] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 460.747392][T12734] error not marked as autofix and not in fsck [ 460.747402][T12734] run fsck, and forward to devs so error can be marked for self-healing [ 460.747412][T12734] inconsistency detected - emergency read only at journal seq 10 [ 460.858411][T12732] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.019835][T12734] bcachefs (loop1): flagging btree extents lost data [ 461.035433][T12730] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.051915][T12734] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 461.120372][T12734] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 461.181815][T12734] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 461.210635][T12728] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.239313][T12734] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 461.239331][T12734] 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.239343][T12734] 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.382539][T12734] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 461.382539][T12734] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 461.422978][T12734] bcachefs (loop1): scan_for_btree_nodes... [ 461.454170][T12734] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 461.498028][T12734] done [ 461.500989][T12734] bcachefs (loop1): check_topology... [ 461.510307][T12734] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 461.559543][T12734] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 461.591073][T12734] 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 [ 461.671140][ T8360] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 461.671169][ T8360] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 461.671180][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 461.671190][ T8360] error not marked as autofix and not in fsck [ 461.671199][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 461.753674][T12734] bcachefs (loop1): Topology repair: unreadable btree node at [ 461.753693][T12734] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 461.795131][T12734] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 461.795150][T12734] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 461.820902][T12734] bcachefs (loop1): empty btree root extents [ 461.828437][T12734] done [ 461.831444][T12734] bcachefs (loop1): accounting_read... done [ 461.868091][T12734] bcachefs (loop1): alloc_read... done [ 461.873725][T12734] bcachefs (loop1): snapshots_read... done [ 461.911510][T12734] bcachefs (loop1): check_allocations... [ 461.920228][T12734] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 461.920248][T12734] 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.060617][T12734] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 462.060645][T12734] 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.082226][T12766] loop0: detected capacity change from 0 to 32768 [ 462.152834][T12734] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 462.152854][T12734] 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.174080][T12768] loop4: detected capacity change from 0 to 32768 [ 462.263142][T12734] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 462.263160][T12734] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 462.297218][T12766] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.326950][T12766] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.337289][T12766] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.349957][T12734] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 462.349977][T12734] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 462.388859][T12768] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.388981][T12768] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.389072][T12768] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.436519][T12773] loop3: detected capacity change from 0 to 32768 [ 462.445284][T12734] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.498114][T12734] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.549267][T12734] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.579638][T12734] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.600383][T12734] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.611041][T12734] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.626066][T12734] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.631792][T12771] loop2: detected capacity change from 0 to 32768 [ 462.653941][T12773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.665278][T12734] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.676730][T12773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.676819][T12773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.798884][T12766] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.824519][T12734] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.863984][T12771] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.864100][T12771] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.864180][T12771] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.920499][T12768] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.035311][T12734] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.086975][T12734] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.123816][T12734] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.169021][T12734] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.190708][T12773] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.241222][T12734] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.289230][T12771] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.316738][T12734] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.387668][T12734] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 463.428375][T12734] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.455291][T12734] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.485195][T12734] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.557760][T12734] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.598447][T12734] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing 2025/05/11 09:02:42 executed programs: 598 [ 463.598465][T12734] Ratelimiting new instances of previous error [ 463.741618][T12734] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.741637][T12734] Ratelimiting new instances of previous error [ 463.856360][T12734] done [ 463.875650][T12734] bcachefs (loop1): going read-write [ 463.912358][T12734] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 463.938777][T12734] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 463.958544][T12734] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 463.988916][T12734] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 464.039502][T12734] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 464.046149][T12734] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 464.082944][T12734] bcachefs (loop1): shutting down [ 464.084925][T12805] loop2: detected capacity change from 0 to 32768 [ 464.209375][T12734] bcachefs (loop1): shutdown complete [ 464.342102][T12803] loop0: detected capacity change from 0 to 32768 [ 464.396713][T12807] loop4: detected capacity change from 0 to 32768 [ 464.494635][T12809] loop3: detected capacity change from 0 to 32768 [ 464.667025][T12805] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.717487][T12803] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.785678][T12807] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.786445][T12809] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.824500][T12805] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 464.824500][T12805] allowing incompatible features above 0.0: (unknown version) [ 464.853660][T12803] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.863226][T12803] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.874715][T12807] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.884206][T12805] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 464.896043][T12809] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.908244][T12805] bcachefs (loop2): Version upgrade required: [ 464.908244][T12805] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 464.908244][T12805] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 464.908244][T12805] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 464.913093][T12734] bcachefs: bch2_fs_get_tree() error: EINTR [ 464.986360][T12809] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.995341][T12807] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 465.044665][T12805] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 465.044685][T12805] 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.044697][T12805] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 465.044709][T12805] error not marked as autofix and not in fsck [ 465.044719][T12805] run fsck, and forward to devs so error can be marked for self-healing [ 465.044729][T12805] inconsistency detected - emergency read only at journal seq 10 [ 465.225815][T12803] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.298665][T12805] bcachefs (loop2): flagging btree extents lost data [ 465.317983][T12805] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 465.368047][T12805] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 465.407300][T12805] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 465.424304][T12807] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.462664][T12805] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 465.462684][T12805] 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.462697][T12805] 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.498555][T12809] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.678506][T12805] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 465.678506][T12805] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 465.844991][T12805] bcachefs (loop2): scan_for_btree_nodes... [ 465.951968][T12805] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 465.987987][T12805] done [ 465.990899][T12805] bcachefs (loop2): check_topology... [ 465.992074][T12805] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 466.035676][T12805] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 466.083127][T12805] 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 [ 466.146051][ T8360] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 466.146078][ T8360] 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.146092][ T8360] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 466.146104][ T8360] error not marked as autofix and not in fsck [ 466.146114][ T8360] run fsck, and forward to devs so error can be marked for self-healing [ 466.224600][T12805] bcachefs (loop2): Topology repair: unreadable btree node at [ 466.224619][T12805] 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.358106][T12805] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 466.358124][T12805] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 466.372364][T12847] loop4: detected capacity change from 0 to 32768 [ 466.448049][T12805] bcachefs (loop2): empty btree root extents [ 466.468060][T12805] done [ 466.470884][T12805] bcachefs (loop2): accounting_read... done [ 466.511102][T12805] bcachefs (loop2): alloc_read... done [ 466.517241][T12805] bcachefs (loop2): snapshots_read... done [ 466.537998][T12805] bcachefs (loop2): check_allocations... [ 466.540867][T12805] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 466.540889][T12805] 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.554118][T12840] loop1: detected capacity change from 0 to 32768 [ 466.563280][T12847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.563405][T12847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.563499][T12847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.607536][T12842] loop0: detected capacity change from 0 to 32768 [ 466.611432][T12844] loop3: detected capacity change from 0 to 32768 [ 466.733390][T12805] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 466.733409][T12805] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 466.766854][T12805] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 466.766873][T12805] 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 [ 466.881911][T12844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.882035][T12844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.882112][T12844] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.906883][T12840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.987282][T12840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.055104][T12840] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.065587][T12805] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 467.065603][T12805] 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.099146][T12842] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.099268][T12842] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.099356][T12842] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.145384][T12847] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.160969][T12844] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.411235][T12805] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 467.411254][T12805] 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.507615][T12805] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.523182][T12840] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.548604][T12842] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.602377][T12805] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.644741][T12805] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.718279][T12805] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.768602][T12805] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.808159][T12805] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.838664][T12805] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.868977][T12805] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.900936][T12805] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.939049][T12805] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.987743][T12805] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.016925][T12805] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.038302][T12805] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.068104][T12805] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.118374][T12805] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.138112][T12805] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 468.160180][T12805] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 468.182165][T12805] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 468.208286][T12805] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 468.228457][T12805] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 468.242766][T12877] loop3: detected capacity change from 0 to 32768 [ 468.310778][T12805] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 468.310798][T12805] Ratelimiting new instances of previous error [ 468.365650][T12805] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 468.365667][T12805] Ratelimiting new instances of previous error [ 468.450360][T12877] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.495139][T12881] loop1: detected capacity change from 0 to 32768 [ 468.511410][T12877] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.520847][T12877] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.523207][T12805] done [ 468.562950][T12805] bcachefs (loop2): going read-write [ 468.569433][T12879] loop4: detected capacity change from 0 to 32768 [ 468.600490][T12805] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 468.626033][T12805] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 468.648083][T12805] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 468.689240][T12805] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 468.773025][T12881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.810956][T12881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.821761][T12805] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 468.822075][T12883] loop0: detected capacity change from 0 to 32768 [ 468.830483][T12879] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.852365][T12805] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 468.871007][T12881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.882315][T12805] bcachefs (loop2): shutting down [ 468.888925][T12879] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.913147][T12877] bcachefs: bch2_fs_get_tree() error: EINVAL [ 468.913659][T12879] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.963673][T12805] bcachefs (loop2): shutdown complete 2025/05/11 09:02:48 executed programs: 607 [ 469.363984][T12883] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 469.398517][T12881] bcachefs: bch2_fs_get_tree() error: EINVAL [ 469.414302][T12879] bcachefs: bch2_fs_get_tree() error: EINVAL [ 469.462332][T12883] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 469.462332][T12883] allowing incompatible features above 0.0: (unknown version) [ 469.536460][T12883] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 469.576026][T12883] bcachefs (loop0): Version upgrade required: [ 469.576026][T12883] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 469.576026][T12883] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 469.576026][T12883] 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 [ 469.731535][T12883] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 469.731555][T12883] 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 [ 469.731568][T12883] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 469.731581][T12883] error not marked as autofix and not in fsck [ 469.731590][T12883] run fsck, and forward to devs so error can be marked for self-healing [ 469.731600][T12883] inconsistency detected - emergency read only at journal seq 10 [ 469.743350][T12805] bcachefs: bch2_fs_get_tree() error: EINTR [ 469.833215][T12914] loop3: detected capacity change from 0 to 32768 [ 469.859660][T12883] bcachefs (loop0): flagging btree extents lost data [ 469.910501][T12883] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 469.978447][T12883] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 470.046241][T12883] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 470.113263][T12883] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 470.113283][T12883] 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 [ 470.113297][T12883] 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 [ 470.130863][T12914] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.130991][T12914] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.131083][T12914] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 470.420991][T12883] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 470.420991][T12883] 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 [ 470.504826][T12883] bcachefs (loop0): scan_for_btree_nodes... [ 470.525456][T12883] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 470.541409][T12883] done [ 470.544204][T12883] bcachefs (loop0): check_topology... [ 470.550327][T12883] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 470.566123][T12916] loop1: detected capacity change from 0 to 32768 [ 470.581895][T12883] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 470.592873][T12914] bcachefs: bch2_fs_get_tree() error: EINVAL [ 470.635853][T12883] 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 [ 470.687577][T12916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.703482][T12918] loop4: detected capacity change from 0 to 32768 [ 470.712344][ T60] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 470.712372][ T60] 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 [ 470.712386][ T60] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 470.712399][ T60] error not marked as autofix and not in fsck [ 470.712408][ T60] run fsck, and forward to devs so error can be marked for self-healing [ 470.715302][T12916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.776876][T12883] bcachefs (loop0): Topology repair: unreadable btree node at [ 470.776892][T12883] 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 [ 470.823363][T12916] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 470.943226][T12927] loop2: detected capacity change from 0 to 32768 [ 470.966576][T12883] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 470.966595][T12883] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 471.023430][T12918] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 471.023557][T12918] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 471.023639][T12918] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 471.138081][T12883] bcachefs (loop0): empty btree root extents [ 471.208898][T12927] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 471.218331][T12883] done [ 471.228218][T12927] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 471.237391][T12927] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 471.254752][T12883] bcachefs (loop0): accounting_read... done [ 471.262458][T12918] bcachefs: bch2_fs_get_tree() error: EINVAL [ 471.279846][T12883] bcachefs (loop0): alloc_read... done [ 471.313814][T12883] bcachefs (loop0): snapshots_read... done [ 471.364555][T12883] bcachefs (loop0): check_allocations... [ 471.402137][T12883] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 471.402157][T12883] 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 [ 471.473101][T12916] bcachefs: bch2_fs_get_tree() error: EINVAL [ 471.576680][T12883] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 471.576700][T12883] 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 [ 471.697170][T12883] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 471.697189][T12883] 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 [ 471.778271][T12927] bcachefs: bch2_fs_get_tree() error: EINVAL