ket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 379.949548][T10975] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 379.989150][T10975] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.035437][T10975] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.054354][T10975] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.068415][T10975] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.083720][T10975] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.094516][T10975] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.109734][T10975] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.122097][T10975] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 380.137760][T10975] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 380.150583][T10975] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 380.180928][T10975] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.204139][T10975] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.240830][T10975] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.253916][T10975] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.275404][T11048] loop0: detected capacity change from 0 to 32768 [ 380.303910][T10975] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 380.303929][T10975] Ratelimiting new instances of previous error [ 380.348008][T10975] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 380.348026][T10975] Ratelimiting new instances of previous error [ 380.431114][T10975] done [ 380.439471][T10975] bcachefs (loop2): going read-write [ 380.460955][T10975] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 380.478819][T10975] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 380.499026][T10975] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 380.519528][T11048] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 380.520033][T11047] loop4: detected capacity change from 0 to 32768 [ 380.553454][T10975] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 380.579134][T11048] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 380.615992][T11048] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 380.661342][T10975] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 380.668391][T10975] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 380.687727][T10975] bcachefs (loop2): shutting down [ 380.721704][T11047] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 380.748535][T11047] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 380.796901][T11047] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 380.813372][T11051] loop1: detected capacity change from 0 to 32768 [ 380.833836][T10975] bcachefs (loop2): shutdown complete [ 380.975720][T11052] loop3: detected capacity change from 0 to 32768 [ 381.337587][T11048] bcachefs: bch2_fs_get_tree() error: EINVAL [ 381.345782][T11047] bcachefs: bch2_fs_get_tree() error: EINVAL [ 381.708294][T11051] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 381.728935][T11052] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 381.786777][T11051] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 381.786777][T11051] allowing incompatible features above 0.0: (unknown version) [ 381.788735][T11052] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 381.830717][T11051] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 381.852604][T11052] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 381.899180][T11051] bcachefs (loop1): Version upgrade required: [ 381.899180][T11051] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 381.899180][T11051] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 381.899180][T11051] 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 [ 382.076696][T11051] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 382.076717][T11051] 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 [ 382.076730][T11051] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 382.076742][T11051] error not marked as autofix and not in fsck [ 382.076752][T11051] run fsck, and forward to devs so error can be marked for self-healing [ 382.076763][T11051] inconsistency detected - emergency read only at journal seq 10 [ 382.126931][T10975] bcachefs: bch2_fs_get_tree() error: EINTR [ 382.177943][T11083] loop4: detected capacity change from 0 to 32768 [ 382.264886][T11052] bcachefs: bch2_fs_get_tree() error: EINVAL [ 382.412389][T11083] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 382.412531][T11083] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 382.412629][T11083] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 382.544005][T11085] loop0: detected capacity change from 0 to 32768 [ 382.608981][T11051] bcachefs (loop1): flagging btree extents lost data [ 382.621884][T11051] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 382.656872][T11051] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 382.701710][T11051] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 382.792551][T11051] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 382.792573][T11051] 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 [ 382.792586][T11051] 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 [ 382.806279][T11085] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 382.806409][T11085] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 382.806507][T11085] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 382.865042][T11083] bcachefs: bch2_fs_get_tree() error: EINVAL [ 383.121348][T11085] bcachefs: bch2_fs_get_tree() error: EINVAL [ 383.199300][T11051] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 383.199300][T11051] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 383.309801][T11051] bcachefs (loop1): scan_for_btree_nodes... [ 383.309906][T11051] bcachefs (loop1): read_btree_nodes(): error starting kthread EINTR [ 383.357828][T11051] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 383.375720][T11051] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 383.398068][T11051] bcachefs (loop1): shutting down [ 383.462882][T11094] loop2: detected capacity change from 0 to 32768 [ 383.522174][T11051] bcachefs (loop1): shutdown complete [ 383.805323][T11103] loop3: detected capacity change from 0 to 32768 [ 384.060125][T11108] loop0: detected capacity change from 0 to 32768 [ 384.091112][T11105] loop4: detected capacity change from 0 to 32768 [ 384.431255][T11103] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 384.437387][T11108] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 384.457866][T11094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 384.473628][T11094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 384.474394][T11103] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 384.474394][T11103] allowing incompatible features above 0.0: (unknown version) [ 384.483389][T11094] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 384.506630][T11108] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 384.536455][T11105] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 384.546607][T11108] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 384.556446][T11103] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 384.577374][T11103] bcachefs (loop3): Version upgrade required: [ 384.577374][T11103] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 384.577374][T11103] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 384.577374][T11103] 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 [ 384.587476][T11105] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 384.659926][T11103] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 384.659943][T11103] 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 [ 384.659956][T11103] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 384.659969][T11103] error not marked as autofix and not in fsck [ 384.659977][T11103] run fsck, and forward to devs so error can be marked for self-healing [ 384.659985][T11103] inconsistency detected - emergency read only at journal seq 10 [ 384.677375][T11105] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 384.907881][T11051] bcachefs: bch2_fs_get_tree() error: EINTR [ 384.939692][T11103] bcachefs (loop3): flagging btree extents lost data 2025/05/25 03:45:22 executed programs: 421 [ 384.950242][T11103] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 384.970540][T11094] bcachefs: bch2_fs_get_tree() error: EINVAL [ 384.985464][T11103] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 385.019147][T11108] bcachefs: bch2_fs_get_tree() error: EINVAL [ 385.033761][T11103] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 385.058008][T11103] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 385.058028][T11103] 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 [ 385.058042][T11103] 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 [ 385.136656][T11105] bcachefs: bch2_fs_get_tree() error: EINVAL [ 385.306272][T11103] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 385.306272][T11103] 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 [ 385.382635][T11103] bcachefs (loop3): scan_for_btree_nodes... [ 385.415048][T11103] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 385.458884][T11103] done [ 385.462111][T11103] bcachefs (loop3): check_topology... [ 385.470749][T11103] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 385.564333][T11103] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 385.615164][T11103] 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 [ 385.692321][ T1072] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 385.692350][ T1072] 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 [ 385.692364][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 385.692377][ T1072] error not marked as autofix and not in fsck [ 385.692385][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 385.763594][T11103] bcachefs (loop3): Topology repair: unreadable btree node at [ 385.763613][T11103] 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 [ 385.902356][T11103] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 385.902375][T11103] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 385.948833][T11103] bcachefs (loop3): empty btree root extents [ 385.978868][T11103] done [ 385.981768][T11103] bcachefs (loop3): accounting_read... done [ 386.015000][T11103] bcachefs (loop3): alloc_read... done [ 386.028814][T11103] bcachefs (loop3): snapshots_read... done [ 386.038463][T11103] bcachefs (loop3): check_allocations... [ 386.046461][T11103] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 386.046483][T11103] 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 [ 386.091657][T11144] loop4: detected capacity change from 0 to 32768 [ 386.261340][T11144] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 386.276520][T11103] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 386.276540][T11103] 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 [ 386.326928][T11139] loop1: detected capacity change from 0 to 32768 [ 386.359182][T11144] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 386.359291][T11144] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 386.458172][T11145] loop0: detected capacity change from 0 to 32768 [ 386.546863][T11139] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 386.559598][T11139] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 386.569220][T11139] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 386.583148][T11103] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 386.583176][T11103] 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 [ 386.627856][T11103] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 386.627876][T11103] 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 [ 386.756709][T11141] loop2: detected capacity change from 0 to 32768 [ 386.814377][T11145] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 386.814506][T11145] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 386.814601][T11145] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 386.843574][T11139] bcachefs: bch2_fs_get_tree() error: EINVAL [ 387.005668][T11144] bcachefs: bch2_fs_get_tree() error: EINVAL [ 387.124748][T11141] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 387.198743][T11103] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 387.198763][T11103] 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 [ 387.222979][T11141] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 387.223090][T11141] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 387.390447][T11103] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.448946][T11103] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.449142][T11145] bcachefs: bch2_fs_get_tree() error: EINVAL [ 387.466557][T11103] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.495019][T11103] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.556226][T11103] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.579329][T11103] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.644488][T11103] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.675861][T11103] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.688014][T11103] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.715399][T11103] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.742973][T11141] bcachefs: bch2_fs_get_tree() error: EINVAL [ 387.764060][T11103] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.848944][T11103] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.877555][T11103] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.904298][T11103] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 387.957964][T11103] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 387.992878][T11103] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 388.019095][T11103] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.040357][T11103] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.079741][T11103] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.108950][T11103] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.122167][T11170] loop1: detected capacity change from 0 to 32768 [ 388.180177][T11103] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 388.180196][T11103] Ratelimiting new instances of previous error [ 388.206629][T11177] loop4: detected capacity change from 0 to 32768 [ 388.253796][T11103] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 388.253814][T11103] Ratelimiting new instances of previous error [ 388.302491][T11170] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 388.348378][T11103] done [ 388.352313][T11103] bcachefs (loop3): going read-write [ 388.358392][T11170] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 388.374965][T11103] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 388.410082][T11177] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 388.418505][T11170] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 388.433026][T11177] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 388.442406][T11103] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 388.468592][T11177] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 388.511093][T11103] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 388.532714][T11103] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 388.671026][T11103] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 388.688485][T11103] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 388.697389][T11170] bcachefs: bch2_fs_get_tree() error: EINVAL [ 388.716054][T11103] bcachefs (loop3): shutting down [ 388.809973][T11103] bcachefs (loop3): shutdown complete [ 389.095791][T11179] loop0: detected capacity change from 0 to 32768 [ 389.263814][T11186] loop2: detected capacity change from 0 to 32768 [ 389.296161][T11177] bcachefs: bch2_fs_get_tree() error: EINVAL [ 389.825619][T11179] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 389.886961][T11198] loop1: detected capacity change from 0 to 32768 [ 389.915559][T11186] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 389.937743][T11186] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 389.938377][T11179] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 389.938377][T11179] allowing incompatible features above 0.0: (unknown version) [ 389.974908][T11179] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 389.983503][T11179] bcachefs (loop0): Version upgrade required: [ 389.983503][T11179] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 389.983503][T11179] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 389.983503][T11179] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 390.001609][T11186] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 390.100563][T11179] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 390.100582][T11179] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 390.100596][T11179] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down 2025/05/25 03:45:27 executed programs: 431 [ 390.100609][T11179] error not marked as autofix and not in fsck [ 390.100619][T11179] run fsck, and forward to devs so error can be marked for self-healing [ 390.100630][T11179] inconsistency detected - emergency read only at journal seq 10 [ 390.214733][T11103] bcachefs: bch2_fs_get_tree() error: EINTR [ 390.256470][T11198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 390.256598][T11198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 390.256691][T11198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 390.422164][T11179] bcachefs (loop0): flagging btree extents lost data [ 390.438987][T11179] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 390.454716][T11179] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 390.476175][T11212] loop4: detected capacity change from 0 to 32768 [ 390.484969][T11179] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 390.511824][T11179] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 390.511844][T11179] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 390.511858][T11179] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 390.522826][T11186] bcachefs: bch2_fs_get_tree() error: EINVAL [ 390.705541][T11179] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 390.705541][T11179] 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 [ 390.827807][T11179] bcachefs (loop0): scan_for_btree_nodes... [ 390.837373][T11212] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 390.904692][T11212] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 390.914172][T11212] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 390.947577][T11198] bcachefs: bch2_fs_get_tree() error: EINVAL [ 390.980360][T11179] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 390.996095][T11179] done [ 391.010802][T11179] bcachefs (loop0): check_topology... [ 391.021928][T11179] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 391.057378][T11179] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 391.105774][T11179] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 391.191414][ T42] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 391.191441][ T42] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 391.191455][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 391.191468][ T42] error not marked as autofix and not in fsck [ 391.191478][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 391.259849][T11179] bcachefs (loop0): Topology repair: unreadable btree node at [ 391.259868][T11179] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 391.301817][T11179] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 391.301835][T11179] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 391.326230][T11179] bcachefs (loop0): empty btree root extents [ 391.333837][T11179] done [ 391.336649][T11179] bcachefs (loop0): accounting_read... done [ 391.363481][T11179] bcachefs (loop0): alloc_read... done [ 391.369229][T11179] bcachefs (loop0): snapshots_read... done [ 391.375236][T11179] bcachefs (loop0): check_allocations... [ 391.389681][T11179] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 391.389710][T11179] 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 [ 391.407455][T11212] bcachefs: bch2_fs_get_tree() error: EINVAL [ 391.468152][T11229] loop3: detected capacity change from 0 to 32768 [ 391.481616][T11179] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 391.481638][T11179] 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 [ 391.663969][T11179] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 391.663989][T11179] 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 [ 391.731195][T11229] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 391.731325][T11229] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 391.731420][T11229] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 391.972299][T11179] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 391.972320][T11179] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 392.028249][T11179] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 392.028269][T11179] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 392.081761][T11233] loop2: detected capacity change from 0 to 32768 [ 392.088337][T11229] bcachefs: bch2_fs_get_tree() error: EINVAL [ 392.224555][T11179] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.235111][T11179] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.246324][T11233] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 392.258146][T11179] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.285925][T11235] loop1: detected capacity change from 0 to 32768 [ 392.296236][T11233] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.296336][T11233] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 392.424838][T11179] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.465090][T11235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 392.465218][T11235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.465312][T11235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 392.579471][T11179] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.599165][T11179] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.661061][T11179] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.686886][T11179] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.717615][T11244] loop4: detected capacity change from 0 to 32768 [ 392.745716][T11179] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.784860][T11179] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 392.829153][T11233] bcachefs: bch2_fs_get_tree() error: EINVAL [ 392.884239][T11179] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 392.940140][T11235] bcachefs: bch2_fs_get_tree() error: EINVAL [ 392.968505][T11244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 392.968641][T11244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 392.976757][T11244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 393.143596][T11179] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 393.170433][T11179] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 393.194690][T11179] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 393.235708][T11179] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 393.287118][T11179] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 393.338425][T11179] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 393.371216][T11179] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 393.401258][T11179] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 393.431275][T11244] bcachefs: bch2_fs_get_tree() error: EINVAL [ 393.469456][T11179] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 393.509256][T11179] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 393.509275][T11179] Ratelimiting new instances of previous error [ 393.563589][T11260] loop3: detected capacity change from 0 to 32768 [ 393.610311][T11179] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 393.610331][T11179] Ratelimiting new instances of previous error [ 393.735451][T11260] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 393.756011][T11260] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 393.775317][T11179] done [ 393.789271][T11179] bcachefs (loop0): going read-write [ 393.822246][T11260] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 393.833175][T11179] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 393.854057][T11179] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 393.871056][T11179] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 393.897630][T11179] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 393.999188][T11179] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 394.005933][T11179] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 394.037174][T11179] bcachefs (loop0): shutting down [ 394.065585][T11271] loop1: detected capacity change from 0 to 32768 [ 394.171421][T11179] bcachefs (loop0): shutdown complete [ 394.245250][T11260] bcachefs: bch2_fs_get_tree() error: EINVAL [ 394.259287][T11269] loop2: detected capacity change from 0 to 32768 [ 394.492659][T11271] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 394.576446][T11269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 394.613378][T11269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 394.623159][T11271] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 394.623159][T11271] allowing incompatible features above 0.0: (unknown version) [ 394.644152][T11269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 394.647612][T11271] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 394.662617][T11271] bcachefs (loop1): Version upgrade required: [ 394.662617][T11271] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 394.662617][T11271] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 394.662617][T11271] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 394.801313][T11271] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 394.801333][T11271] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 394.801346][T11271] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 394.801358][T11271] error not marked as autofix and not in fsck [ 394.801368][T11271] run fsck, and forward to devs so error can be marked for self-healing [ 394.801379][T11271] inconsistency detected - emergency read only at journal seq 10 [ 394.948054][T11179] bcachefs: bch2_fs_get_tree() error: EINTR [ 395.026030][T11281] loop4: detected capacity change from 0 to 32768 [ 395.117040][T11271] bcachefs (loop1): flagging btree extents lost data [ 395.134604][T11271] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 395.166975][T11271] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 395.171758][T11269] bcachefs: bch2_fs_get_tree() error: EINVAL [ 395.250076][T11271] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 395.297017][T11271] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 395.297037][T11271] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 395.297050][T11271] 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 [ 395.331366][T11281] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 395.331496][T11281] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 395.331587][T11281] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete 2025/05/25 03:45:33 executed programs: 441 [ 395.582700][T11271] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 395.582700][T11271] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 395.674316][T11281] bcachefs: bch2_fs_get_tree() error: EINVAL [ 395.686684][T11271] bcachefs (loop1): scan_for_btree_nodes... [ 395.784619][T11271] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 395.837504][T11271] done [ 395.854758][T11271] bcachefs (loop1): check_topology... [ 395.871024][T11271] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 395.905154][T11297] loop3: detected capacity change from 0 to 32768 [ 395.929118][T11271] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 395.966195][T11271] 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 [ 396.100040][ T42] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 396.100067][ T42] 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 [ 396.100081][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 396.100094][ T42] error not marked as autofix and not in fsck [ 396.100104][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 396.160665][T11271] bcachefs (loop1): Topology repair: unreadable btree node at [ 396.160683][T11271] 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 [ 396.194247][T11297] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 396.194375][T11297] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.194469][T11297] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.343646][T11306] loop0: detected capacity change from 0 to 32768 [ 396.354896][T11271] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 396.354915][T11271] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 396.403658][T11271] bcachefs (loop1): empty btree root extents [ 396.419361][T11271] done [ 396.427068][T11316] loop4: detected capacity change from 0 to 32768 [ 396.433870][T11271] bcachefs (loop1): accounting_read... done [ 396.498238][T11271] bcachefs (loop1): alloc_read... done [ 396.558147][T11306] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 396.562343][T11271] bcachefs (loop1): snapshots_read... [ 396.570373][T11306] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.585414][T11306] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.600760][T11271] done [ 396.603613][T11271] bcachefs (loop1): check_allocations... [ 396.611369][T11297] bcachefs: bch2_fs_get_tree() error: EINVAL [ 396.663077][T11308] loop2: detected capacity change from 0 to 32768 [ 396.690807][T11316] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 396.702688][T11271] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 396.702706][T11271] 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 [ 396.721052][T11316] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 396.721156][T11316] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 396.853450][T11271] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 396.853470][T11271] 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 [ 396.977934][T11308] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 397.032066][T11271] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 397.032085][T11271] 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 [ 397.089234][T11308] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 397.089332][T11308] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 397.149709][T11316] bcachefs: bch2_fs_get_tree() error: EINVAL [ 397.271583][T11306] bcachefs: bch2_fs_get_tree() error: EINVAL [ 397.339071][T11271] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 397.339091][T11271] 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 [ 397.499491][T11271] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 397.499512][T11271] 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 [ 397.558216][T11308] bcachefs: bch2_fs_get_tree() error: EINVAL [ 397.709675][T11271] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.729006][T11271] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.759940][T11271] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.797392][T11271] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.829165][T11271] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.899157][T11271] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.926321][T11271] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 397.956812][T11271] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 397.999455][T11271] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.030049][T11271] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.059797][T11271] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.090773][T11271] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.119055][T11271] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.138890][T11271] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 398.169084][T11271] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 398.199124][T11271] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 398.229747][T11271] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 398.235746][T11343] loop3: detected capacity change from 0 to 32768 [ 398.268891][T11271] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 398.304593][T11271] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 398.326798][T11271] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 398.357541][T11271] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 398.357561][T11271] Ratelimiting new instances of previous error [ 398.370846][T11341] loop4: detected capacity change from 0 to 32768 [ 398.392458][T11271] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 398.392477][T11271] Ratelimiting new instances of previous error [ 398.432100][T11271] done [ 398.439219][T11271] bcachefs (loop1): going read-write [ 398.450309][T11343] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 398.463343][T11343] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.475847][T11343] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.478981][T11271] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 398.504711][T11271] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 398.571606][T11271] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 398.627253][T11341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 398.633263][T11271] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 398.674387][T11341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 398.704639][T11341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 398.740320][T11271] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 398.792780][T11271] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 398.804143][T11345] loop0: detected capacity change from 0 to 32768 [ 398.838766][T11271] bcachefs (loop1): shutting down [ 398.898770][T11347] loop2: detected capacity change from 0 to 32768 [ 399.027502][T11271] bcachefs (loop1): shutdown complete [ 399.044063][T11345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 399.111927][T11343] bcachefs: bch2_fs_get_tree() error: EINVAL [ 399.132055][T11345] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 399.132055][T11345] allowing incompatible features above 0.0: (unknown version) [ 399.165504][T11347] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 399.175047][T11345] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 399.186644][T11345] bcachefs (loop0): Version upgrade required: [ 399.186644][T11345] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 399.186644][T11345] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 399.186644][T11345] 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 [ 399.330428][T11345] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 399.330448][T11345] 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 [ 399.330460][T11345] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 399.330471][T11345] error not marked as autofix and not in fsck [ 399.330479][T11345] run fsck, and forward to devs so error can be marked for self-healing [ 399.330489][T11345] inconsistency detected - emergency read only at journal seq 10 [ 399.358861][T11347] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 399.358950][T11347] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 399.369294][T11341] bcachefs: bch2_fs_get_tree() error: EINVAL [ 399.632108][T11271] bcachefs: bch2_fs_get_tree() error: EINTR [ 399.763541][T11345] bcachefs (loop0): flagging btree extents lost data [ 399.809627][T11345] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 399.840803][T11345] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 399.865808][T11347] bcachefs: bch2_fs_get_tree() error: EINVAL [ 399.946024][T11345] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 400.009874][T11345] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 400.009904][T11345] 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 [ 400.009918][T11345] 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 [ 400.167000][T11345] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 400.167000][T11345] 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 [ 400.291527][T11345] bcachefs (loop0): scan_for_btree_nodes... [ 400.406035][T11345] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 400.428926][T11345] done [ 400.431828][T11345] bcachefs (loop0): check_topology... [ 400.433222][T11345] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 400.476495][T11345] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 400.518254][T11345] 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 [ 400.584443][ T1072] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 400.584471][ T1072] 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 [ 400.584485][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 400.584497][ T1072] error not marked as autofix and not in fsck [ 400.584507][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 400.650145][T11345] bcachefs (loop0): Topology repair: unreadable btree node at [ 400.650164][T11345] 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 [ 400.675656][T11378] loop3: detected capacity change from 0 to 32768 [ 400.772718][T11380] loop4: detected capacity change from 0 to 32768 [ 400.790468][T11345] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 400.790488][T11345] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 400.847339][T11378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 400.847471][T11378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 400.847565][T11378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 400.856270][T11382] loop1: detected capacity change from 0 to 32768 [ 400.926325][T11345] bcachefs (loop0): empty btree root extents [ 400.932988][T11345] done [ 400.935944][T11345] bcachefs (loop0): accounting_read... [ 400.936628][T11385] loop2: detected capacity change from 0 to 32768 [ 400.960713][T11345] done [ 400.983341][T11345] bcachefs (loop0): alloc_read... done [ 401.004916][T11345] bcachefs (loop0): snapshots_read... done [ 401.035432][T11345] bcachefs (loop0): check_allocations... [ 401.042079][T11345] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 401.042101][T11345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 401.102274][T11380] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 401.134965][T11345] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 401.134985][T11345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 401.135692][T11382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 401.174982][T11345] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 401.175000][T11345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 401.185887][T11380] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 401.185986][T11380] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 401.189077][T11382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 401.189177][T11382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 401.348237][T11345] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 401.348256][T11345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 401.464619][T11345] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 401.464638][T11345] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 401.467630][T11378] bcachefs: bch2_fs_get_tree() error: EINVAL [ 401.502040][T11385] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 401.502200][T11385] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 401.502295][T11385] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 401.509831][T11345] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 401.674599][T11345] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 401.709334][T11345] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 401.739979][T11345] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 401.764857][T11345] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 401.777008][T11380] bcachefs: bch2_fs_get_tree() error: EINVAL [ 401.800517][T11382] bcachefs: bch2_fs_get_tree() error: EINVAL [ 401.955025][T11345] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/25 03:45:39 executed programs: 451 [ 401.989733][T11385] bcachefs: bch2_fs_get_tree() error: EINVAL [ 402.027789][T11345] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.055136][T11345] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.110943][T11345] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.167053][T11345] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.200968][T11345] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.250518][T11345] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.282994][T11345] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.312825][T11345] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 402.362008][T11345] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 402.381757][T11345] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 402.407990][T11345] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 402.436355][T11345] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 402.477642][T11345] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 402.508767][T11345] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 402.539157][T11345] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 402.539182][T11345] Ratelimiting new instances of previous error [ 402.585474][T11345] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 402.585494][T11345] Ratelimiting new instances of previous error [ 402.698124][T11345] done [ 402.709515][T11345] bcachefs (loop0): going read-write [ 402.735401][T11345] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 402.766776][T11345] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 402.798766][T11345] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 402.829121][T11345] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 402.880288][T11345] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 402.887125][T11345] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 402.928716][T11345] bcachefs (loop0): shutting down [ 402.975055][T11417] loop4: detected capacity change from 0 to 32768 [ 403.043462][T11345] bcachefs (loop0): shutdown complete [ 403.087517][T11419] loop1: detected capacity change from 0 to 32768 [ 403.096241][T11415] loop3: detected capacity change from 0 to 32768 [ 403.162515][T11421] loop2: detected capacity change from 0 to 32768 [ 403.486342][T11417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 403.550890][T11417] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 403.550890][T11417] allowing incompatible features above 0.0: (unknown version) [ 403.595362][T11415] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 403.624636][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 403.646909][T11417] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 403.648374][T11421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 403.667190][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 403.672001][T11417] bcachefs (loop4): Version upgrade required: [ 403.672001][T11417] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 403.672001][T11417] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 403.672001][T11417] 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 [ 403.751185][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 403.759633][T11415] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 403.774107][T11415] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 403.775219][T11421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 403.793790][T11417] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 403.793807][T11417] 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 [ 403.793818][T11417] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 403.793827][T11417] error not marked as autofix and not in fsck [ 403.793835][T11417] run fsck, and forward to devs so error can be marked for self-healing [ 403.793843][T11417] inconsistency detected - emergency read only at journal seq 10 [ 403.794898][T11345] bcachefs: bch2_fs_get_tree() error: EINTR [ 403.805782][T11421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 403.859260][T11417] bcachefs (loop4): flagging btree extents lost data [ 403.888845][T11417] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 403.957885][T11417] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 403.994955][T11417] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 404.049850][T11417] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 404.049870][T11417] 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 [ 404.049884][T11417] 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 [ 404.172817][T11419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 404.201350][T11417] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 404.201350][T11417] 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 [ 404.278108][T11421] bcachefs: bch2_fs_get_tree() error: EINVAL [ 404.288433][T11417] bcachefs (loop4): scan_for_btree_nodes... [ 404.297360][T11415] bcachefs: bch2_fs_get_tree() error: EINVAL [ 404.394695][T11417] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 404.446005][T11417] done [ 404.461353][T11417] bcachefs (loop4): check_topology... [ 404.484041][T11417] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 404.556954][T11417] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 404.593159][T11417] 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 [ 404.682968][ T1072] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 404.682995][ T1072] 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 [ 404.683009][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 404.683021][ T1072] error not marked as autofix and not in fsck [ 404.683030][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 404.748043][T11417] bcachefs (loop4): Topology repair: unreadable btree node at [ 404.748061][T11417] 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 [ 404.862418][T11417] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 404.862437][T11417] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 404.907269][T11417] bcachefs (loop4): empty btree root extents [ 404.944509][T11417] done [ 404.958937][T11417] bcachefs (loop4): accounting_read... done [ 404.983393][T11417] bcachefs (loop4): alloc_read... done [ 404.998770][T11417] bcachefs (loop4): snapshots_read... done [ 405.038759][T11417] bcachefs (loop4): check_allocations... [ 405.058001][T11417] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 405.058022][T11417] 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 [ 405.085756][T11453] loop0: detected capacity change from 0 to 32768 [ 405.182420][T11417] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 405.182444][T11417] 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 [ 405.242833][T11453] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 405.242966][T11453] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 405.243061][T11453] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 405.452207][T11417] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 405.452226][T11417] 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 [ 405.533541][T11417] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 405.533560][T11417] 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 [ 405.589536][T11453] bcachefs: bch2_fs_get_tree() error: EINVAL [ 405.646684][T11457] loop2: detected capacity change from 0 to 32768 [ 405.674729][T11417] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 405.674747][T11417] 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 [ 405.740353][T11455] loop1: detected capacity change from 0 to 32768 [ 405.788007][T11417] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.820284][T11417] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.860776][T11417] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.895783][T11417] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 405.929717][T11417] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 405.956203][T11459] loop3: detected capacity change from 0 to 32768 [ 405.998866][T11457] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 405.998998][T11457] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 405.999090][T11457] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 406.017493][T11455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 406.017627][T11455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 406.017721][T11455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 406.282708][T11417] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.301035][T11417] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.312284][T11457] bcachefs: bch2_fs_get_tree() error: EINVAL [ 406.325548][T11417] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.365567][T11459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 406.365696][T11459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 406.365791][T11459] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 406.451297][T11455] bcachefs: bch2_fs_get_tree() error: EINVAL [ 406.594017][T11417] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.641479][T11417] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.672415][T11417] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.701137][T11417] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.732375][T11417] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.792510][T11417] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 406.823706][T11417] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 406.882354][T11417] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 406.904503][T11417] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 406.923078][T11459] bcachefs: bch2_fs_get_tree() error: EINVAL [ 406.968032][T11417] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 406.993263][T11417] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 407.010150][T11417] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 407.036303][T11417] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 407.036321][T11417] Ratelimiting new instances of previous error [ 407.109649][T11417] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 407.109669][T11417] Ratelimiting new instances of previous error [ 407.200001][T11417] done [ 407.203444][T11417] bcachefs (loop4): going read-write [ 407.232752][T11417] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 407.261245][T11417] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 407.295319][T11417] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 407.325978][T11417] bcachefs (loop4): unclean shutdown complete, journal seq 10 2025/05/25 03:45:45 executed programs: 462 [ 407.420974][T11417] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 407.427629][T11417] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 407.450091][T11486] loop0: detected capacity change from 0 to 32768 [ 407.467104][T11417] bcachefs (loop4): shutting down [ 407.525809][T11491] loop1: detected capacity change from 0 to 32768 [ 407.570230][T11417] bcachefs (loop4): shutdown complete [ 407.699984][T11493] loop2: detected capacity change from 0 to 32768 [ 407.907909][T11496] loop3: detected capacity change from 0 to 32768 [ 407.985521][T11486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.074959][T11491] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.122276][T11496] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.156024][T11493] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.202070][T11417] bcachefs: bch2_fs_get_tree() error: EINTR [ 408.212216][T11491] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.231099][T11486] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 408.231099][T11486] allowing incompatible features above 0.0: (unknown version) [ 408.259394][T11491] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.267664][T11496] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.284212][T11486] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 408.286439][T11496] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.292407][T11493] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.337841][T11486] bcachefs (loop0): Version upgrade required: [ 408.337841][T11486] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 408.337841][T11486] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 408.337841][T11486] 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.347929][T11493] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.429502][T11486] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 408.429521][T11486] 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.429534][T11486] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 408.429547][T11486] error not marked as autofix and not in fsck [ 408.429556][T11486] run fsck, and forward to devs so error can be marked for self-healing [ 408.429567][T11486] inconsistency detected - emergency read only at journal seq 10 [ 408.679480][T11486] bcachefs (loop0): flagging btree extents lost data [ 408.686421][T11486] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 408.752794][T11496] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.762937][T11486] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 408.776598][T11491] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.842391][T11493] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.848785][T11486] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 408.949480][T11486] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 408.949500][T11486] 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.949514][T11486] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 409.159402][T11486] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 409.159402][T11486] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 409.259590][T11486] bcachefs (loop0): scan_for_btree_nodes... [ 409.259689][T11486] bcachefs (loop0): read_btree_nodes(): error starting kthread EINTR [ 409.291024][T11486] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 409.298527][T11486] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 409.335687][T11486] bcachefs (loop0): shutting down [ 409.470349][T11486] bcachefs (loop0): shutdown complete [ 409.544189][T11526] loop4: detected capacity change from 0 to 32768 [ 409.893596][T11531] loop3: detected capacity change from 0 to 32768 [ 410.017845][T11529] loop1: detected capacity change from 0 to 32768 [ 410.085463][T11526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.107135][T11531] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.143829][T11531] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.144380][T11526] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 410.144380][T11526] allowing incompatible features above 0.0: (unknown version) [ 410.177304][T11526] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 410.186618][T11526] bcachefs (loop4): Version upgrade required: [ 410.186618][T11526] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 410.186618][T11526] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 410.186618][T11526] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 410.219050][T11531] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.296238][T11529] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.302827][T11533] loop2: detected capacity change from 0 to 32768 [ 410.326437][T11529] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.352402][T11526] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 410.352422][T11526] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 410.352434][T11526] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 410.352444][T11526] error not marked as autofix and not in fsck [ 410.352452][T11526] run fsck, and forward to devs so error can be marked for self-healing [ 410.352462][T11526] inconsistency detected - emergency read only at journal seq 10 [ 410.364908][T11529] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.481868][T11526] bcachefs (loop4): flagging btree extents lost data [ 410.492383][T11526] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 410.505185][T11526] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 410.522505][T11526] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 410.596830][T11486] bcachefs: bch2_fs_get_tree() error: EINTR [ 410.615878][T11526] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 410.615897][T11526] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 410.615920][T11526] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 410.641240][T11533] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.641374][T11533] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.641467][T11533] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.651172][T11531] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.873883][T11529] bcachefs: bch2_fs_get_tree() error: EINVAL [ 411.123152][T11526] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 411.123152][T11526] 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 [ 411.176390][T11533] bcachefs: bch2_fs_get_tree() error: EINVAL [ 411.230277][T11526] bcachefs (loop4): scan_for_btree_nodes... [ 411.328171][T11526] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 411.368566][T11526] done [ 411.375913][T11526] bcachefs (loop4): check_topology... [ 411.376808][T11526] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 411.428525][T11526] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 411.492694][T11526] 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 [ 411.541995][ T1072] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 411.542023][ T1072] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 411.542037][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 411.542058][ T1072] error not marked as autofix and not in fsck [ 411.542067][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 411.603991][T11526] bcachefs (loop4): Topology repair: unreadable btree node at [ 411.604010][T11526] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 411.723155][T11526] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 411.723174][T11526] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 411.758889][T11526] bcachefs (loop4): empty btree root extents [ 411.776361][T11526] done [ 411.786743][T11526] bcachefs (loop4): accounting_read... done [ 411.817629][T11526] bcachefs (loop4): alloc_read... done [ 411.828058][T11526] bcachefs (loop4): snapshots_read... done [ 411.847976][T11526] bcachefs (loop4): check_allocations... [ 411.862626][T11526] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 411.862646][T11526] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 411.951547][T11526] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 411.951568][T11526] 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 [ 412.022354][T11563] loop3: detected capacity change from 0 to 32768 [ 412.064260][T11568] loop1: detected capacity change from 0 to 32768 [ 412.085630][T11526] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 412.085649][T11526] 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 [ 412.182169][T11565] loop0: detected capacity change from 0 to 32768 [ 412.241682][T11563] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.241831][T11563] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.241928][T11563] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.321251][T11568] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.321382][T11568] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.321477][T11568] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.387562][T11565] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.387699][T11565] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.387805][T11565] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.544811][T11570] loop2: detected capacity change from 0 to 32768 [ 412.799592][T11526] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 412.799612][T11526] 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 [ 412.866237][T11570] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.866359][T11570] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.866449][T11570] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.890318][T11563] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.915552][T11568] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/05/25 03:45:50 executed programs: 471 [ 413.011521][T11565] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.039650][T11526] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 413.039669][T11526] 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 [ 413.209780][T11526] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.265009][T11526] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.318380][T11526] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.368059][T11526] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.402418][T11526] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.454139][T11526] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.466358][T11570] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.507793][T11526] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.576928][T11526] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.621247][T11526] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.662011][T11526] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.703868][T11526] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.744525][T11526] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.784623][T11526] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.823438][T11526] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 413.860596][T11526] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 413.890232][T11526] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 413.912815][T11526] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.945863][T11526] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.968605][T11526] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.998951][T11526] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 414.025691][T11526] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 414.025709][T11526] Ratelimiting new instances of previous error [ 414.037885][T11600] loop1: detected capacity change from 0 to 32768 [ 414.098197][T11526] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 414.098217][T11526] Ratelimiting new instances of previous error [ 414.175546][T11600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.175686][T11600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.175782][T11600] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.348220][T11526] done [ 414.354533][T11602] loop3: detected capacity change from 0 to 32768 [ 414.366479][T11526] bcachefs (loop4): going read-write [ 414.395365][T11526] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 414.457022][T11526] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 414.498084][T11526] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 414.512641][T11606] loop2: detected capacity change from 0 to 32768 [ 414.542174][T11526] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 414.563903][T11602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.575906][T11602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.597840][T11604] loop0: detected capacity change from 0 to 32768 [ 414.609531][T11602] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.613878][T11526] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 414.640067][T11600] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.657612][T11526] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 414.693607][T11526] bcachefs (loop4): shutting down [ 414.723697][T11606] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.790401][T11526] bcachefs (loop4): shutdown complete [ 414.916764][T11606] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 414.916764][T11606] allowing incompatible features above 0.0: (unknown version) [ 415.002049][T11604] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.058998][T11604] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.094403][T11606] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 415.112274][T11604] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.141064][T11606] bcachefs (loop2): Version upgrade required: [ 415.141064][T11606] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 415.141064][T11606] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 415.141064][T11606] 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 [ 415.317777][T11606] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 415.317795][T11606] 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 [ 415.317809][T11606] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 415.317821][T11606] error not marked as autofix and not in fsck [ 415.317830][T11606] run fsck, and forward to devs so error can be marked for self-healing [ 415.317841][T11606] inconsistency detected - emergency read only at journal seq 10 [ 415.360044][T11602] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.365496][T11526] bcachefs: bch2_fs_get_tree() error: EINTR [ 415.622523][T11604] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.651378][T11606] bcachefs (loop2): flagging btree extents lost data [ 415.666582][T11606] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 415.719774][T11606] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 415.764325][T11606] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 415.822564][T11606] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 415.822583][T11606] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 415.822597][T11606] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 415.950414][T11606] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 415.950414][T11606] 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 [ 416.032837][T11606] bcachefs (loop2): scan_for_btree_nodes... [ 416.113708][T11637] loop1: detected capacity change from 0 to 32768 [ 416.138266][T11606] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 416.170869][T11606] done [ 416.173684][T11606] bcachefs (loop2): check_topology... [ 416.211165][T11606] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 416.306592][T11606] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 416.330145][T11637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.375033][T11606] 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 [ 416.396327][T11644] loop0: detected capacity change from 0 to 32768 [ 416.405120][T11637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.415188][T11637] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.477757][ T42] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 416.477786][ T42] 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 [ 416.477801][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 416.477813][ T42] error not marked as autofix and not in fsck [ 416.477823][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 416.543635][T11606] bcachefs (loop2): Topology repair: unreadable btree node at [ 416.543653][T11606] 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 [ 416.686938][T11639] loop4: detected capacity change from 0 to 32768 [ 416.703698][T11644] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.703821][T11644] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.703912][T11644] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.820812][T11606] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 416.820831][T11606] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 416.840593][T11606] bcachefs (loop2): empty btree root extents [ 416.846844][T11606] done [ 416.866733][T11606] bcachefs (loop2): accounting_read... done [ 416.906721][T11606] bcachefs (loop2): alloc_read... done [ 416.912908][T11606] bcachefs (loop2): snapshots_read... done [ 416.919441][T11606] bcachefs (loop2): check_allocations... [ 416.964612][T11639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.981648][T11606] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 416.981666][T11606] 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 [ 416.992224][T11637] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.061795][T11639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.061896][T11639] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.191223][T11606] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 417.191243][T11606] 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 [ 417.195085][T11641] loop3: detected capacity change from 0 to 32768 [ 417.223145][T11606] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 417.223162][T11606] 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 [ 417.237104][T11644] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.334813][T11606] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 417.334911][T11606] 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 [ 417.500723][T11606] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 417.500743][T11606] 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 [ 417.513844][T11641] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.513977][T11641] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.514074][T11641] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.545530][T11639] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.863160][T11606] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.892621][T11606] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.939267][T11606] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.976228][T11606] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/25 03:45:55 executed programs: 481 [ 418.008224][T11641] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.023312][T11606] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.076823][T11606] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.142665][T11606] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.183594][T11606] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.209692][T11606] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.229731][T11606] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.259122][T11606] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.269601][T11606] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.289495][T11668] loop1: detected capacity change from 0 to 32768 [ 418.343416][T11606] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.377350][T11606] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.419136][T11606] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.453749][T11668] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 418.453869][T11668] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 418.453962][T11668] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.567736][T11606] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 418.599385][T11606] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 418.628960][T11606] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 418.649123][T11606] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 418.669223][T11606] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 418.719171][T11606] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 418.719191][T11606] Ratelimiting new instances of previous error [ 418.740720][T11677] loop0: detected capacity change from 0 to 32768 [ 418.808316][T11606] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 418.808335][T11606] Ratelimiting new instances of previous error [ 418.899232][T11668] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.961337][T11606] done [ 418.964737][T11606] bcachefs (loop2): going read-write [ 418.970744][T11677] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.024720][T11606] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 419.037247][T11677] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.063354][T11688] loop3: detected capacity change from 0 to 32768 [ 419.089954][T11606] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 419.099809][T11606] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 419.104029][T11677] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.109725][T11606] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 419.143890][T11679] loop4: detected capacity change from 0 to 32768 [ 419.152400][T11606] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 419.163737][T11606] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 419.178879][T11606] bcachefs (loop2): shutting down [ 419.259068][T11688] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.272064][T11606] bcachefs (loop2): shutdown complete [ 419.317234][T11688] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 419.317234][T11688] allowing incompatible features above 0.0: (unknown version) [ 419.340678][T11688] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 419.351406][T11688] bcachefs (loop3): Version upgrade required: [ 419.351406][T11688] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 419.351406][T11688] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 419.351406][T11688] 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.396220][T11679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.449227][T11679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.508806][T11688] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 419.508828][T11688] 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.508840][T11688] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 419.508851][T11688] error not marked as autofix and not in fsck [ 419.508860][T11688] run fsck, and forward to devs so error can be marked for self-healing [ 419.508868][T11688] inconsistency detected - emergency read only at journal seq 10 [ 419.535383][T11679] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.733639][T11677] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.814514][T11606] bcachefs: bch2_fs_get_tree() error: EINTR [ 419.920990][T11688] bcachefs (loop3): flagging btree extents lost data [ 419.927734][T11688] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 419.993811][T11688] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 420.044221][T11679] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.097305][T11688] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 420.193907][T11688] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 420.193927][T11688] 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.193939][T11688] 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.349187][T11688] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 420.349187][T11688] 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.449233][T11688] bcachefs (loop3): scan_for_btree_nodes... [ 420.499277][T11688] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 420.554435][T11688] done [ 420.557255][T11688] bcachefs (loop3): check_topology... [ 420.568830][T11688] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 420.613281][T11712] loop1: detected capacity change from 0 to 32768 [ 420.615455][T11688] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 420.669758][T11688] 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 [ 420.726432][ T1072] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 420.726460][ T1072] 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 [ 420.726474][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 420.726487][ T1072] error not marked as autofix and not in fsck [ 420.726497][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 420.792224][T11688] bcachefs (loop3): Topology repair: unreadable btree node at [ 420.792243][T11688] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 420.827828][T11712] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 420.827963][T11712] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 420.828063][T11712] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.951074][T11714] loop0: detected capacity change from 0 to 32768 [ 421.064765][T11719] loop4: detected capacity change from 0 to 32768 [ 421.102803][T11716] loop2: detected capacity change from 0 to 32768 [ 421.196114][T11714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.218952][T11688] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 421.218973][T11688] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 421.280350][T11688] bcachefs (loop3): empty btree root extents [ 421.286913][T11714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.306321][T11688] done [ 421.330934][T11688] bcachefs (loop3): accounting_read... [ 421.331680][T11714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.348254][T11688] done [ 421.353342][T11712] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.353349][T11688] bcachefs (loop3): alloc_read... done [ 421.376540][T11688] bcachefs (loop3): snapshots_read... done [ 421.431973][T11716] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.432093][T11688] bcachefs (loop3): check_allocations... [ 421.443501][T11716] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.482574][T11716] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.491880][T11719] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.492035][T11719] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.492126][T11719] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.541146][T11688] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 421.541165][T11688] 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.589495][T11688] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 421.589517][T11688] 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.767107][T11688] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 421.767128][T11688] 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.885360][T11714] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.944991][T11719] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.025786][T11688] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 422.025807][T11688] 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.046188][T11716] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.194179][T11688] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 422.194199][T11688] 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.277318][T11688] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.313191][T11688] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.345001][T11688] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.369855][T11688] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.409307][T11688] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.438899][T11688] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.474856][T11688] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.540030][T11688] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.569864][T11688] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.589076][T11688] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.620549][T11688] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.658938][T11688] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.689154][T11688] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.728900][T11688] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.759117][T11688] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.778923][T11688] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 422.800711][T11749] loop1: detected capacity change from 0 to 32768 [ 422.817742][T11688] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 422.848950][T11688] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 422.861101][T11688] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 422.889472][T11688] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 422.909778][T11688] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 422.909796][T11688] Ratelimiting new instances of previous error [ 422.965951][T11688] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 422.965970][T11688] Ratelimiting new instances of previous error [ 422.999051][T11749] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.999183][T11749] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.999294][T11749] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.209833][T11755] loop2: detected capacity change from 0 to 32768 [ 423.229551][T11688] done [ 423.234356][T11688] bcachefs (loop3): going read-write [ 423.243796][T11751] loop4: detected capacity change from 0 to 32768 [ 423.276660][T11688] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 423.297368][T11753] loop0: detected capacity change from 0 to 32768 [ 423.304599][T11688] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 423.333352][T11688] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 423.345477][T11688] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 423.395164][T11749] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.407030][T11755] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.431383][T11688] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 423.439665][T11755] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.449054][T11688] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 423.457415][T11688] bcachefs (loop3): shutting down [ 423.472011][T11755] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.557322][T11751] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.568791][T11751] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.578001][T11751] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.666543][T11688] bcachefs (loop3): shutdown complete [ 423.693837][T11753] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.855824][T11753] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 423.855824][T11753] allowing incompatible features above 0.0: (unknown version) [ 423.963708][T11753] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 423.988811][T11755] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.019066][T11753] bcachefs (loop0): Version upgrade required: [ 424.019066][T11753] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 424.019066][T11753] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 424.019066][T11753] 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 [ 424.139000][T11751] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.152120][T11688] bcachefs: bch2_fs_get_tree() error: EINTR 2025/05/25 03:46:01 executed programs: 491 [ 424.201840][T11753] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 424.201860][T11753] 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 [ 424.201874][T11753] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 424.201885][T11753] error not marked as autofix and not in fsck [ 424.201894][T11753] run fsck, and forward to devs so error can be marked for self-healing [ 424.201904][T11753] inconsistency detected - emergency read only at journal seq 10 [ 424.474309][T11753] bcachefs (loop0): flagging btree extents lost data [ 424.512000][T11753] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 424.576979][T11753] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 424.625280][T11753] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 424.714290][T11753] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 424.714309][T11753] 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 [ 424.714320][T11753] 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 [ 424.857085][T11753] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 424.857085][T11753] 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 [ 424.959488][T11753] bcachefs (loop0): scan_for_btree_nodes... [ 425.020743][T11786] loop1: detected capacity change from 0 to 32768 [ 425.126692][T11753] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 425.135479][T11753] done [ 425.138453][T11753] bcachefs (loop0): check_topology... [ 425.151998][T11753] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 425.251233][T11786] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.263877][T11788] loop2: detected capacity change from 0 to 32768 [ 425.270887][T11753] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 425.294928][T11790] loop3: detected capacity change from 0 to 32768 [ 425.319377][T11786] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.334657][T11753] 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 [ 425.368253][T11786] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.398020][ T1072] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 425.398048][ T1072] 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 [ 425.398061][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 425.398073][ T1072] error not marked as autofix and not in fsck [ 425.398083][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 425.480340][T11753] bcachefs (loop0): Topology repair: unreadable btree node at [ 425.480358][T11753] 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 [ 425.532356][T11753] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 425.532373][T11753] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 425.587732][T11790] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.587869][T11790] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.587966][T11790] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.676774][T11788] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.676904][T11788] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.677000][T11788] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.716027][T11792] loop4: detected capacity change from 0 to 32768 [ 425.845430][T11753] bcachefs (loop0): empty btree root extents [ 425.852301][T11753] done [ 425.855798][T11753] bcachefs (loop0): accounting_read... done [ 425.888974][T11753] bcachefs (loop0): alloc_read... done [ 425.894999][T11753] bcachefs (loop0): snapshots_read... done [ 425.935580][T11792] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.946978][T11753] bcachefs (loop0): check_allocations... [ 425.977727][T11792] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.993684][T11753] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 425.993724][T11753] 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 [ 426.002620][T11792] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.028080][T11786] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.070122][T11753] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 426.070142][T11753] 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 [ 426.161881][T11790] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.172243][T11788] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.192815][T11753] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 426.192836][T11753] 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 [ 426.395866][T11753] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 426.395886][T11753] 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 [ 426.524001][T11792] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.542148][T11753] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 426.542169][T11753] 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 [ 426.657959][T11753] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.670429][T11753] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.730438][T11753] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.760188][T11753] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.789724][T11753] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.826031][T11753] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.868994][T11753] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.900355][T11753] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.933014][T11753] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.985477][T11753] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.038080][T11753] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.068967][T11753] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.099167][T11753] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.119480][T11753] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.159263][T11753] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.188925][T11753] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 427.220999][T11753] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.253878][T11753] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.297406][T11753] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.339965][T11753] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.379139][T11753] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.379159][T11753] Ratelimiting new instances of previous error [ 427.397481][T11823] loop1: detected capacity change from 0 to 32768 [ 427.447009][T11753] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.447029][T11753] Ratelimiting new instances of previous error [ 427.465197][T11826] loop3: detected capacity change from 0 to 32768 [ 427.544445][T11753] done [ 427.602820][T11753] bcachefs (loop0): going read-write [ 427.623837][T11827] loop2: detected capacity change from 0 to 32768 [ 427.661628][T11753] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 427.725714][T11753] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 427.743712][T11823] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.784299][T11826] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.789349][T11823] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.813750][T11753] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 427.825330][T11829] loop4: detected capacity change from 0 to 32768 [ 427.842207][T11823] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.851238][T11753] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 427.856384][T11826] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.891008][T11826] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.899605][T11827] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.911039][T11827] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.920932][T11827] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.006794][T11753] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 428.082537][T11753] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 428.136189][T11753] bcachefs (loop0): shutting down [ 428.185270][T11826] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.250144][T11753] bcachefs (loop0): shutdown complete [ 428.542165][T11829] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.549145][T11823] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.586919][T11827] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.655901][T11829] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 428.655901][T11829] allowing incompatible features above 0.0: (unknown version) [ 428.748908][T11829] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 428.795694][T11829] bcachefs (loop4): Version upgrade required: [ 428.795694][T11829] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 428.795694][T11829] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 428.795694][T11829] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 428.929117][T11829] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 428.929138][T11829] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 428.929151][T11829] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 428.929163][T11829] error not marked as autofix and not in fsck [ 428.929173][T11829] run fsck, and forward to devs so error can be marked for self-healing [ 428.929183][T11829] inconsistency detected - emergency read only at journal seq 10 [ 428.972253][T11753] bcachefs: bch2_fs_get_tree() error: EINTR [ 429.159756][T11829] bcachefs (loop4): flagging btree extents lost data [ 429.166593][T11829] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 429.248805][T11829] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 429.280708][T11829] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 429.339831][T11829] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 429.339848][T11829] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 429.339859][T11829] 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 [ 429.446792][T11860] loop3: detected capacity change from 0 to 32768 [ 429.499538][T11829] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 429.499538][T11829] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 429.573555][T11829] bcachefs (loop4): scan_for_btree_nodes... [ 429.613641][T11860] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.628745][T11829] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 429.662154][T11860] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 429.669167][T11829] done [ 429.675006][T11829] bcachefs (loop4): check_topology... [ 429.675970][T11829] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 429.689625][T11860] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 429.752878][T11829] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 429.808209][T11829] 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 [ 429.857388][T11862] loop1: detected capacity change from 0 to 32768 [ 429.872967][ T42] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 429.872993][ T42] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 429.873007][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 429.873020][ T42] error not marked as autofix and not in fsck [ 429.873029][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 429.933431][T11829] bcachefs (loop4): Topology repair: unreadable btree node at [ 429.933448][T11829] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 429.974051][T11829] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 429.974071][T11829] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 430.008918][T11829] bcachefs (loop4): empty btree root extents [ 430.025607][T11829] done [ 430.028858][T11829] bcachefs (loop4): accounting_read... done [ 430.057152][T11829] bcachefs (loop4): alloc_read... done [ 430.070035][T11860] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.098568][T11829] bcachefs (loop4): snapshots_read... done [ 430.134204][T11829] bcachefs (loop4): check_allocations... [ 430.136254][T11862] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.156860][T11864] loop2: detected capacity change from 0 to 32768 [ 430.171316][T11829] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 430.171336][T11829] 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 [ 430.215983][T11862] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.216088][T11862] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.317389][T11829] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 430.317409][T11829] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 430.400779][T11829] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 430.400798][T11829] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 430.423226][T11866] loop0: detected capacity change from 0 to 32768 [ 430.540658][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.540783][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.540877][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.585811][T11862] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/05/25 03:46:08 executed programs: 503 [ 430.661596][T11829] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 430.661616][T11829] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 430.716520][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.716650][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.716742][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.942021][T11829] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 430.942043][T11829] 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.033538][T11829] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.059662][T11864] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.089542][T11829] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.129514][T11829] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.171496][T11829] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.193082][T11866] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.249160][T11829] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.303611][T11829] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.359516][T11829] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.388921][T11829] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.429445][T11829] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.476608][T11829] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.522977][T11829] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.542517][T11829] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.609971][T11829] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.629052][T11829] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.652105][T11829] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.672472][T11829] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 431.703083][T11829] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.727711][T11897] loop3: detected capacity change from 0 to 32768 [ 431.729406][T11899] loop1: detected capacity change from 0 to 32768 [ 431.746861][T11829] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.806618][T11829] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.844439][T11829] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.874861][T11829] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.874881][T11829] Ratelimiting new instances of previous error [ 431.993694][T11829] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.993714][T11829] Ratelimiting new instances of previous error [ 432.016744][T11899] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.016880][T11899] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.016975][T11899] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.019934][T11897] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.020062][T11897] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.020153][T11897] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.181460][T11901] loop2: detected capacity change from 0 to 32768 [ 432.255376][T11829] done [ 432.264159][T11829] bcachefs (loop4): going read-write [ 432.297344][T11829] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 432.343250][T11829] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 432.382062][T11829] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 432.434385][T11829] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 432.501819][T11829] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 432.529122][T11829] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 432.531427][T11901] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.549625][T11897] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.555989][T11829] bcachefs (loop4): shutting down [ 432.571227][T11903] loop0: detected capacity change from 0 to 32768 [ 432.580075][T11899] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.588960][T11901] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.641938][T11901] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.674926][T11829] bcachefs (loop4): shutdown complete [ 433.242095][T11901] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.383889][T11934] loop1: detected capacity change from 0 to 32768 [ 433.496560][T11932] loop3: detected capacity change from 0 to 32768 [ 433.720492][T11903] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.832522][T11932] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.843817][T11934] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.862285][T11903] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 433.862285][T11903] allowing incompatible features above 0.0: (unknown version) [ 433.902765][T11932] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.912548][T11903] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 433.933940][T11932] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.935986][T11934] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.949029][T11903] bcachefs (loop0): Version upgrade required: [ 433.949029][T11903] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 433.949029][T11903] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 433.949029][T11903] 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 [ 433.953692][T11934] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.040439][T11829] bcachefs: bch2_fs_get_tree() error: EINTR [ 434.080144][T11903] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 434.080162][T11903] 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.080175][T11903] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 434.080193][T11903] error not marked as autofix and not in fsck [ 434.080202][T11903] run fsck, and forward to devs so error can be marked for self-healing [ 434.080211][T11903] inconsistency detected - emergency read only at journal seq 10 [ 434.331519][T11903] bcachefs (loop0): flagging btree extents lost data [ 434.338370][T11903] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 434.388830][T11903] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 434.434529][T11903] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 434.446171][T11948] loop2: detected capacity change from 0 to 32768 [ 434.459452][T11934] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.482076][T11932] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.639640][T11903] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 434.639661][T11903] 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.639674][T11903] 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 [ 434.733991][T11948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.734147][T11948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.734238][T11948] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.917369][T11903] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 434.917369][T11903] 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.044251][T11903] bcachefs (loop0): scan_for_btree_nodes... [ 435.044350][T11903] bcachefs (loop0): read_btree_nodes(): error starting kthread EINTR [ 435.098107][T11903] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 435.109568][T11903] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 435.148922][T11954] loop4: detected capacity change from 0 to 32768 [ 435.167813][T11903] bcachefs (loop0): shutting down [ 435.204466][T11948] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.323532][T11903] bcachefs (loop0): shutdown complete [ 435.724684][T11954] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.834029][T11954] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 435.834029][T11954] allowing incompatible features above 0.0: (unknown version) [ 435.909407][T11954] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 435.917679][T11954] bcachefs (loop4): Version upgrade required: [ 435.917679][T11954] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 435.917679][T11954] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 435.917679][T11954] 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 [ 436.005742][T11975] loop2: detected capacity change from 0 to 32768 [ 436.029786][T11965] loop3: detected capacity change from 0 to 32768 [ 436.047652][T11966] loop1: detected capacity change from 0 to 32768 [ 436.069640][T11954] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 436.069660][T11954] 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 [ 436.069674][T11954] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 436.069686][T11954] error not marked as autofix and not in fsck [ 436.069694][T11954] run fsck, and forward to devs so error can be marked for self-healing [ 436.069703][T11954] inconsistency detected - emergency read only at journal seq 10 [ 436.166373][T11954] bcachefs (loop4): flagging btree extents lost data [ 436.173728][T11954] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 436.186192][T11954] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 436.210853][T11975] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.227775][T11975] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.249791][T11954] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 436.270955][T11975] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.349603][T11954] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 436.349623][T11954] 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 2025/05/25 03:46:14 executed programs: 514 [ 436.349637][T11954] 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 [ 436.372325][T11903] bcachefs: bch2_fs_get_tree() error: EINTR [ 436.393033][T11965] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.393162][T11965] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.393256][T11965] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.481473][T11966] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.569320][T11966] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.579619][T11954] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 436.579619][T11954] 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 [ 436.626814][T11966] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.690070][T11954] bcachefs (loop4): scan_for_btree_nodes... [ 436.759364][T11954] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 436.802766][T11954] done [ 436.805593][T11954] bcachefs (loop4): check_topology... [ 436.819326][T11954] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 436.843776][T11954] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 436.869575][T11975] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.877221][T11954] bcachefs (loop4): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 436.926578][ T1072] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 436.926605][ T1072] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 436.926618][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 436.926630][ T1072] error not marked as autofix and not in fsck [ 436.926640][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 436.927701][T11965] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.988404][T11954] bcachefs (loop4): Topology repair: unreadable btree node at [ 436.988419][T11954] 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 [ 437.028417][T11966] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.109092][T11954] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 437.109110][T11954] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 437.168032][T11954] bcachefs (loop4): empty btree root extents [ 437.204753][T11954] done [ 437.207576][T11954] bcachefs (loop4): accounting_read... done [ 437.282393][T11954] bcachefs (loop4): alloc_read... done [ 437.288237][T11954] bcachefs (loop4): snapshots_read... done [ 437.335364][T11954] bcachefs (loop4): check_allocations... [ 437.356044][T11954] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 437.356065][T11954] 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 [ 437.533311][T11954] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 437.533332][T11954] 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 [ 437.666213][T11954] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 437.666249][T11954] 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 [ 437.796728][T11954] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 437.796748][T11954] 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 [ 437.898165][T11954] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 437.898185][T11954] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 437.921130][T12000] loop0: detected capacity change from 0 to 32768 [ 438.028083][T12004] loop3: detected capacity change from 0 to 32768 [ 438.046013][T11954] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.094700][T11954] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.113081][T11954] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.117131][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.134837][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.144080][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.181208][T11954] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.207228][T11954] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.261684][T12005] loop2: detected capacity change from 0 to 32768 [ 438.283330][T11954] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.329160][T11954] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.391456][T11954] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.405800][T11954] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.419694][T11954] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.431987][T11954] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.443413][T11954] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.456209][T11954] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.466836][T11954] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 438.482783][T11954] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 438.506331][T11954] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 438.506514][T12000] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.524013][T11954] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 438.565977][T12004] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.566132][T12004] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.566232][T12004] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.623342][T11954] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 438.635694][T11954] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 438.646385][T11954] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 438.688978][T11954] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 438.688995][T11954] Ratelimiting new instances of previous error [ 438.710590][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.710724][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.710818][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.761230][T11954] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 438.761248][T11954] Ratelimiting new instances of previous error [ 438.875492][T12007] loop1: detected capacity change from 0 to 32768 [ 438.896285][T11954] done [ 438.919433][T11954] bcachefs (loop4): going read-write [ 438.976800][T11954] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 439.010856][T11954] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 439.056077][T11954] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 439.119578][T12004] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.163260][T11954] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 439.172239][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 439.186581][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 439.198453][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 439.281711][T12005] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.301792][T11954] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 439.336938][T11954] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 439.368803][T11954] bcachefs (loop4): shutting down [ 439.492899][T11954] bcachefs (loop4): shutdown complete [ 439.909577][T12007] bcachefs: bch2_fs_get_tree() error: EINVAL [ 440.013779][T12042] loop0: detected capacity change from 0 to 32768 [ 440.172770][T12044] loop3: detected capacity change from 0 to 32768 [ 440.204471][ T1298] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.211025][ T1298] ieee802154 phy1 wpan1: encryption failed: -22 [ 440.291412][T12046] loop2: detected capacity change from 0 to 32768 [ 440.667363][T12063] loop1: detected capacity change from 0 to 32768 [ 440.711641][T12044] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.718196][T12042] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.724328][T12046] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.775528][T12042] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 440.775528][T12042] allowing incompatible features above 0.0: (unknown version) [ 440.775770][T12044] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.799060][T12042] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 440.799297][T12042] bcachefs (loop0): Version upgrade required: [ 440.799297][T12042] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 440.799297][T12042] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 440.799297][T12042] 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 [ 440.893052][T12044] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.908091][T12046] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.924039][T12042] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 440.924058][T12042] 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 [ 440.924071][T12042] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 440.924082][T12042] error not marked as autofix and not in fsck [ 440.924092][T12042] run fsck, and forward to devs so error can be marked for self-healing [ 440.924103][T12042] inconsistency detected - emergency read only at journal seq 10 [ 440.926434][T12046] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.994276][T12042] bcachefs (loop0): flagging btree extents lost data [ 441.002570][T12042] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 441.016217][T12042] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 441.035761][T12042] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 441.084677][T12042] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 441.084705][T12042] 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 [ 441.084719][T12042] 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 [ 441.124474][T12063] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.124629][T12063] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.124725][T12063] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.131806][T11954] bcachefs: bch2_fs_get_tree() error: EINTR [ 441.442791][T12042] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 441.442791][T12042] 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 [ 441.550103][T12046] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.570240][T12042] bcachefs (loop0): scan_for_btree_nodes... [ 441.619178][T12044] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.620381][T12063] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.661126][T12042] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 441.700493][T12042] done [ 441.703409][T12042] bcachefs (loop0): check_topology... [ 441.751608][T12042] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 441.835602][T12042] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 441.906893][T12042] 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 [ 441.976585][ T1072] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 441.976611][ T1072] 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 [ 441.976625][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 441.976636][ T1072] error not marked as autofix and not in fsck [ 441.976646][ T1072] run fsck, and forward to devs so error can be marked for self-healing 2025/05/25 03:46:19 executed programs: 523 [ 442.048409][T12042] bcachefs (loop0): Topology repair: unreadable btree node at [ 442.048427][T12042] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 442.114586][T12042] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 442.114605][T12042] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 442.146486][T12042] bcachefs (loop0): empty btree root extents [ 442.152955][T12042] done [ 442.155743][T12042] bcachefs (loop0): accounting_read... done [ 442.188793][T12042] bcachefs (loop0): alloc_read... done [ 442.194646][T12042] bcachefs (loop0): snapshots_read... done [ 442.239822][T12042] bcachefs (loop0): check_allocations... [ 442.252862][T12042] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 442.252892][T12042] 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 [ 442.371414][T12042] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 442.371434][T12042] 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 [ 442.463086][T12042] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 442.463108][T12042] 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 [ 442.566676][T12079] loop4: detected capacity change from 0 to 32768 [ 442.576605][T12042] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 442.576626][T12042] 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 [ 442.702016][T12042] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 442.702036][T12042] 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 [ 442.759861][T12085] loop3: detected capacity change from 0 to 32768 [ 442.789337][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.789463][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.789559][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.004769][T12085] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.004902][T12085] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.004999][T12085] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.140406][T12081] loop1: detected capacity change from 0 to 32768 [ 443.207007][T12079] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.223426][T12084] loop2: detected capacity change from 0 to 32768 [ 443.300748][T12042] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.359798][T12042] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 443.451527][T12081] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.451659][T12081] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.451757][T12081] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.540760][T12084] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.540884][T12084] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.540977][T12084] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.582401][T12085] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.729638][T12042] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.768933][T12042] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 443.820415][T12042] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.858956][T12042] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 443.907146][T12042] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.935274][T12084] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.991250][T12042] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.014087][T12042] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.017556][T12081] bcachefs: bch2_fs_get_tree() error: EINVAL [ 444.046836][T12042] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.103239][T12042] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.174498][T12042] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.219141][T12042] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.254255][T12042] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 444.292261][T12042] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 444.332618][T12042] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 444.371866][T12042] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 444.409424][T12042] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 444.458420][T12042] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 444.491174][T12042] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 444.549311][T12042] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 444.549329][T12042] Ratelimiting new instances of previous error [ 444.586485][T12114] loop4: detected capacity change from 0 to 32768 [ 444.648042][T12042] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 444.648061][T12042] Ratelimiting new instances of previous error [ 444.720689][T12042] done [ 444.724233][T12042] bcachefs (loop0): going read-write [ 444.744468][T12042] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 444.771340][T12114] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 444.796102][T12042] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 444.849839][T12042] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 444.863959][T12114] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.908918][T12042] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 444.912337][T12114] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.960258][T12042] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 444.967963][T12042] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 444.993221][T12121] loop1: detected capacity change from 0 to 32768 [ 445.001256][T12042] bcachefs (loop0): shutting down [ 445.052254][T12117] loop2: detected capacity change from 0 to 32768 [ 445.130760][T12042] bcachefs (loop0): shutdown complete [ 445.307923][T12119] loop3: detected capacity change from 0 to 32768 [ 445.417201][T12114] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.583745][T12121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.583745][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.648409][T12117] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 445.648409][T12117] allowing incompatible features above 0.0: (unknown version) [ 445.668898][T12121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.674342][T12117] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 445.690372][T12117] bcachefs (loop2): Version upgrade required: [ 445.690372][T12117] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 445.690372][T12117] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 445.690372][T12117] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 445.706289][T12119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.762794][T12121] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.792525][T12119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.836305][T12117] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 445.836326][T12117] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 445.836339][T12117] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 445.836351][T12117] error not marked as autofix and not in fsck [ 445.836361][T12117] run fsck, and forward to devs so error can be marked for self-healing [ 445.836372][T12117] inconsistency detected - emergency read only at journal seq 10 [ 445.969203][T12119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.982473][T12117] bcachefs (loop2): flagging btree extents lost data [ 445.993661][T12117] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 446.026243][T12117] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 446.074507][T12117] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 446.090084][T12042] bcachefs: bch2_fs_get_tree() error: EINTR [ 446.091567][T12121] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.115623][T12117] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 446.115643][T12117] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 446.115656][T12117] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 446.263280][T12117] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 446.263280][T12117] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 446.353345][T12117] bcachefs (loop2): scan_for_btree_nodes... [ 446.388903][T12117] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 446.432183][T12117] done [ 446.443042][T12117] bcachefs (loop2): check_topology... [ 446.444267][T12117] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 446.470205][T12150] loop4: detected capacity change from 0 to 32768 [ 446.492017][T12117] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 446.509330][T12117] 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 [ 446.529606][T12119] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.558613][ T42] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 446.558640][ T42] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 446.559890][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 446.559906][ T42] error not marked as autofix and not in fsck [ 446.559913][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 446.644863][T12117] bcachefs (loop2): Topology repair: unreadable btree node at [ 446.644882][T12117] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 446.759714][T12117] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 446.759732][T12117] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 446.793631][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 446.793769][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 446.793865][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 446.987095][T12117] bcachefs (loop2): empty btree root extents [ 447.004878][T12117] done [ 447.025735][T12117] bcachefs (loop2): accounting_read... done [ 447.053697][T12117] bcachefs (loop2): alloc_read... done [ 447.071739][T12117] bcachefs (loop2): snapshots_read... done [ 447.087998][T12117] bcachefs (loop2): check_allocations... [ 447.103130][T12117] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 447.103151][T12117] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 447.208960][T12117] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 447.208980][T12117] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 447.229159][T12150] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.320323][T12117] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 447.320341][T12117] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 447.402416][T12117] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 447.402437][T12117] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 447.516374][T12166] loop3: detected capacity change from 0 to 32768 [ 447.547121][T12117] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 447.547141][T12117] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing 2025/05/25 03:46:25 executed programs: 534 [ 447.594429][T12163] loop1: detected capacity change from 0 to 32768 [ 447.648105][T12164] loop0: detected capacity change from 0 to 32768 [ 447.698019][T12117] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 447.764216][T12166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.764346][T12166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.764438][T12166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.844453][T12163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.844592][T12163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.844687][T12163] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.937687][T12164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.937818][T12164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.937913][T12164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.141272][T12177] loop4: detected capacity change from 0 to 32768 [ 448.328992][T12117] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.387962][T12117] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.398394][T12117] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.402082][T12163] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.418542][T12177] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 448.418744][T12177] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 448.418834][T12177] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.444183][T12117] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.469995][T12166] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.599467][T12164] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.665319][T12117] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.749101][T12117] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.795146][T12117] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.837339][T12117] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.872848][T12177] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.898932][T12117] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 448.932857][T12117] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 448.975684][T12117] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.040222][T12117] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.074359][T12117] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.121318][T12117] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.167589][T12117] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 449.202727][T12117] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 449.238160][T12117] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 449.294865][T12117] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 449.344494][T12117] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 449.399279][T12117] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 449.399298][T12117] Ratelimiting new instances of previous error [ 449.435863][T12117] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 449.435884][T12117] Ratelimiting new instances of previous error [ 449.527779][T12117] done [ 449.549418][T12117] bcachefs (loop2): going read-write [ 449.596712][T12117] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 449.628819][T12117] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 449.637777][T12117] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 449.678794][T12117] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 449.740329][T12117] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 449.747166][T12117] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 449.773702][T12200] loop3: detected capacity change from 0 to 32768 [ 449.788762][T12117] bcachefs (loop2): shutting down [ 449.892175][T12198] loop1: detected capacity change from 0 to 32768 [ 449.904023][T12202] loop0: detected capacity change from 0 to 32768 [ 449.920697][T12117] bcachefs (loop2): shutdown complete [ 449.977862][T12204] loop4: detected capacity change from 0 to 32768 [ 450.606379][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.610938][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.631224][T12204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.651077][T12198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.702669][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.709233][T12202] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 450.709233][T12202] allowing incompatible features above 0.0: (unknown version) [ 450.712120][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.743150][T12204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.762662][T12204] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.768888][T12202] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 450.770911][T12198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.794094][T12202] bcachefs (loop0): Version upgrade required: [ 450.794094][T12202] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 450.794094][T12202] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 450.794094][T12202] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 450.831567][T12198] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.908289][T12117] bcachefs: bch2_fs_get_tree() error: EINTR [ 450.932081][T12202] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 450.932102][T12202] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 450.932116][T12202] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 450.932128][T12202] error not marked as autofix and not in fsck [ 450.932138][T12202] run fsck, and forward to devs so error can be marked for self-healing [ 450.932149][T12202] inconsistency detected - emergency read only at journal seq 10 [ 451.178955][T12202] bcachefs (loop0): flagging btree extents lost data [ 451.185887][T12202] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 451.248796][T12202] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 451.290507][T12198] bcachefs: bch2_fs_get_tree() error: EINVAL [ 451.303883][T12202] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 451.360961][T12204] bcachefs: bch2_fs_get_tree() error: EINVAL [ 451.371245][T12200] bcachefs: bch2_fs_get_tree() error: EINVAL [ 451.433977][T12202] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 451.433996][T12202] 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.434010][T12202] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 451.568128][T12202] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 451.568128][T12202] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 451.673817][T12202] bcachefs (loop0): scan_for_btree_nodes... [ 451.695651][T12202] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 451.738922][T12202] done [ 451.741747][T12202] bcachefs (loop0): check_topology... [ 451.746388][T12202] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 451.811555][T12202] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 451.869084][T12202] 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 [ 451.946888][ T42] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 451.946952][ T42] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 451.946967][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 451.946980][ T42] error not marked as autofix and not in fsck [ 451.946990][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 452.010393][T12202] bcachefs (loop0): Topology repair: unreadable btree node at [ 452.010412][T12202] 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.123227][T12202] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 452.123247][T12202] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 452.169018][T12202] bcachefs (loop0): empty btree root extents [ 452.185825][T12202] done [ 452.188798][T12202] bcachefs (loop0): accounting_read... done [ 452.222506][T12202] bcachefs (loop0): alloc_read... done [ 452.238897][T12202] bcachefs (loop0): snapshots_read... done [ 452.245128][T12202] bcachefs (loop0): check_allocations... [ 452.247563][T12202] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 452.247583][T12202] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 452.329157][T12238] loop4: detected capacity change from 0 to 32768 [ 452.344845][T12235] loop2: detected capacity change from 0 to 32768 [ 452.426561][T12202] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 452.426581][T12202] 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 [ 452.499973][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.500107][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.500209][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.613377][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.698919][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.711301][T12202] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 452.711319][T12202] 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 [ 452.753996][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.841472][T12240] loop1: detected capacity change from 0 to 32768 [ 452.898636][T12202] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 452.898722][T12202] 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.019154][T12238] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.065780][T12242] loop3: detected capacity change from 0 to 32768 [ 453.127811][T12240] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.161771][T12202] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 453.161791][T12202] 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.183286][T12240] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.183384][T12240] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.193512][T12235] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.385755][T12242] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.385899][T12242] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.385993][T12242] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.560503][T12240] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.569780][T12202] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing 2025/05/25 03:46:31 executed programs: 543 [ 453.607496][T12202] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.670897][T12202] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.697586][T12242] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.788906][T12202] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.831938][T12202] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.862572][T12202] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.899506][T12202] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 453.930399][T12202] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 453.969198][T12202] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.014628][T12202] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.069146][T12202] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.109741][T12202] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.139150][T12202] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.177959][T12202] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 454.217147][T12202] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 454.258931][T12202] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 454.308449][T12202] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.370371][T12202] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.389257][T12202] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.410214][T12202] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.442943][T12202] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 454.442962][T12202] Ratelimiting new instances of previous error [ 454.479080][T12202] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 454.479100][T12202] Ratelimiting new instances of previous error [ 454.561860][T12202] done [ 454.579804][T12202] bcachefs (loop0): going read-write [ 454.602305][T12202] bcachefs (loop0): bch2_copygc_start(): error creating copygc thread EINTR [ 454.631728][T12202] bcachefs (loop0): __bch2_fs_read_write(): error error starting copygc thread EINTR [ 454.638896][T12273] loop4: detected capacity change from 0 to 32768 [ 454.657905][T12274] loop2: detected capacity change from 0 to 32768 [ 454.664641][T12202] bcachefs (loop0): going read-only [ 454.684945][T12202] bcachefs (loop0): finished waiting for writes to stop [ 454.701297][T12202] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 454.739276][T12276] loop3: detected capacity change from 0 to 32768 [ 454.746592][T12202] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 454.755163][T12278] loop1: detected capacity change from 0 to 32768 [ 454.790911][T12202] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 454.845595][T12202] bcachefs (loop0): done going read-only, filesystem not clean [ 454.861075][T12202] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 454.867988][T12202] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 454.878222][T12202] bcachefs (loop0): shutting down [ 454.897761][T12273] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.927233][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.950809][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.973921][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.048742][T12273] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.057970][T12273] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.099995][T12276] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.104408][T12278] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.156701][T12202] bcachefs (loop0): shutdown complete [ 455.176101][T12276] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 455.176101][T12276] allowing incompatible features above 0.0: (unknown version) [ 455.208570][T12278] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.228023][T12276] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 455.236722][T12278] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.249671][T12276] bcachefs (loop3): Version upgrade required: [ 455.249671][T12276] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 455.249671][T12276] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 455.249671][T12276] 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 [ 455.430884][T12276] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 455.430905][T12276] 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 [ 455.430919][T12276] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 455.430931][T12276] error not marked as autofix and not in fsck [ 455.430941][T12276] run fsck, and forward to devs so error can be marked for self-healing [ 455.430957][T12276] inconsistency detected - emergency read only at journal seq 10 [ 455.508164][T12274] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.601790][T12202] bcachefs: bch2_fs_get_tree() error: EINTR [ 455.669675][T12273] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.810469][T12276] bcachefs (loop3): flagging btree extents lost data [ 455.817447][T12276] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 455.839430][T12278] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.884399][T12276] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 455.939041][T12276] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 455.992405][T12276] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 455.992423][T12276] 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 [ 455.992436][T12276] 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.215677][T12276] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 456.215677][T12276] 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 [ 456.302366][T12276] bcachefs (loop3): scan_for_btree_nodes... [ 456.395761][T12276] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 456.441180][T12276] done [ 456.444166][T12276] bcachefs (loop3): check_topology... [ 456.475639][T12276] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 456.519173][T12276] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 456.549602][T12276] 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 [ 456.612193][ T1072] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 456.612220][ T1072] 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 [ 456.612234][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 456.612247][ T1072] error not marked as autofix and not in fsck [ 456.612256][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 456.670957][T12276] bcachefs (loop3): Topology repair: unreadable btree node at [ 456.670974][T12276] 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 [ 456.733728][T12310] loop2: detected capacity change from 0 to 32768 [ 456.811488][T12276] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 456.811508][T12276] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 456.879900][T12276] bcachefs (loop3): empty btree root extents [ 456.885778][T12310] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.887027][T12276] done [ 456.901786][T12276] bcachefs (loop3): accounting_read... done [ 456.918855][T12276] bcachefs (loop3): alloc_read... done [ 456.925990][T12276] bcachefs (loop3): snapshots_read... done [ 456.939099][T12276] bcachefs (loop3): check_allocations... [ 456.943526][T12276] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 456.943548][T12276] 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 [ 456.978840][T12310] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.978941][T12310] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.042952][T12312] loop0: detected capacity change from 0 to 32768 [ 457.196633][T12312] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.196757][T12312] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.196850][T12312] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.325766][T12314] loop1: detected capacity change from 0 to 32768 [ 457.350754][T12276] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 457.350774][T12276] 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.431041][T12276] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 457.431061][T12276] 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.460105][T12310] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.546294][T12317] loop4: detected capacity change from 0 to 32768 [ 457.594030][T12312] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.603059][T12314] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.638863][T12276] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 457.638885][T12276] 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.704086][T12314] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.704175][T12314] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.830663][T12317] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.841900][T12317] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.853794][T12317] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.911010][T12276] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 457.911031][T12276] 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.010048][T12276] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.052326][T12276] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.109249][T12276] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.174058][T12276] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.243988][T12314] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.306985][T12276] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.339417][T12276] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.372602][T12317] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.384739][T12276] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.405823][T12276] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.460805][T12276] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.498871][T12276] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.539681][T12276] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.564919][T12276] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/25 03:46:36 executed programs: 553 [ 458.607193][T12276] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.627140][T12276] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 458.670563][T12276] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 458.709347][T12276] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 458.745054][T12276] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.779064][T12276] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 458.834906][T12276] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.859939][T12347] loop2: detected capacity change from 0 to 32768 [ 458.917036][T12276] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 458.948038][T12276] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 458.948058][T12276] Ratelimiting new instances of previous error [ 459.019172][T12276] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 459.019191][T12276] Ratelimiting new instances of previous error [ 459.051184][T12347] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 459.051335][T12347] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 459.051430][T12347] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 459.218646][T12349] loop0: detected capacity change from 0 to 32768 [ 459.257496][T12276] done [ 459.295455][T12276] bcachefs (loop3): going read-write [ 459.337150][T12276] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 459.369279][T12276] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 459.409687][T12276] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 459.410514][T12351] loop1: detected capacity change from 0 to 32768 [ 459.438372][T12276] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 459.468158][T12349] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 459.552118][T12276] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 459.568648][T12276] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 459.572363][T12349] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 459.587128][T12276] bcachefs (loop3): shutting down [ 459.599502][T12347] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.624547][T12349] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 459.662011][T12276] bcachefs (loop3): shutdown complete [ 459.673967][T12353] loop4: detected capacity change from 0 to 32768 [ 459.874430][T12351] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 459.954322][T12351] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 459.954322][T12351] allowing incompatible features above 0.0: (unknown version) [ 459.983238][T12351] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 459.992138][T12351] bcachefs (loop1): Version upgrade required: [ 459.992138][T12351] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 459.992138][T12351] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 459.992138][T12351] 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.022985][T12353] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.080622][T12353] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.096033][T12353] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.175307][T12351] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 460.175329][T12351] 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.175350][T12351] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 460.175363][T12351] error not marked as autofix and not in fsck [ 460.175373][T12351] run fsck, and forward to devs so error can be marked for self-healing [ 460.175384][T12351] inconsistency detected - emergency read only at journal seq 10 [ 460.292259][T12276] bcachefs: bch2_fs_get_tree() error: EINTR [ 460.368790][T12351] bcachefs (loop1): flagging btree extents lost data [ 460.381829][T12349] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.390279][T12351] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 460.428766][T12351] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 460.498550][T12351] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 460.574168][T12351] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 460.574188][T12351] 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 [ 460.574201][T12351] 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 [ 460.668938][T12353] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.765730][T12351] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 460.765730][T12351] 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 [ 460.894779][T12351] bcachefs (loop1): scan_for_btree_nodes... [ 460.958968][T12351] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 460.989043][T12351] done [ 460.992150][T12351] bcachefs (loop1): check_topology... [ 460.994861][T12351] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 461.038871][T12351] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 461.069085][T12351] 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.115145][T12384] loop2: detected capacity change from 0 to 32768 [ 461.145640][ T42] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 461.145666][ T42] 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.145680][ T42] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 461.145693][ T42] error not marked as autofix and not in fsck [ 461.145702][ T42] run fsck, and forward to devs so error can be marked for self-healing [ 461.214124][T12351] bcachefs (loop1): Topology repair: unreadable btree node at [ 461.214178][T12351] 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.362276][T12351] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 461.362295][T12351] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 461.392344][T12384] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 461.392474][T12384] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 461.392568][T12384] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.557377][T12351] bcachefs (loop1): empty btree root extents [ 461.584853][T12351] done [ 461.591789][T12386] loop3: detected capacity change from 0 to 32768 [ 461.598471][T12351] bcachefs (loop1): accounting_read... done [ 461.618788][T12351] bcachefs (loop1): alloc_read... done [ 461.624449][T12351] bcachefs (loop1): snapshots_read... done [ 461.663861][T12351] bcachefs (loop1): check_allocations... [ 461.682601][T12351] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 461.682621][T12351] 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 [ 461.766812][T12391] loop4: detected capacity change from 0 to 32768 [ 461.808072][T12386] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 461.808223][T12386] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 461.808326][T12386] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.891905][T12384] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.061813][T12391] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.097339][T12351] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 462.097357][T12351] 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.143674][T12391] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.143772][T12391] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.220162][T12388] loop0: detected capacity change from 0 to 32768 [ 462.344247][T12386] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.451424][T12388] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.486975][T12351] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 462.486994][T12351] 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.528005][T12388] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.528106][T12388] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.647137][T12351] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 462.647157][T12351] 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.709602][T12391] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.783304][T12351] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 462.783324][T12351] 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.874072][T12351] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.891805][T12388] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.931383][T12351] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.972826][T12351] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.006371][T12351] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.032460][T12351] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.081370][T12351] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.122584][T12351] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.144683][T12351] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.183367][T12351] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.190145][T12414] loop2: detected capacity change from 0 to 32768 [ 463.209099][T12351] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.249863][T12351] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.290148][T12351] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.352230][T12351] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.400552][T12351] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 463.446341][T12414] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 463.446476][T12414] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 463.446583][T12414] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 463.609440][T12351] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 463.649091][T12351] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 463.683999][T12351] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.722301][T12423] loop3: detected capacity change from 0 to 32768 [ 463.744783][T12351] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.761302][T12425] loop4: detected capacity change from 0 to 32768 [ 463.793015][T12351] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.808298][T12351] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.822011][T12351] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 463.822029][T12351] Ratelimiting new instances of previous error [ 463.847409][T12351] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 463.847427][T12351] Ratelimiting new instances of previous error [ 463.931547][T12351] done [ 463.943451][T12351] bcachefs (loop1): going read-write [ 463.970447][T12351] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 464.019776][T12414] bcachefs: bch2_fs_get_tree() error: EINVAL [ 464.028353][T12351] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 464.042660][T12423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.070292][T12425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.095622][T12423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.112105][T12351] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 464.138854][T12423] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.147437][T12425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.168744][T12351] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 464.183760][T12425] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.225101][T12351] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 464.249869][T12351] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 464.258004][T12351] bcachefs (loop1): shutting down [ 464.332533][T12351] bcachefs (loop1): shutdown complete [ 464.454495][T12434] loop0: detected capacity change from 0 to 32768 2025/05/25 03:46:42 executed programs: 563 [ 464.836438][T12454] loop2: detected capacity change from 0 to 32768 [ 464.905994][T12423] bcachefs: bch2_fs_get_tree() error: EINVAL [ 464.913497][T12425] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.346882][T12434] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.408326][T12454] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.413765][T12434] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 465.413765][T12434] allowing incompatible features above 0.0: (unknown version) [ 465.443608][T12434] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 465.452194][T12434] bcachefs (loop0): Version upgrade required: [ 465.452194][T12434] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 465.452194][T12434] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 465.452194][T12434] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 465.513843][T12454] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 465.564405][T12434] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 465.564423][T12434] 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.564435][T12434] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 465.564446][T12434] error not marked as autofix and not in fsck [ 465.564454][T12434] run fsck, and forward to devs so error can be marked for self-healing [ 465.564464][T12434] inconsistency detected - emergency read only at journal seq 10 [ 465.574736][T12454] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 465.576398][T12434] bcachefs (loop0): flagging btree extents lost data [ 465.671704][T12434] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 465.686307][T12351] bcachefs: bch2_fs_get_tree() error: EINTR [ 465.693988][T12434] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 465.732844][T12434] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 465.794153][T12434] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 465.794173][T12434] 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.794187][T12434] 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.907989][T12465] loop4: detected capacity change from 0 to 32768 [ 465.966426][T12454] bcachefs: bch2_fs_get_tree() error: EINVAL [ 466.078247][T12434] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 466.078247][T12434] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 466.123224][T12467] loop3: detected capacity change from 0 to 32768 [ 466.155074][T12465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.166437][T12465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.175919][T12465] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.292730][T12434] bcachefs (loop0): scan_for_btree_nodes... [ 466.361676][T12467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.389036][T12467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.420212][T12434] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 466.443821][T12467] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.488811][T12434] done [ 466.491637][T12434] bcachefs (loop0): check_topology... [ 466.516521][T12434] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 466.581722][T12434] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 466.620920][T12465] bcachefs: bch2_fs_get_tree() error: EINVAL [ 466.627632][T12434] 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 [ 466.691582][ T1072] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 466.691611][ T1072] 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.691625][ T1072] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 466.691638][ T1072] error not marked as autofix and not in fsck [ 466.691648][ T1072] run fsck, and forward to devs so error can be marked for self-healing [ 466.791163][T12434] bcachefs (loop0): Topology repair: unreadable btree node at [ 466.791183][T12434] 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.969233][T12434] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 466.969251][T12434] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 467.029149][T12434] bcachefs (loop0): empty btree root extents [ 467.035291][T12434] done [ 467.036637][T12478] loop2: detected capacity change from 0 to 32768 [ 467.038151][T12434] bcachefs (loop0): accounting_read... [ 467.066023][T12467] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.200925][T12434] done [ 467.203839][T12434] bcachefs (loop0): alloc_read... done [ 467.231543][T12434] bcachefs (loop0): snapshots_read... done [ 467.237555][T12434] bcachefs (loop0): check_allocations... [ 467.325679][T12434] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 467.325701][T12434] 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 [ 467.409646][T12478] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.409783][T12478] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.409871][T12478] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.543983][T12486] loop1: detected capacity change from 0 to 32768 [ 467.639214][T12490] loop4: detected capacity change from 0 to 32768 [ 467.685347][T12434] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 467.685368][T12434] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 467.768264][T12478] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.786727][T12486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.807918][T12434] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 467.807938][T12434] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 467.892250][T12486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.892356][T12486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.962126][T12490] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.031422][T12434] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 468.031442][T12434] 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 [ 468.078848][T12490] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.078949][T12490] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.237115][T12499] loop3: detected capacity change from 0 to 32768 [ 468.248206][T12434] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 468.248226][T12434] 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 [ 468.309256][T12486] bcachefs: bch2_fs_get_tree() error: EINVAL [ 468.417032][T12434] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.444236][T12434] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.480970][T12434] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.505012][T12434] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.569670][T12434] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.579939][T12434] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.589598][T12499] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.618765][T12434] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.640334][T12490] bcachefs: bch2_fs_get_tree() error: EINVAL [ 468.659273][T12434] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.681014][T12499] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.681111][T12499] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.793814][T12434] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.835667][T12434] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.869099][T12434] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.888926][T12434] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.902259][T12434] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 468.953886][T12434] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 468.982974][T12434] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 469.023383][T12434] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 469.035675][T12434] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 469.046516][T12434] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 469.058599][T12434] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 469.070080][T12434] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 469.083087][T12434] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 469.083105][T12434] Ratelimiting new instances of previous error [ 469.102330][T12434] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 469.102349][T12434] Ratelimiting new instances of previous error [ 469.104804][T12499] bcachefs: bch2_fs_get_tree() error: EINVAL [ 469.177284][T12434] done [ 469.199384][T12434] bcachefs (loop0): going read-write [ 469.206238][T12434] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 469.242458][T12434] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 469.278782][T12434] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 469.338755][T12434] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 469.401986][T12434] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 469.428755][T12434] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 469.436964][T12434] bcachefs (loop0): shutting down [ 469.541651][T12434] bcachefs (loop0): shutdown complete [ 469.544638][T12522] loop2: detected capacity change from 0 to 32768 [ 469.764144][T12524] loop1: detected capacity change from 0 to 32768 [ 470.060183][T12529] loop3: detected capacity change from 0 to 32768 [ 470.062894][T12526] loop4: detected capacity change from 0 to 32768 [ 470.305810][T12524] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.316258][T12522] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.342197][T12524] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 470.342197][T12524] allowing incompatible features above 0.0: (unknown version) [ 470.345364][T12522] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.366260][T12524] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 470.384072][T12524] bcachefs (loop1): Version upgrade required: [ 470.384072][T12524] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 470.384072][T12524] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 470.384072][T12524] 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 [ 470.386121][T12522] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 470.469751][T12524] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 470.469771][T12524] 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 [ 470.469784][T12524] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 470.469797][T12524] error not marked as autofix and not in fsck [ 470.469807][T12524] run fsck, and forward to devs so error can be marked for self-healing [ 470.469818][T12524] inconsistency detected - emergency read only at journal seq 10 [ 470.553022][T12524] bcachefs (loop1): flagging btree extents lost data [ 470.559864][T12524] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 470.586325][T12529] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.598067][T12524] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 470.605203][T12526] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.634860][T12529] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.645966][T12524] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing