check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 409.794223][T11398] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 409.897435][T11370] bcachefs: bch2_fs_get_tree() error: EINVAL [ 409.974989][T11363] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 409.975009][T11363] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 409.975022][T11363] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 409.975033][T11363] error not marked as autofix and not in fsck [ 409.975041][T11363] run fsck, and forward to devs so error can be marked for self-healing [ 409.975051][T11363] inconsistency detected - emergency read only at journal seq 10 [ 409.981540][T11285] bcachefs: bch2_fs_get_tree() error: EINTR [ 410.002005][T11363] bcachefs (loop1): flagging btree extents lost data [ 410.002041][T11363] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 410.002061][T11363] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 410.090971][T11363] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 410.137584][T11363] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 410.137604][T11363] 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.137616][T11363] 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.318385][T11363] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 410.318385][T11363] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 410.344945][T11395] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.419367][T11398] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.420762][T11363] bcachefs (loop1): scan_for_btree_nodes... [ 410.566846][T11363] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 410.601641][T11363] done [ 410.610015][T11363] bcachefs (loop1): check_topology... [ 410.622474][T11363] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 410.658967][T11363] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 410.692387][T11363] 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 [ 410.731066][ T59] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 410.731098][ T59] 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 [ 410.731112][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 410.731125][ T59] error not marked as autofix and not in fsck [ 410.731134][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 410.817573][T11363] bcachefs (loop1): Topology repair: unreadable btree node at [ 410.817602][T11363] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 410.932158][T11363] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 410.932182][T11363] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 411.019245][T11363] bcachefs (loop1): empty btree root extents [ 411.025637][T11363] done [ 411.045022][T11363] bcachefs (loop1): accounting_read... done [ 411.054452][T11363] bcachefs (loop1): alloc_read... done [ 411.081967][T11363] bcachefs (loop1): snapshots_read... done [ 411.092129][T11363] bcachefs (loop1): check_allocations... [ 411.115300][T11363] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 411.115325][T11363] 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.178464][T11417] loop3: detected capacity change from 0 to 32768 [ 411.233571][T11363] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 411.233595][T11363] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 411.401359][T11417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.401513][T11417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.401615][T11417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.561010][T11415] loop4: detected capacity change from 0 to 32768 [ 411.585173][T11421] loop2: detected capacity change from 0 to 32768 [ 411.597487][T11363] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 411.597510][T11363] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 411.682838][T11363] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 411.682856][T11363] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 411.744722][T11419] loop0: detected capacity change from 0 to 32768 [ 411.751832][T11363] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 411.751851][T11363] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 411.901981][T11417] bcachefs: bch2_fs_get_tree() error: EINVAL [ 411.913106][T11421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.913240][T11421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.913333][T11421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.922421][T11415] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.922546][T11415] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.922629][T11415] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.058844][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.124701][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.144841][T11363] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.164145][T11363] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.184034][T11419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.287307][T11363] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.344111][T11363] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.374756][T11363] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.414772][T11421] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.464148][T11363] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.521118][T11363] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.555778][T11363] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.573225][T11415] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.613265][T11363] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.664180][T11363] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.717806][T11363] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.735262][T11419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.741505][T11363] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.800524][T11363] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.832973][T11363] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 412.889406][T11363] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 412.914129][T11363] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 412.949227][T11363] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing 2025/05/11 08:42:25 executed programs: 509 [ 412.997476][T11363] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.046341][T11363] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.077482][T11363] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.101113][T11451] loop3: detected capacity change from 0 to 32768 [ 413.124513][T11363] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 413.124531][T11363] Ratelimiting new instances of previous error [ 413.174200][T11363] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 413.174218][T11363] Ratelimiting new instances of previous error [ 413.243802][T11451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.259025][T11451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.259135][T11451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.451559][T11363] done [ 413.468291][T11363] bcachefs (loop1): going read-write [ 413.476240][T11455] loop4: detected capacity change from 0 to 32768 [ 413.497912][T11363] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 413.519756][T11363] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 413.544738][T11363] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 413.575916][T11363] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 413.659071][T11363] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 413.680140][T11455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.691899][T11455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.694169][T11363] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 413.701149][T11455] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.738657][T11451] bcachefs: bch2_fs_get_tree() error: EINVAL [ 413.763998][T11363] bcachefs (loop1): shutting down [ 413.903557][T11363] bcachefs (loop1): shutdown complete [ 413.957422][T11453] loop2: detected capacity change from 0 to 32768 [ 414.043842][T11462] loop0: detected capacity change from 0 to 32768 [ 414.224701][T11455] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.610391][T11453] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.623410][T11462] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.647328][T11485] loop3: detected capacity change from 0 to 32768 [ 414.726266][T11453] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.737826][T11462] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 414.737826][T11462] allowing incompatible features above 0.0: (unknown version) [ 414.771345][T11453] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.825520][T11462] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 414.847853][T11462] bcachefs (loop0): Version upgrade required: [ 414.847853][T11462] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 414.847853][T11462] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 414.847853][T11462] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 414.926219][T11462] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 414.926238][T11462] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 414.926252][T11462] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 414.926264][T11462] error not marked as autofix and not in fsck [ 414.926273][T11462] run fsck, and forward to devs so error can be marked for self-healing [ 414.926285][T11462] inconsistency detected - emergency read only at journal seq 10 [ 415.042633][T11490] loop4: detected capacity change from 0 to 32768 [ 415.059604][T11462] bcachefs (loop0): flagging btree extents lost data [ 415.086861][T11363] bcachefs: bch2_fs_get_tree() error: EINTR [ 415.128787][T11462] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 415.143112][T11462] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 415.153536][T11485] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.244109][T11485] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.253624][T11485] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.270214][T11462] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 415.310773][T11490] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.334138][T11490] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.334234][T11490] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.406897][T11453] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.546377][T11462] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 415.546396][T11462] 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.546409][T11462] 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.619996][T11485] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.733461][T11462] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 415.733461][T11462] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 415.777204][T11490] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.787951][T11462] bcachefs (loop0): scan_for_btree_nodes... [ 415.950149][T11462] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 415.989589][T11462] done [ 415.994328][T11462] bcachefs (loop0): check_topology... [ 416.014414][T11462] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 416.042957][T11462] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 416.067153][T11462] 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 [ 416.103192][ T59] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 416.103218][ T59] 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.103233][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 416.103245][ T59] error not marked as autofix and not in fsck [ 416.103255][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 416.184513][T11462] bcachefs (loop0): Topology repair: unreadable btree node at [ 416.184531][T11462] 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.310422][T11462] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 416.310441][T11462] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 416.352044][T11462] bcachefs (loop0): empty btree root extents [ 416.368428][T11462] done [ 416.384086][T11462] bcachefs (loop0): accounting_read... [ 416.417553][T11506] loop1: detected capacity change from 0 to 32768 [ 416.446394][T11462] done [ 416.449346][T11462] bcachefs (loop0): alloc_read... done [ 416.450707][T11509] loop2: detected capacity change from 0 to 32768 [ 416.471052][T11462] bcachefs (loop0): snapshots_read... done [ 416.487480][T11462] bcachefs (loop0): check_allocations... [ 416.502880][T11462] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 416.502900][T11462] 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.558285][T11509] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.558410][T11509] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.558497][T11509] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.767145][T11513] loop4: detected capacity change from 0 to 32768 [ 416.839232][T11506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.887258][T11506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.906151][T11462] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 416.906169][T11462] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 416.932793][T11506] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.941980][T11462] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 416.941996][T11462] 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.032111][T11513] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.032237][T11513] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.032322][T11513] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.040661][T11511] loop3: detected capacity change from 0 to 32768 [ 417.069693][T11509] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.324973][T11506] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.349093][T11511] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.400790][T11462] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 417.400810][T11462] 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.474867][T11511] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.474951][T11511] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.627318][T11513] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.644283][T11462] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 417.644301][T11462] 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.810591][T11462] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.850913][T11462] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 417.883260][T11462] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 417.900854][T11511] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.951058][T11462] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/11 08:42:30 executed programs: 519 [ 418.030719][T11462] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.060838][T11462] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.114549][T11462] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.144654][T11462] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.177808][T11462] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.208279][T11462] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.250726][T11462] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.281184][T11538] loop2: detected capacity change from 0 to 32768 [ 418.311278][T11462] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.331128][T11462] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.342138][T11462] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 418.359030][T11462] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 418.369841][T11462] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 418.382771][T11462] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 418.409847][T11462] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 418.433379][T11462] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 418.450021][T11538] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 418.450242][T11538] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 418.450433][T11538] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.489725][T11462] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 418.502772][T11462] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 418.502790][T11462] Ratelimiting new instances of previous error [ 418.585011][T11462] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 418.585030][T11462] Ratelimiting new instances of previous error [ 418.671253][T11462] done [ 418.684576][T11462] bcachefs (loop0): going read-write [ 418.724304][T11462] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 418.752801][T11538] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.759104][T11462] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 418.799964][T11462] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 418.833775][T11462] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 418.904951][T11545] loop1: detected capacity change from 0 to 32768 [ 418.919320][T11462] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 418.973933][T11462] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 418.988571][T11547] loop4: detected capacity change from 0 to 32768 [ 419.024573][T11462] bcachefs (loop0): shutting down [ 419.121548][T11545] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.134133][T11545] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.143363][T11545] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.155998][T11549] loop3: detected capacity change from 0 to 32768 [ 419.211319][T11462] bcachefs (loop0): shutdown complete [ 419.550265][T11571] loop2: detected capacity change from 0 to 32768 [ 419.583558][T11547] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.635619][T11547] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 419.635619][T11547] allowing incompatible features above 0.0: (unknown version) [ 419.660564][T11547] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 419.671633][T11547] bcachefs (loop4): Version upgrade required: [ 419.671633][T11547] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 419.671633][T11547] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 419.671633][T11547] 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.734134][T11549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.777998][T11547] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 419.778018][T11547] 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.778031][T11547] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 419.778042][T11547] error not marked as autofix and not in fsck [ 419.778052][T11547] run fsck, and forward to devs so error can be marked for self-healing [ 419.778062][T11547] inconsistency detected - emergency read only at journal seq 10 [ 419.800648][T11545] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.804871][T11547] bcachefs (loop4): flagging btree extents lost data [ 419.824308][T11549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.875642][T11547] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 419.876819][T11571] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.887221][T11547] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 419.914409][T11547] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 419.924330][T11549] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.973089][T11571] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 420.020180][T11547] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 420.020198][T11547] 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.020211][T11547] 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.034667][T11462] bcachefs: bch2_fs_get_tree() error: EINTR [ 420.068270][T11571] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 420.266813][T11547] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 420.266813][T11547] 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.358164][T11547] bcachefs (loop4): scan_for_btree_nodes... [ 420.379697][T11549] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.413015][T11571] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.438691][T11547] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 420.488790][T11547] done [ 420.491838][T11547] bcachefs (loop4): check_topology... [ 420.524909][T11547] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 420.587261][T11547] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 420.643119][T11547] 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 [ 420.706253][ T41] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 420.706279][ T41] 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.706293][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 420.706305][ T41] error not marked as autofix and not in fsck [ 420.706315][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 420.789075][T11547] bcachefs (loop4): Topology repair: unreadable btree node at [ 420.789095][T11547] 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.833730][T11547] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 420.833748][T11547] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 420.885238][T11547] bcachefs (loop4): empty btree root extents [ 420.891483][T11547] done [ 420.933978][T11547] bcachefs (loop4): accounting_read... done [ 420.961023][T11547] bcachefs (loop4): alloc_read... done [ 420.993984][T11547] bcachefs (loop4): snapshots_read... done [ 421.007335][T11547] bcachefs (loop4): check_allocations... [ 421.018366][T11547] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 421.018387][T11547] 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.132062][T11547] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 421.132081][T11547] 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.237362][T11547] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 421.237382][T11547] 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.265560][T11589] loop1: detected capacity change from 0 to 32768 [ 421.309760][T11592] loop0: detected capacity change from 0 to 32768 [ 421.415628][T11547] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 421.415646][T11547] 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 [ 421.429431][T11594] loop3: detected capacity change from 0 to 32768 [ 421.531720][T11592] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.555651][T11592] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.564844][T11592] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.573339][T11589] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.628580][T11589] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.638704][T11589] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.638717][T11547] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 421.638728][T11547] 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 [ 421.680562][T11594] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.680712][T11594] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.680802][T11594] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.777123][T11547] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.801019][T11596] loop2: detected capacity change from 0 to 32768 [ 421.848281][T11547] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.884386][T11547] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.913016][T11547] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 421.952228][T11547] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 421.992836][T11547] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.024348][T11592] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.040548][T11596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.040678][T11596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.040767][T11596] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.048471][T11589] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.194379][T11594] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.304452][T11547] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.373279][T11547] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.412176][T11547] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.422640][T11547] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.440443][T11547] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.451074][T11547] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.468318][T11547] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.495154][T11547] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 422.564327][T11547] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 422.607437][T11547] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 422.608443][T11596] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.664431][T11547] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 422.718597][T11547] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 422.765501][T11547] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 422.825511][T11547] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 422.842324][T11547] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 422.842341][T11547] Ratelimiting new instances of previous error [ 422.887960][T11547] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 422.887979][T11547] Ratelimiting new instances of previous error [ 422.950986][T11547] done [ 422.964623][T11547] bcachefs (loop4): going read-write [ 422.971524][T11547] bcachefs (loop4): bch2_copygc_start(): error creating copygc thread EINTR [ 422.990807][T11547] bcachefs (loop4): __bch2_fs_read_write(): error error starting copygc thread EINTR [ 423.011646][T11547] bcachefs (loop4): going read-only [ 423.036606][T11547] bcachefs (loop4): finished waiting for writes to stop [ 423.066897][T11547] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 423.097138][T11547] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 423.130299][T11547] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 423.186703][T11547] bcachefs (loop4): done going read-only, filesystem not clean [ 423.198371][T11547] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 423.216078][T11547] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 423.234061][T11547] bcachefs (loop4): shutting down [ 423.303126][T11630] loop0: detected capacity change from 0 to 32768 [ 423.311418][T11547] bcachefs (loop4): shutdown complete [ 423.364127][T11629] loop1: detected capacity change from 0 to 32768 [ 423.382433][T11627] loop3: detected capacity change from 0 to 32768 [ 423.621342][T11634] loop2: detected capacity change from 0 to 32768 [ 424.129082][T11629] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.129082][T11630] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.141223][T11627] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.152882][T11634] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.210165][T11634] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.224157][T11630] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 424.224157][T11630] allowing incompatible features above 0.0: (unknown version) [ 424.248175][T11634] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.258281][T11629] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.267581][T11630] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 424.269555][T11629] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.284458][T11627] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 424.293660][T11627] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.304075][T11630] bcachefs (loop0): Version upgrade required: [ 424.304075][T11630] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 424.304075][T11630] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 424.304075][T11630] 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.381074][T11630] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 424.381092][T11630] 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.381104][T11630] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down 2025/05/11 08:42:37 executed programs: 530 [ 424.381124][T11630] error not marked as autofix and not in fsck [ 424.381133][T11630] run fsck, and forward to devs so error can be marked for self-healing [ 424.381144][T11630] inconsistency detected - emergency read only at journal seq 10 [ 424.416939][T11547] bcachefs: bch2_fs_get_tree() error: EINTR [ 424.640517][T11630] bcachefs (loop0): flagging btree extents lost data [ 424.668051][T11627] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.687557][T11630] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 424.742340][T11634] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.762593][T11629] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.770325][T11630] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 424.824694][T11630] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 424.882042][T11630] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 424.882063][T11630] 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.882076][T11630] 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 [ 425.007215][T11630] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 425.007215][T11630] 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 [ 425.102811][T11630] bcachefs (loop0): scan_for_btree_nodes... [ 425.171575][T11630] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 425.221602][T11630] done [ 425.243210][T11630] bcachefs (loop0): check_topology... [ 425.258992][T11630] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 425.283415][T11630] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 425.317013][T11630] 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.389850][ T59] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 425.389876][ T59] 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.389889][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 425.389902][ T59] error not marked as autofix and not in fsck [ 425.389911][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 425.468139][T11630] bcachefs (loop0): Topology repair: unreadable btree node at [ 425.468158][T11630] 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.552381][T11664] loop4: detected capacity change from 0 to 32768 [ 425.589818][T11630] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 425.589837][T11630] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 425.610927][T11630] bcachefs (loop0): empty btree root extents [ 425.638627][T11630] done [ 425.647087][T11630] bcachefs (loop0): accounting_read... done [ 425.669063][T11630] bcachefs (loop0): alloc_read... done [ 425.686681][T11630] bcachefs (loop0): snapshots_read... done [ 425.700257][T11664] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.742408][T11630] bcachefs (loop0): check_allocations... [ 425.764164][T11664] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.785625][T11630] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 425.785647][T11630] 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 [ 425.841908][T11664] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.870740][T11669] loop2: detected capacity change from 0 to 32768 [ 425.908049][T11630] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 425.908068][T11630] 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 [ 425.987585][T11630] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 425.987604][T11630] 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.062957][T11669] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.063088][T11669] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.063186][T11669] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.144947][T11671] loop1: detected capacity change from 0 to 32768 [ 426.294900][T11664] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.310907][T11671] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.366593][T11669] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.384980][T11630] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 426.384999][T11630] 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.400756][T11667] loop3: detected capacity change from 0 to 32768 [ 426.404207][T11671] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.404298][T11671] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.634439][T11630] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 426.634460][T11630] 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.682141][T11671] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.727317][T11630] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.737947][T11630] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.749829][T11630] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.761059][T11630] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.772726][T11630] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.782867][T11630] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 426.795458][T11630] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 426.815732][T11667] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.815863][T11667] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.815954][T11667] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.033518][T11630] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.075388][T11630] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.105991][T11630] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.150882][T11630] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.204320][T11630] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.236283][T11630] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.288754][T11630] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.308212][T11667] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.364261][T11630] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.412399][T11630] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 427.456317][T11630] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.486070][T11630] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.518470][T11630] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.564156][T11630] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.600568][T11701] loop4: detected capacity change from 0 to 32768 [ 427.618053][T11630] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 427.618070][T11630] Ratelimiting new instances of previous error [ 427.669285][T11630] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 427.669303][T11630] Ratelimiting new instances of previous error [ 427.749972][T11630] done [ 427.753371][T11630] bcachefs (loop0): going read-write [ 427.769337][T11703] loop2: detected capacity change from 0 to 32768 [ 427.781907][T11701] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.815123][T11630] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 427.844864][T11701] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.854053][T11630] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 427.854108][T11630] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 427.854129][T11630] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 427.881410][T11701] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.898857][T11630] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 427.916995][T11630] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 427.934042][T11630] bcachefs (loop0): shutting down [ 428.016213][T11630] bcachefs (loop0): shutdown complete [ 428.218156][T11705] loop1: detected capacity change from 0 to 32768 [ 428.283776][T11714] loop3: detected capacity change from 0 to 32768 [ 428.370352][T11703] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.445791][T11701] bcachefs: bch2_fs_get_tree() error: EINVAL [ 428.471629][T11703] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 428.471629][T11703] allowing incompatible features above 0.0: (unknown version) [ 428.497453][T11703] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 428.507010][T11703] bcachefs (loop2): Version upgrade required: [ 428.507010][T11703] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 428.507010][T11703] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 428.507010][T11703] 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.580751][T11714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.623226][T11714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.626230][T11705] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.643607][T11703] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 428.643625][T11703] 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.643635][T11703] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 428.643645][T11703] error not marked as autofix and not in fsck [ 428.643653][T11703] run fsck, and forward to devs so error can be marked for self-healing [ 428.643661][T11703] inconsistency detected - emergency read only at journal seq 10 [ 428.674921][T11705] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.675021][T11705] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.677813][T11714] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.872471][T11630] bcachefs: bch2_fs_get_tree() error: EINTR [ 428.968743][T11705] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.079403][T11703] bcachefs (loop2): flagging btree extents lost data [ 429.100418][T11703] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 429.144294][T11703] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 429.185503][T11714] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.200839][T11703] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 429.254580][T11703] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 429.254599][T11703] 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.254611][T11703] 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.407833][T11703] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 429.407833][T11703] 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 2025/05/11 08:42:42 executed programs: 541 [ 429.491962][T11703] bcachefs (loop2): scan_for_btree_nodes... [ 429.532049][T11703] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 429.594048][T11703] done [ 429.599623][T11703] bcachefs (loop2): check_topology... [ 429.600587][T11703] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 429.649605][T11703] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 429.681525][T11703] 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 [ 429.746396][ T41] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 429.746422][ T41] 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.746436][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 429.746448][ T41] error not marked as autofix and not in fsck [ 429.746458][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 429.812830][T11703] bcachefs (loop2): Topology repair: unreadable btree node at [ 429.812848][T11703] 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.918083][T11740] loop0: detected capacity change from 0 to 32768 [ 429.951088][T11738] loop4: detected capacity change from 0 to 32768 [ 429.964412][T11703] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 429.964429][T11703] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 430.040839][T11703] bcachefs (loop2): empty btree root extents [ 430.047593][T11703] done [ 430.050515][T11703] bcachefs (loop2): accounting_read... done [ 430.073400][T11703] bcachefs (loop2): alloc_read... done [ 430.083554][T11703] bcachefs (loop2): snapshots_read... done [ 430.091497][T11703] bcachefs (loop2): check_allocations... [ 430.101791][T11740] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.120731][T11703] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 430.120750][T11703] 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.182457][T11703] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 430.182477][T11703] 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.200893][T11740] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.200991][T11740] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.226818][T11738] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.297001][T11703] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 430.297030][T11703] 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.309002][T11738] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.309105][T11738] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.402863][T11742] loop1: detected capacity change from 0 to 32768 [ 430.528738][T11703] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 430.528758][T11703] 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.605331][T11745] loop3: detected capacity change from 0 to 32768 [ 430.619490][T11740] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.624675][T11742] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.679487][T11703] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 430.679506][T11703] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 430.684069][T11742] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.740859][T11703] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.791616][T11703] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 430.809511][T11742] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 430.846284][T11738] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.894865][T11703] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 430.905460][T11745] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 430.905574][T11745] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 430.905660][T11745] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.065304][T11703] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.094362][T11703] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.128446][T11703] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.164283][T11703] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.191208][T11703] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.208870][T11703] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.223894][T11742] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.264195][T11703] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.294451][T11703] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.298216][T11745] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.324126][T11703] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.384387][T11703] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.435503][T11703] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 431.480117][T11703] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 431.524538][T11703] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 431.571973][T11703] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.603294][T11703] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.644320][T11703] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.664128][T11703] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.711914][T11775] loop0: detected capacity change from 0 to 32768 [ 431.734677][T11703] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 431.734696][T11703] Ratelimiting new instances of previous error [ 431.811500][T11703] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 431.811519][T11703] Ratelimiting new instances of previous error [ 431.868828][T11775] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.868954][T11775] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.869046][T11775] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.125733][T11703] done [ 432.133740][T11703] bcachefs (loop2): going read-write [ 432.164249][T11703] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 432.181385][T11777] loop4: detected capacity change from 0 to 32768 [ 432.188010][T11703] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 432.220130][T11703] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 432.265707][T11703] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 432.303519][T11775] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.327187][T11703] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 432.333827][T11703] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 432.375365][T11777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.383924][T11703] bcachefs (loop2): shutting down [ 432.427549][T11777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.472512][T11777] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.510671][T11703] bcachefs (loop2): shutdown complete [ 432.591425][T11779] loop1: detected capacity change from 0 to 32768 [ 432.701765][T11787] loop3: detected capacity change from 0 to 32768 [ 433.044695][T11703] bcachefs: bch2_fs_get_tree() error: EINTR [ 433.258547][T11808] loop0: detected capacity change from 0 to 32768 [ 433.281148][T11787] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.281339][T11779] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.392729][T11779] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.404425][T11787] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 433.404425][T11787] allowing incompatible features above 0.0: (unknown version) [ 433.434141][T11779] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.436290][T11808] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.486978][T11808] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.504184][T11787] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 433.522911][T11808] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.537352][T11787] bcachefs (loop3): Version upgrade required: [ 433.537352][T11787] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 433.537352][T11787] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 433.537352][T11787] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 433.633090][T11777] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.648875][T11787] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 433.648894][T11787] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 433.648908][T11787] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 433.648921][T11787] error not marked as autofix and not in fsck [ 433.648930][T11787] run fsck, and forward to devs so error can be marked for self-healing [ 433.648940][T11787] inconsistency detected - emergency read only at journal seq 10 [ 433.869607][T11815] loop2: detected capacity change from 0 to 32768 [ 433.886053][T11787] bcachefs (loop3): flagging btree extents lost data [ 433.917702][T11787] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 433.957714][T11787] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 433.985724][T11779] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.992644][T11808] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.043757][T11787] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 434.206416][T11787] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 434.206436][T11787] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 434.206450][T11787] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 434.230610][T11815] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.230733][T11815] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.230830][T11815] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.532531][T11787] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 434.532531][T11787] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 2025/05/11 08:42:47 executed programs: 550 [ 434.627419][T11815] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.668231][T11787] bcachefs (loop3): scan_for_btree_nodes... [ 434.731347][T11787] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 434.783733][T11787] done [ 434.794300][T11787] bcachefs (loop3): check_topology... [ 434.815029][T11787] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 434.854289][T11787] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 434.904416][T11787] 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 [ 434.969100][ T59] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 434.969127][ T59] 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 [ 434.969141][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 434.969152][ T59] error not marked as autofix and not in fsck [ 434.969162][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 435.046087][T11833] loop4: detected capacity change from 0 to 32768 [ 435.077147][T11787] bcachefs (loop3): Topology repair: unreadable btree node at [ 435.077167][T11787] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 435.163067][T11833] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.163196][T11833] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.163287][T11833] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.257717][T11838] loop1: detected capacity change from 0 to 32768 [ 435.287135][T11787] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 435.287154][T11787] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 435.287439][T11835] loop0: detected capacity change from 0 to 32768 [ 435.316807][T11787] bcachefs (loop3): empty btree root extents [ 435.323087][T11787] done [ 435.340428][T11787] bcachefs (loop3): accounting_read... done [ 435.383975][T11787] bcachefs (loop3): alloc_read... done [ 435.417532][T11787] bcachefs (loop3): snapshots_read... done [ 435.456348][T11787] bcachefs (loop3): check_allocations... [ 435.467019][T11838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.484127][T11838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.493341][T11838] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.543781][T11835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.555126][T11835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.564884][T11835] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.565071][T11787] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 435.565087][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 435.638472][T11833] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.723620][T11787] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 435.723640][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 435.863410][T11787] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 435.863431][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 435.933795][T11838] bcachefs: bch2_fs_get_tree() error: EINVAL [ 435.956542][T11787] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 435.956562][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 436.059806][T11787] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 436.059830][T11787] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 436.086455][T11835] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.159425][T11787] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.207566][T11787] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.306715][T11787] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.364833][T11787] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.379019][T11841] loop2: detected capacity change from 0 to 32768 [ 436.392074][T11787] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.502928][T11787] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.609458][T11787] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.634664][T11841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.634789][T11841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.634876][T11841] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.723581][T11787] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.754380][T11787] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.795712][T11866] loop4: detected capacity change from 0 to 32768 [ 436.819223][T11787] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.891814][T11787] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.951664][T11787] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.953384][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.984563][T11787] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.993037][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 437.003957][T11866] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 437.043790][T11841] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.064087][T11787] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.120408][T11787] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.144068][T11787] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 437.184947][T11787] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.232575][T11787] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.253252][T11787] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.273098][T11787] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.314461][T11787] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.314479][T11787] Ratelimiting new instances of previous error [ 437.374217][T11787] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.374235][T11787] Ratelimiting new instances of previous error [ 437.439297][T11866] bcachefs: bch2_fs_get_tree() error: EINVAL [ 437.484708][T11864] loop0: detected capacity change from 0 to 32768 [ 437.492202][T11787] done [ 437.515822][T11787] bcachefs (loop3): going read-write [ 437.553615][T11787] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 437.633951][T11787] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 437.642857][T11787] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 437.655184][T11787] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 437.698938][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 437.719255][T11875] loop1: detected capacity change from 0 to 32768 [ 437.727963][T11787] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 437.734691][T11787] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 437.742875][T11787] bcachefs (loop3): shutting down [ 437.765634][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 437.782312][T11864] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 437.847149][T11787] bcachefs (loop3): shutdown complete [ 437.967856][T11886] loop2: detected capacity change from 0 to 32768 [ 438.364490][T11908] loop4: detected capacity change from 0 to 32768 [ 438.442919][T11864] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.689382][T11886] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.702501][T11875] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.730774][T11886] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.735317][T11875] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 438.735317][T11875] allowing incompatible features above 0.0: (unknown version) [ 438.740016][T11886] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.786919][T11875] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 438.799731][T11908] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.811599][T11908] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.820950][T11908] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.844520][T11875] bcachefs (loop1): Version upgrade required: [ 438.844520][T11875] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 438.844520][T11875] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 438.844520][T11875] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 438.963507][T11875] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 438.963527][T11875] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 438.963541][T11875] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 438.963553][T11875] error not marked as autofix and not in fsck [ 438.963562][T11875] run fsck, and forward to devs so error can be marked for self-healing [ 438.963573][T11875] inconsistency detected - emergency read only at journal seq 10 [ 439.143330][T11787] bcachefs: bch2_fs_get_tree() error: EINTR [ 439.180854][T11875] bcachefs (loop1): flagging btree extents lost data [ 439.203490][T11908] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.227470][T11875] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 439.282641][T11875] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 439.301028][T11917] loop0: detected capacity change from 0 to 32768 [ 439.337376][T11886] bcachefs: bch2_fs_get_tree() error: EINVAL [ 439.365563][T11875] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 439.424723][T11875] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 439.424744][T11875] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 439.424757][T11875] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 439.524931][T11875] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 439.524931][T11875] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 439.578267][T11875] bcachefs (loop1): scan_for_btree_nodes... [ 439.578365][T11875] bcachefs (loop1): read_btree_nodes(): error starting kthread EINTR [ 439.593192][T11875] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 439.600874][T11875] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 439.609785][T11875] bcachefs (loop1): shutting down [ 439.664397][T11875] bcachefs (loop1): shutdown complete [ 439.669651][T11917] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 439.762966][T11917] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 439.762966][T11917] allowing incompatible features above 0.0: (unknown version) [ 439.799877][T11917] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 439.809487][T11917] bcachefs (loop0): Version upgrade required: [ 439.809487][T11917] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 439.809487][T11917] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags 2025/05/11 08:42:52 executed programs: 559 [ 439.809487][T11917] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 439.951988][T11917] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 439.952008][T11917] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 439.952022][T11917] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 439.952034][T11917] error not marked as autofix and not in fsck [ 439.952043][T11917] run fsck, and forward to devs so error can be marked for self-healing [ 439.952060][T11917] inconsistency detected - emergency read only at journal seq 10 [ 440.080732][T11875] bcachefs: bch2_fs_get_tree() error: EINTR [ 440.238035][T11917] bcachefs (loop0): flagging btree extents lost data [ 440.267751][T11917] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 440.324225][T11917] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 440.374705][T11917] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 440.450829][T11917] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 440.450848][T11917] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 440.450862][T11917] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 440.529033][T11929] loop3: detected capacity change from 0 to 32768 [ 440.614314][T11917] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 440.614314][T11917] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 440.686698][T11917] bcachefs (loop0): scan_for_btree_nodes... [ 440.718665][ T1298] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.731149][ T1298] ieee802154 phy1 wpan1: encryption failed: -22 [ 440.731437][T11932] loop4: detected capacity change from 0 to 32768 [ 440.789171][T11917] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 440.799494][T11917] done [ 440.802307][T11917] bcachefs (loop0): check_topology... [ 440.807328][T11929] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.818291][T11917] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 440.835258][T11933] loop2: detected capacity change from 0 to 32768 [ 440.853693][T11917] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 440.883101][T11929] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.898201][T11917] bcachefs (loop0): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 440.923037][T11929] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.935875][T11932] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.957558][T11932] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.977799][T11932] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.015864][ T59] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 441.015890][ T59] 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.015904][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 441.015916][ T59] error not marked as autofix and not in fsck [ 441.015925][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 441.056776][T11935] loop1: detected capacity change from 0 to 32768 [ 441.090566][T11917] bcachefs (loop0): Topology repair: unreadable btree node at [ 441.090585][T11917] 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 [ 441.150590][T11933] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.150714][T11933] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.150797][T11933] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.394592][T11935] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 441.394737][T11935] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 441.394821][T11935] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 441.469268][T11933] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.477589][T11932] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.510047][T11917] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 441.510066][T11917] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 441.583263][T11917] bcachefs (loop0): empty btree root extents [ 441.602338][T11929] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.633445][T11917] done [ 441.683684][T11917] bcachefs (loop0): accounting_read... done [ 441.724036][T11917] bcachefs (loop0): alloc_read... done [ 441.744029][T11917] bcachefs (loop0): snapshots_read... done [ 441.766288][T11917] bcachefs (loop0): check_allocations... [ 441.771409][T11917] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 441.771428][T11917] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 441.906274][T11935] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.919951][T11917] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 441.919971][T11917] 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.043567][T11917] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 442.043587][T11917] 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.179767][T11917] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 442.179786][T11917] 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.316999][T11917] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 442.317019][T11917] 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.420033][T11917] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.450489][T11917] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.493453][T11917] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.534063][T11917] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.554352][T11917] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.574151][T11917] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.614241][T11917] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.658259][T11917] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.680109][T11917] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.712227][T11917] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.744319][T11917] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.745548][T11968] loop3: detected capacity change from 0 to 32768 [ 442.774409][T11917] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.818735][T11917] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 442.829826][T11966] loop2: detected capacity change from 0 to 32768 [ 442.875268][T11917] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 442.926636][T11970] loop4: detected capacity change from 0 to 32768 [ 442.980157][T11917] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 443.016849][T11917] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 443.057439][T11968] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.057569][T11968] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.057647][T11968] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.065681][T11966] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.065798][T11966] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.065897][T11966] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.155033][T11972] loop1: detected capacity change from 0 to 32768 [ 443.201629][T11970] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.201749][T11970] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.201834][T11970] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.363743][T11966] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.407253][T11972] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 443.424398][T11972] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 443.424511][T11972] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 443.544958][T11968] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.662023][T11917] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 443.707378][T11917] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 443.748411][T11970] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.798861][T11917] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 443.834905][T11917] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 443.916614][T11972] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.935883][T11917] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 443.935901][T11917] Ratelimiting new instances of previous error [ 443.974100][T11917] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 443.974119][T11917] Ratelimiting new instances of previous error [ 444.131378][T11917] done [ 444.150407][T11917] bcachefs (loop0): going read-write [ 444.174824][T11917] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 444.204198][T11917] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 444.241365][T11917] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 444.277927][T11917] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 444.356433][T11917] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 444.373505][T11917] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 444.392122][T11917] bcachefs (loop0): shutting down [ 444.497303][T11917] bcachefs (loop0): shutdown complete [ 444.558916][T12004] loop3: detected capacity change from 0 to 32768 [ 444.571777][T12002] loop2: detected capacity change from 0 to 32768 [ 444.765044][T12007] loop4: detected capacity change from 0 to 32768 [ 445.072032][T12009] loop1: detected capacity change from 0 to 32768 [ 445.409973][T12002] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.410692][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.426103][T12004] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.462969][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.473311][T12002] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 445.473311][T12002] allowing incompatible features above 0.0: (unknown version) [ 445.524273][T12007] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.548297][T12002] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 445.559341][T12004] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.576313][T12009] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.587696][T12002] bcachefs (loop2): Version upgrade required: [ 445.587696][T12002] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 445.587696][T12002] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 445.587696][T12002] 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.664936][T12004] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.673184][T12009] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.689567][T12009] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete 2025/05/11 08:42:58 executed programs: 570 [ 445.722509][T12002] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 445.722537][T12002] 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.728045][T11917] bcachefs: bch2_fs_get_tree() error: EINTR [ 445.779359][T12002] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 445.779380][T12002] error not marked as autofix and not in fsck [ 445.779390][T12002] run fsck, and forward to devs so error can be marked for self-healing [ 445.779400][T12002] inconsistency detected - emergency read only at journal seq 10 [ 446.034288][T12004] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.058475][T12009] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.162442][T12007] bcachefs: bch2_fs_get_tree() error: EINVAL [ 446.252744][T12002] bcachefs (loop2): flagging btree extents lost data [ 446.278656][T12002] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 446.340657][T12002] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 446.452950][T12002] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 446.605802][T12002] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 446.605823][T12002] 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.605837][T12002] 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.739513][T12002] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 446.739513][T12002] 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.805407][T12002] bcachefs (loop2): scan_for_btree_nodes... [ 446.805498][T12002] bcachefs (loop2): read_btree_nodes(): error starting kthread EINTR [ 446.841399][T12002] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 446.855999][T12002] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 446.876767][T12002] bcachefs (loop2): shutting down [ 446.980036][T12002] bcachefs (loop2): shutdown complete [ 447.052932][T12039] loop0: detected capacity change from 0 to 32768 [ 447.242089][T12045] loop4: detected capacity change from 0 to 32768 [ 447.277034][T12041] loop3: detected capacity change from 0 to 32768 [ 447.314189][T12043] loop1: detected capacity change from 0 to 32768 [ 447.669572][T12039] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.672385][T12041] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.709997][T12041] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.720941][T12039] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 447.720941][T12039] allowing incompatible features above 0.0: (unknown version) [ 447.728898][T12045] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.744099][T12041] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.763689][T12045] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.764817][T12039] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 447.781835][T12045] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.784286][T12039] bcachefs (loop0): Version upgrade required: [ 447.784286][T12039] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 447.784286][T12039] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 447.784286][T12039] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 447.824777][T12043] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.888033][T12039] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 447.888052][T12039] 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 [ 447.888065][T12039] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 447.888077][T12039] error not marked as autofix and not in fsck [ 447.888086][T12039] run fsck, and forward to devs so error can be marked for self-healing [ 447.888094][T12039] inconsistency detected - emergency read only at journal seq 10 [ 447.931472][T12043] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.931565][T12043] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.055101][T12002] bcachefs: bch2_fs_get_tree() error: EINTR [ 448.122673][T12039] bcachefs (loop0): flagging btree extents lost data [ 448.186397][T12039] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 448.244795][T12039] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 448.274181][T12041] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.302285][T12045] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.309093][T12039] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 448.341341][T12043] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.385677][T12039] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 448.385696][T12039] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 448.385709][T12039] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 448.585685][T12039] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 448.585685][T12039] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 448.680934][T12039] bcachefs (loop0): scan_for_btree_nodes... [ 448.817430][T12039] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 448.888112][T12039] done [ 448.890923][T12039] bcachefs (loop0): check_topology... [ 448.923970][T12039] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 448.944035][T12039] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 448.974206][T12039] 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 [ 449.050429][ T59] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 449.050467][ T59] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 449.050481][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 449.050493][ T59] error not marked as autofix and not in fsck [ 449.050502][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 449.146263][T12039] bcachefs (loop0): Topology repair: unreadable btree node at [ 449.146282][T12039] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 449.196301][T12039] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 449.196320][T12039] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 449.221019][T12039] bcachefs (loop0): empty btree root extents [ 449.227481][T12039] done [ 449.230266][T12039] bcachefs (loop0): accounting_read... done [ 449.238631][T12039] bcachefs (loop0): alloc_read... done [ 449.248523][T12039] bcachefs (loop0): snapshots_read... done [ 449.264487][T12039] bcachefs (loop0): check_allocations... [ 449.266817][T12039] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 449.266836][T12039] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 449.321614][T12039] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 449.321633][T12039] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 449.367361][T12081] loop1: detected capacity change from 0 to 32768 [ 449.389376][T12039] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 449.389396][T12039] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 449.446395][T12039] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 449.446414][T12039] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 449.477782][T12079] loop4: detected capacity change from 0 to 32768 [ 449.519163][T12081] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.534100][T12081] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.555028][T12039] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 449.555047][T12039] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 449.587498][T12081] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.617599][T12083] loop3: detected capacity change from 0 to 32768 [ 449.673370][T12076] loop2: detected capacity change from 0 to 32768 [ 449.690762][T12039] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.782899][T12039] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.798759][T12039] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.811717][T12039] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.824322][T12039] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.835467][T12039] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.847375][T12039] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 449.858882][T12039] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 449.890562][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.890673][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.890763][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.934637][T12083] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.934745][T12083] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.934824][T12083] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.043324][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.043454][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.043559][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.094939][T12081] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.284302][T12039] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.354100][T12039] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.412726][T12039] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.428959][T12083] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.444053][T12039] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.474229][T12039] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.527502][T12039] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.527961][T12079] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.559981][T12039] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.618315][T12039] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 450.667416][T12039] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.675426][T12076] bcachefs: bch2_fs_get_tree() error: EINVAL [ 450.734040][T12039] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.783278][T12039] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 450.822060][T12039] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.871247][T12039] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing 2025/05/11 08:43:03 executed programs: 579 [ 450.871265][T12039] Ratelimiting new instances of previous error [ 450.937093][T12039] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 450.937112][T12039] Ratelimiting new instances of previous error [ 451.081631][T12039] done [ 451.112282][T12039] bcachefs (loop0): going read-write [ 451.175908][T12039] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 451.195552][T12039] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 451.229420][T12039] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 451.259848][T12039] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 451.342465][T12039] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 451.363897][T12039] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 451.392583][T12039] bcachefs (loop0): shutting down [ 451.513188][T12113] loop1: detected capacity change from 0 to 32768 [ 451.536796][T12039] bcachefs (loop0): shutdown complete [ 451.864289][T12115] loop3: detected capacity change from 0 to 32768 [ 451.911611][T12117] loop4: detected capacity change from 0 to 32768 [ 451.921006][T12119] loop2: detected capacity change from 0 to 32768 [ 452.324512][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.330909][T12115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.339230][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.365096][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.370986][T12115] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 452.370986][T12115] allowing incompatible features above 0.0: (unknown version) [ 452.377711][T12117] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.405355][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.415378][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.439067][T12115] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 452.471366][T12115] bcachefs (loop3): Version upgrade required: [ 452.471366][T12115] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 452.471366][T12115] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 452.471366][T12115] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 452.480386][T12119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.602655][T12119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.648891][T12119] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.658628][T12115] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 452.658647][T12115] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 452.658660][T12115] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 452.658672][T12115] error not marked as autofix and not in fsck [ 452.658681][T12115] run fsck, and forward to devs so error can be marked for self-healing [ 452.658692][T12115] inconsistency detected - emergency read only at journal seq 10 [ 452.704402][T12039] bcachefs: bch2_fs_get_tree() error: EINTR [ 452.800025][T12113] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.846879][T12117] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.036086][T12119] bcachefs: bch2_fs_get_tree() error: EINVAL [ 453.073058][T12115] bcachefs (loop3): flagging btree extents lost data [ 453.100190][T12115] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 453.164428][T12115] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 453.217191][T12115] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 453.288154][T12115] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 453.288174][T12115] 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 [ 453.288186][T12115] 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 [ 453.404477][T12115] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 453.404477][T12115] 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 [ 453.524150][T12115] bcachefs (loop3): scan_for_btree_nodes... [ 453.570092][T12115] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 453.594214][T12115] done [ 453.600527][T12115] bcachefs (loop3): check_topology... [ 453.602649][T12115] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 453.637542][T12115] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 453.664251][T12115] 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 [ 453.706582][ T59] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 453.706609][ T59] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 453.706622][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 453.706634][ T59] error not marked as autofix and not in fsck [ 453.706643][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 453.774552][T12115] bcachefs (loop3): Topology repair: unreadable btree node at [ 453.774568][T12115] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 453.854266][T12150] loop0: detected capacity change from 0 to 32768 [ 453.882992][T12115] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 453.883714][T12115] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 453.975471][T12115] bcachefs (loop3): empty btree root extents [ 454.004109][T12154] loop4: detected capacity change from 0 to 32768 [ 454.019621][T12115] done [ 454.022461][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.022510][T12115] bcachefs (loop3): accounting_read... done [ 454.081685][T12152] loop1: detected capacity change from 0 to 32768 [ 454.088694][T12115] bcachefs (loop3): alloc_read... done [ 454.111081][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.124409][T12115] bcachefs (loop3): snapshots_read... done [ 454.149744][T12115] bcachefs (loop3): check_allocations... [ 454.158739][T12150] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.203702][T12115] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 454.203720][T12115] 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 [ 454.252872][T12154] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.253180][T12154] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.253271][T12154] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.376232][T12152] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.376361][T12152] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.376460][T12152] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.446969][T12156] loop2: detected capacity change from 0 to 32768 [ 454.581063][T12150] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.797806][T12156] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.797954][T12156] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.798033][T12156] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.845043][T12152] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.916028][T12154] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.043783][T12115] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 455.043803][T12115] 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 [ 455.127312][T12115] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 455.127332][T12115] 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 [ 455.204673][T12115] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 455.204693][T12115] 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 [ 455.273289][T12187] loop0: detected capacity change from 0 to 32768 [ 455.312508][T12156] bcachefs: bch2_fs_get_tree() error: EINVAL [ 455.320530][T12115] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 455.320548][T12115] 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 [ 455.440467][T12115] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 455.464156][T12115] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 455.547307][T12115] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 455.655428][T12187] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.655548][T12187] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.655632][T12187] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.755009][T12115] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 455.797260][T12115] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 455.844076][T12115] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 455.880190][T12115] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 455.883054][T12196] loop4: detected capacity change from 0 to 32768 [ 455.913394][T12115] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 455.934492][T12115] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 455.975675][T12115] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.013409][T12115] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.035279][T12115] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.071461][T12187] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.112634][T12115] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.135084][T12196] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.135207][T12196] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.135299][T12196] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.291576][T12115] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.314657][T12115] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.339711][T12115] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 456.374649][T12115] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 456.414178][T12115] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 456.436523][T12115] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 456.467731][T12115] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing 2025/05/11 08:43:09 executed programs: 590 [ 456.483218][T12200] loop2: detected capacity change from 0 to 32768 [ 456.518049][T12189] loop1: detected capacity change from 0 to 32768 [ 456.622818][T12115] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 456.622837][T12115] Ratelimiting new instances of previous error [ 456.633262][T12189] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.633380][T12189] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.633471][T12189] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.684507][T12196] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.756269][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.756406][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.756497][T12200] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.014157][T12115] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 457.014174][T12115] Ratelimiting new instances of previous error [ 457.103644][T12115] done [ 457.114856][T12115] bcachefs (loop3): going read-write [ 457.161370][T12115] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 457.172452][T12189] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.193150][T12219] loop0: detected capacity change from 0 to 32768 [ 457.202396][T12115] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 457.228448][T12200] bcachefs: bch2_fs_get_tree() error: EINVAL [ 457.246705][T12115] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 457.294127][T12115] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 457.423050][T12219] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.460592][T12115] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 457.484092][T12219] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.493253][T12219] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.515133][T12115] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 457.548651][T12115] bcachefs (loop3): shutting down [ 457.657588][T12115] bcachefs (loop3): shutdown complete [ 457.982602][T12226] loop4: detected capacity change from 0 to 32768 [ 458.134435][T12219] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.191844][T12235] loop2: detected capacity change from 0 to 32768 [ 458.354368][T12237] loop1: detected capacity change from 0 to 32768 [ 458.581995][T12226] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.647999][T12226] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 458.647999][T12226] allowing incompatible features above 0.0: (unknown version) [ 458.701017][T12226] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 458.713525][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.746378][T12226] bcachefs (loop4): Version upgrade required: [ 458.746378][T12226] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 458.746378][T12226] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 458.746378][T12226] 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 [ 458.768358][T12115] bcachefs: bch2_fs_get_tree() error: EINTR [ 458.826135][T12237] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.837346][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.850112][T12235] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.851005][T12256] loop0: detected capacity change from 0 to 32768 [ 458.865178][T12237] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.865272][T12237] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.912159][T12226] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 458.912179][T12226] 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 [ 458.912193][T12226] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 458.912205][T12226] error not marked as autofix and not in fsck [ 458.912214][T12226] run fsck, and forward to devs so error can be marked for self-healing [ 458.912224][T12226] inconsistency detected - emergency read only at journal seq 10 [ 459.033078][T12226] bcachefs (loop4): flagging btree extents lost data [ 459.040175][T12226] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 459.052630][T12226] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 459.161205][T12256] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 459.215933][T12226] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 459.224091][T12256] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 459.272026][T12226] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 459.272045][T12226] 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 [ 459.272063][T12226] 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 [ 459.283247][T12256] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 459.401810][T12237] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.449976][T12235] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.524508][T12226] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 459.524508][T12226] 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 [ 459.641676][T12226] bcachefs (loop4): scan_for_btree_nodes... [ 459.686305][T12226] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 459.716059][T12226] done [ 459.722864][T12226] bcachefs (loop4): check_topology... [ 459.726147][T12226] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 459.794726][T12226] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 459.815998][T12256] bcachefs: bch2_fs_get_tree() error: EINVAL [ 459.850944][T12226] 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 [ 459.929850][ T59] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 459.929876][ T59] 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 [ 459.929890][ T59] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 459.929902][ T59] error not marked as autofix and not in fsck [ 459.929911][ T59] run fsck, and forward to devs so error can be marked for self-healing [ 460.030553][T12226] bcachefs (loop4): Topology repair: unreadable btree node at [ 460.030571][T12226] 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 [ 460.150966][T12226] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 460.150984][T12226] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 460.208043][T12226] bcachefs (loop4): empty btree root extents [ 460.215285][T12269] loop3: detected capacity change from 0 to 32768 [ 460.259914][T12226] done [ 460.272045][T12226] bcachefs (loop4): accounting_read... done [ 460.284774][T12226] bcachefs (loop4): alloc_read... done [ 460.291596][T12226] bcachefs (loop4): snapshots_read... done [ 460.321685][T12226] bcachefs (loop4): check_allocations... [ 460.339754][T12226] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 460.339773][T12226] 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 [ 460.362018][T12274] loop2: detected capacity change from 0 to 32768 [ 460.393180][T12226] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 460.393198][T12226] 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 [ 460.412521][T12269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.412649][T12269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.412755][T12269] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.555620][T12272] loop1: detected capacity change from 0 to 32768 [ 460.693806][T12226] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 460.693825][T12226] 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 [ 460.747490][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.747617][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.747732][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.932914][T12272] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.933043][T12272] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.933134][T12272] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.993232][T12269] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.163008][T12283] loop0: detected capacity change from 0 to 32768 [ 461.182049][T12226] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 461.182073][T12226] 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 [ 461.255158][T12274] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.297707][T12226] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 461.297726][T12226] 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 [ 461.394080][T12272] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.447029][T12283] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 2025/05/11 08:43:14 executed programs: 599 [ 461.447158][T12283] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 461.447262][T12283] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.685132][T12226] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.714394][T12226] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.758182][T12226] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.810787][T12226] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.856933][T12226] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.894300][T12226] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.894328][T12283] bcachefs: bch2_fs_get_tree() error: EINVAL [ 461.930389][T12226] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.966968][T12226] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.019381][T12226] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.056159][T12226] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.104837][T12226] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.124953][T12226] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.158276][T12226] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.189252][T12226] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 462.217198][T12226] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 462.248593][T12226] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 462.298621][T12226] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 462.344208][T12226] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 462.377618][T12226] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 462.401021][T12226] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 462.423069][T12306] loop3: detected capacity change from 0 to 32768 [ 462.488926][T12226] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 462.488943][T12226] Ratelimiting new instances of previous error [ 462.489924][T12308] loop2: detected capacity change from 0 to 32768 [ 462.512454][T12226] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 462.512472][T12226] Ratelimiting new instances of previous error [ 462.559105][T12310] loop1: detected capacity change from 0 to 32768 [ 462.665653][T12226] done [ 462.669092][T12226] bcachefs (loop4): going read-write [ 462.692724][T12306] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.736880][T12226] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 462.749041][T12306] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.749907][T12308] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.767687][T12306] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.795145][T12226] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 462.804776][T12226] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 462.820330][T12226] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 462.828243][T12308] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.836623][T12310] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.837722][T12308] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.858030][T12310] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.867926][T12310] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.886430][T12226] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 462.893073][T12226] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 462.944636][T12226] bcachefs (loop4): shutting down [ 463.063057][T12226] bcachefs (loop4): shutdown complete [ 463.123457][T12306] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.190497][T12312] loop0: detected capacity change from 0 to 32768 [ 463.462767][T12308] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.695020][T12310] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.810921][T12341] loop3: detected capacity change from 0 to 32768 [ 464.063596][T12312] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.162881][T12341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.205780][T12312] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 464.205780][T12312] allowing incompatible features above 0.0: (unknown version) [ 464.224101][T12341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.229587][T12312] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 464.246481][T12226] bcachefs: bch2_fs_get_tree() error: EINTR [ 464.291448][T12341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.300796][T12312] bcachefs (loop0): Version upgrade required: [ 464.300796][T12312] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 464.300796][T12312] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 464.300796][T12312] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 464.457626][T12312] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 464.457645][T12312] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 464.457657][T12312] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 464.457668][T12312] error not marked as autofix and not in fsck [ 464.457676][T12312] run fsck, and forward to devs so error can be marked for self-healing [ 464.457693][T12312] inconsistency detected - emergency read only at journal seq 10 [ 464.509815][T12345] loop2: detected capacity change from 0 to 32768 [ 464.605420][T12312] bcachefs (loop0): flagging btree extents lost data [ 464.613031][T12312] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 464.637463][T12352] loop1: detected capacity change from 0 to 32768 [ 464.644103][T12312] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 464.678622][T12312] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 464.742207][T12312] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 464.742225][T12312] 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 [ 464.742237][T12312] 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 [ 464.766198][T12345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.810088][T12345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.820358][T12341] bcachefs: bch2_fs_get_tree() error: EINVAL [ 464.820508][T12345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.834417][T12312] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 464.834417][T12312] 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 [ 464.969835][T12312] bcachefs (loop0): scan_for_btree_nodes... [ 464.982084][T12352] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 465.066256][T12352] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 465.096978][T12352] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 465.139121][T12312] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 465.148850][T12312] done [ 465.151648][T12312] bcachefs (loop0): check_topology... [ 465.183312][T12312] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 465.217395][T12312] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 465.254389][T12345] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.259642][T12312] 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 [ 465.328648][ T41] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 465.328673][ T41] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 465.328687][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 465.328699][ T41] error not marked as autofix and not in fsck [ 465.328709][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 465.402362][T12312] bcachefs (loop0): Topology repair: unreadable btree node at [ 465.402380][T12312] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 465.451969][T12312] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 465.451987][T12312] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 465.528557][T12312] bcachefs (loop0): empty btree root extents [ 465.561044][T12312] done [ 465.581838][T12312] bcachefs (loop0): accounting_read... done [ 465.603641][T12312] bcachefs (loop0): alloc_read... done [ 465.632438][T12312] bcachefs (loop0): snapshots_read... done [ 465.634974][T12352] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.640676][T12312] bcachefs (loop0): check_allocations... [ 465.698149][T12312] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 465.698171][T12312] 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 [ 465.750421][T12356] loop4: detected capacity change from 0 to 32768 [ 465.874675][T12373] loop3: detected capacity change from 0 to 32768 [ 465.900894][T12312] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 465.900912][T12312] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 466.072986][T12373] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.086081][T12356] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 466.098976][T12356] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.108888][T12356] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.125566][T12373] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.135837][T12312] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 466.135853][T12312] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 466.184017][T12373] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.242235][T12312] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 466.242262][T12312] 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 [ 466.372594][T12312] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 466.372614][T12312] 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 [ 466.487821][T12377] loop2: detected capacity change from 0 to 32768 [ 466.494616][T12312] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 466.506238][T12312] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 466.518512][T12373] bcachefs: bch2_fs_get_tree() error: EINVAL [ 466.530756][T12356] bcachefs: bch2_fs_get_tree() error: EINVAL [ 466.600186][T12312] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 466.644222][T12312] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 466.726395][T12312] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 466.747310][T12387] loop1: detected capacity change from 0 to 32768 [ 466.800092][T12377] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 2025/05/11 08:43:19 executed programs: 610 [ 466.800220][T12377] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 466.800319][T12377] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 466.922504][T12312] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 466.948884][T12312] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 466.960018][T12312] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 466.971627][T12312] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 466.981864][T12312] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 466.993531][T12312] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.011696][T12312] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.028939][T12312] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.042407][T12312] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 467.054113][T12312] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 467.065288][T12312] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 467.082210][T12312] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 467.091866][T12387] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 467.114215][T12312] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 467.142743][T12312] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 467.153410][T12387] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 467.153495][T12387] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 467.242473][T12312] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 467.295070][T12312] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 467.295089][T12312] Ratelimiting new instances of previous error [ 467.311950][T12377] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.414391][T12312] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 467.414410][T12312] Ratelimiting new instances of previous error [ 467.432405][T12387] bcachefs: bch2_fs_get_tree() error: EINVAL [ 467.584000][T12312] done [ 467.587454][T12312] bcachefs (loop0): going read-write [ 467.623976][T12312] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 467.644283][T12312] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 467.675290][T12312] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 467.713984][T12312] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 467.785945][T12312] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 467.807304][T12312] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 467.842239][T12312] bcachefs (loop0): shutting down [ 467.901033][T12407] loop3: detected capacity change from 0 to 32768 [ 467.931661][T12312] bcachefs (loop0): shutdown complete [ 468.009452][T12409] loop4: detected capacity change from 0 to 32768 [ 468.243093][T12414] loop1: detected capacity change from 0 to 32768 [ 468.401453][T12412] loop2: detected capacity change from 0 to 32768 [ 468.661550][T12409] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.663417][T12414] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.682834][T12407] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.709746][T12409] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.720725][T12414] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 468.720725][T12414] allowing incompatible features above 0.0: (unknown version) [ 468.748486][T12409] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.760359][T12407] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.763641][T12412] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 468.780522][T12414] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 468.780746][T12414] bcachefs (loop1): Version upgrade required: [ 468.780746][T12414] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 468.780746][T12414] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 468.780746][T12414] 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 [ 468.834857][T12407] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 468.869147][T12412] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 468.887535][T12412] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 469.049508][T12414] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 469.049529][T12414] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 469.049542][T12414] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 469.049554][T12414] error not marked as autofix and not in fsck [ 469.049564][T12414] run fsck, and forward to devs so error can be marked for self-healing [ 469.049575][T12414] inconsistency detected - emergency read only at journal seq 10 [ 469.061364][T12312] bcachefs: bch2_fs_get_tree() error: EINTR [ 469.155873][T12409] bcachefs: bch2_fs_get_tree() error: EINVAL [ 469.308678][T12414] bcachefs (loop1): flagging btree extents lost data [ 469.328941][T12414] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 469.341175][T12412] bcachefs: bch2_fs_get_tree() error: EINVAL [ 469.344605][T12414] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 469.359807][T12407] bcachefs: bch2_fs_get_tree() error: EINVAL [ 469.460653][T12414] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 469.519824][T12414] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 469.519842][T12414] 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 [ 469.519856][T12414] 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 [ 469.564230][T12414] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 469.564230][T12414] 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 [ 469.609690][T12414] bcachefs (loop1): scan_for_btree_nodes... [ 469.653051][T12414] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 469.704018][T12414] done [ 469.706822][T12414] bcachefs (loop1): check_topology... [ 469.708883][T12414] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 469.742602][T12414] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 469.784320][T12414] 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 [ 469.859670][ T41] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 469.859699][ T41] 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 [ 469.859713][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 469.859726][ T41] error not marked as autofix and not in fsck [ 469.859736][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 469.937922][T12414] bcachefs (loop1): Topology repair: unreadable btree node at [ 469.937940][T12414] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 470.083468][T12414] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 470.083488][T12414] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 470.152831][T12414] bcachefs (loop1): empty btree root extents [ 470.162443][T12414] done [ 470.175620][T12414] bcachefs (loop1): accounting_read... done [ 470.186253][T12414] bcachefs (loop1): alloc_read... done [ 470.199376][T12414] bcachefs (loop1): snapshots_read... done [ 470.218373][T12414] bcachefs (loop1): check_allocations... [ 470.224819][T12414] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 470.224838][T12414] 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 [ 470.257200][T12451] loop2: detected capacity change from 0 to 32768 [ 470.372302][T12414] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 470.372321][T12414] 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 [ 470.473199][T12449] loop3: detected capacity change from 0 to 32768 [ 470.476094][T12451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.476216][T12451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.476308][T12451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 470.589608][T12447] loop4: detected capacity change from 0 to 32768 [ 470.617456][T12444] loop0: detected capacity change from 0 to 32768 [ 470.653718][T12414] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 470.653738][T12414] 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 [ 470.771785][T12449] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.811437][T12414] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 470.811456][T12414] 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 [ 470.831972][T12449] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.832066][T12449] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 470.916113][T12444] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.927777][T12444] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 470.938238][T12444] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 470.945441][T12447] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 470.954625][T12451] bcachefs: bch2_fs_get_tree() error: EINVAL [ 471.005578][T12447] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 471.029618][T12414] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 471.029642][T12414] 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 [ 471.084321][T12447] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 471.305019][T12414] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 471.348826][T12414] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 471.389629][T12449] bcachefs: bch2_fs_get_tree() error: EINVAL [ 471.451523][T12447] bcachefs: bch2_fs_get_tree() error: EINVAL [ 471.466061][T12444] bcachefs: bch2_fs_get_tree() error: EINVAL [ 471.531628][T12414] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 471.580167][T12414] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 471.628406][T12414] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 471.671668][T12414] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 471.720373][T12414] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 471.751122][T12414] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 471.816340][T12414] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 471.861067][T12414] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 471.904413][T12414] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing 2025/05/11 08:43:24 executed programs: 621 [ 471.952362][T12414] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 472.018395][T12414] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 472.054263][T12414] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 472.089005][T12414] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 472.119411][T12414] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 472.161433][T12414] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 472.202648][T12414] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 472.245904][T12414] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 472.283980][T12414] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 472.316520][T12414] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 472.316539][T12414] Ratelimiting new instances of previous error [ 472.368204][T12414] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 472.368223][T12414] Ratelimiting new instances of previous error [ 472.411179][T12482] loop2: detected capacity change from 0 to 32768 [ 472.499193][T12414] done [ 472.502616][T12414] bcachefs (loop1): going read-write [ 472.526485][T12414] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 472.543971][T12414] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 472.552814][T12414] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 472.564782][T12414] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 472.580752][T12482] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 472.651519][T12486] loop4: detected capacity change from 0 to 32768 [ 472.661329][T12414] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 472.667507][T12482] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 472.682935][T12414] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 472.692780][T12414] bcachefs (loop1): shutting down [ 472.734981][T12482] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 472.749133][T12484] loop3: detected capacity change from 0 to 32768 [ 472.785191][T12414] bcachefs (loop1): shutdown complete [ 472.810455][T12488] loop0: detected capacity change from 0 to 32768 [ 473.295930][T12486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 473.308997][T12484] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 473.324750][T12488] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 473.331426][T12482] bcachefs: bch2_fs_get_tree() error: EINVAL [ 473.362662][T12486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 473.380536][T12488] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 473.380536][T12488] allowing incompatible features above 0.0: (unknown version) [ 473.404801][T12486] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 473.414106][T12484] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 473.430331][T12484] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 473.469244][T12488] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 473.526223][T12488] bcachefs (loop0): Version upgrade required: [ 473.526223][T12488] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 473.526223][T12488] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 473.526223][T12488] 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 [ 473.623438][T12488] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 473.623458][T12488] 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 [ 473.623471][T12488] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 473.623483][T12488] error not marked as autofix and not in fsck [ 473.623493][T12488] run fsck, and forward to devs so error can be marked for self-healing [ 473.623503][T12488] inconsistency detected - emergency read only at journal seq 10 [ 473.641676][T12414] bcachefs: bch2_fs_get_tree() error: EINTR [ 473.881889][T12484] bcachefs: bch2_fs_get_tree() error: EINVAL [ 473.922263][T12488] bcachefs (loop0): flagging btree extents lost data [ 473.942464][T12488] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 473.977000][T12486] bcachefs: bch2_fs_get_tree() error: EINVAL [ 473.983126][T12488] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 474.055606][T12488] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 474.145123][T12488] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 474.145142][T12488] 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 [ 474.145155][T12488] 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 [ 474.339896][T12488] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 474.339896][T12488] 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 [ 474.421281][T12488] bcachefs (loop0): scan_for_btree_nodes... [ 474.446561][T12488] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 474.484055][T12488] done [ 474.487330][T12488] bcachefs (loop0): check_topology... [ 474.488274][T12488] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 474.512098][T12519] loop2: detected capacity change from 0 to 32768 [ 474.520113][T12488] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 474.540398][T12488] 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 [ 474.581833][ T59] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0