947] bcachefs (loop1): flagging btree extents lost data [ 408.070841][T11947] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 408.083021][T11947] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 408.096702][T11957] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.102979][T11947] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 408.155508][T11980] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 408.155661][T11980] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 408.155750][T11980] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 408.268570][T11978] bcachefs: bch2_fs_get_tree() error: EINVAL [ 408.442028][T11947] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 408.442049][T11947] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 408.442062][T11947] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 408.571022][T11947] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 408.571022][T11947] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 408.601115][T11980] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/05/11 08:22:49 executed programs: 513 [ 408.640562][T11947] bcachefs (loop1): scan_for_btree_nodes... [ 408.715843][T11947] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 408.782778][T11947] done [ 408.785595][T11947] bcachefs (loop1): check_topology... [ 408.808502][T11947] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 408.870948][T11947] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 408.911701][T11947] 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 [ 408.967828][ T8540] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 408.967854][ T8540] 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 [ 408.967868][ T8540] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 408.967880][ T8540] error not marked as autofix and not in fsck [ 408.967889][ T8540] run fsck, and forward to devs so error can be marked for self-healing [ 409.050361][T11947] bcachefs (loop1): Topology repair: unreadable btree node at [ 409.050379][T11947] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 409.138206][T11947] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 409.138224][T11947] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 409.195848][T11947] bcachefs (loop1): empty btree root extents [ 409.224557][T12003] loop3: detected capacity change from 0 to 32768 [ 409.232772][T11947] done [ 409.235600][T11947] bcachefs (loop1): accounting_read... done [ 409.250172][T11947] bcachefs (loop1): alloc_read... done [ 409.312025][T11947] bcachefs (loop1): snapshots_read... done [ 409.345472][T12003] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.362680][T12003] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.373670][T11947] bcachefs (loop1): check_allocations... [ 409.402821][T12003] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 409.421621][T11947] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 409.421647][T11947] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 409.497434][T12000] loop0: detected capacity change from 0 to 32768 [ 409.557686][T11947] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 409.557704][T11947] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 409.620453][T11998] loop4: detected capacity change from 0 to 32768 [ 409.691546][T12005] loop2: detected capacity change from 0 to 32768 [ 409.704513][T11947] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 409.704531][T11947] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 409.740805][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.771690][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.790958][T11947] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 409.790975][T11947] 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 [ 409.801532][T12000] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 409.870120][T11998] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 409.903454][T11998] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 409.913264][T12003] bcachefs: bch2_fs_get_tree() error: EINVAL [ 409.944036][T11998] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.011138][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 410.061542][T11947] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 410.061559][T11947] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 410.076692][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 410.076788][T12005] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 410.224456][T11947] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.244971][T11947] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.256610][T11998] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.342652][T11947] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.398498][T11947] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.423522][T11947] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.451348][T12000] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.480743][T11947] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.508978][T12005] bcachefs: bch2_fs_get_tree() error: EINVAL [ 410.549055][T11947] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.582678][T11947] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.627229][T11947] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.680397][T11947] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.721827][T11947] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.758798][T11947] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.812795][T11947] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.848760][T11947] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 410.883543][T11947] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 410.912231][T11947] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 410.947838][T11947] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.001324][T11947] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.052875][T11947] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.082648][T11947] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.113540][T11947] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 411.113561][T11947] Ratelimiting new instances of previous error [ 411.162738][T11947] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 411.162758][T11947] Ratelimiting new instances of previous error [ 411.267342][T11947] done [ 411.270759][T11947] bcachefs (loop1): going read-write [ 411.317137][T11947] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 411.342543][T11947] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 411.344495][T12035] loop3: detected capacity change from 0 to 32768 [ 411.371804][T11947] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 411.401859][T11947] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 411.473936][T11947] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 411.497917][T11947] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 411.516474][T12035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 411.516688][T11947] bcachefs (loop1): shutting down [ 411.542650][T12035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 411.559577][T12039] loop0: detected capacity change from 0 to 32768 [ 411.571411][T12037] loop4: detected capacity change from 0 to 32768 [ 411.579176][T12035] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 411.735607][T12041] loop2: detected capacity change from 0 to 32768 [ 411.804132][T11947] bcachefs (loop1): shutdown complete [ 412.243610][T12039] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.248391][T12037] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.293311][T12039] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 412.293311][T12039] allowing incompatible features above 0.0: (unknown version) [ 412.304841][T12037] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.321764][T12039] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 412.326682][T12035] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.346851][T12039] bcachefs (loop0): Version upgrade required: [ 412.346851][T12039] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 412.346851][T12039] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 412.346851][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 [ 412.347356][T12041] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 412.417680][T12037] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.443791][T12041] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 412.466932][T12041] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 412.495231][T12039] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 412.495250][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 [ 412.495264][T12039] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 412.495276][T12039] error not marked as autofix and not in fsck [ 412.495285][T12039] run fsck, and forward to devs so error can be marked for self-healing [ 412.495296][T12039] inconsistency detected - emergency read only at journal seq 10 [ 412.742785][T12039] bcachefs (loop0): flagging btree extents lost data [ 412.749526][T12039] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 412.794084][T12039] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 412.823484][T12037] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.838699][T11947] bcachefs: bch2_fs_get_tree() error: EINTR [ 412.863834][T12039] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 412.888251][T12041] bcachefs: bch2_fs_get_tree() error: EINVAL [ 412.929989][T12039] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 412.930008][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 [ 412.930022][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 [ 413.132952][T12039] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 413.132952][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 [ 413.271144][T12039] bcachefs (loop0): scan_for_btree_nodes... [ 413.326699][T12039] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 413.342700][T12039] done [ 413.345513][T12039] bcachefs (loop0): check_topology... [ 413.362834][T12039] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 413.392645][T12039] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 413.430453][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 [ 413.500318][ T8540] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 413.500346][ T8540] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 413.500360][ T8540] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 413.500372][ T8540] error not marked as autofix and not in fsck [ 413.500381][ T8540] run fsck, and forward to devs so error can be marked for self-healing [ 413.562296][T12039] bcachefs (loop0): Topology repair: unreadable btree node at [ 413.562314][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 [ 413.579532][T12072] loop3: detected capacity change from 0 to 32768 [ 413.661991][T12039] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 413.662011][T12039] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 413.710181][T12072] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 413.710306][T12072] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 413.710397][T12072] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 413.830728][T12039] bcachefs (loop0): empty btree root extents [ 413.858646][T12039] done [ 413.861504][T12039] bcachefs (loop0): accounting_read... done [ 413.892543][T12039] bcachefs (loop0): alloc_read... done [ 413.898186][T12039] bcachefs (loop0): snapshots_read... done [ 413.922988][T12039] bcachefs (loop0): check_allocations... [ 413.953100][T12039] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 413.953121][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 [ 414.000924][T12076] loop1: detected capacity change from 0 to 32768 [ 414.060209][T12039] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 414.060229][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 [ 414.081833][T12079] loop2: detected capacity change from 0 to 32768 [ 414.138181][T12072] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.262812][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 2025/05/11 08:22:55 executed programs: 523 [ 414.262934][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.263020][T12076] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.307800][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.307926][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.308013][T12079] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.391745][T12075] loop4: detected capacity change from 0 to 32768 [ 414.593494][T12076] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.618309][T12075] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 414.633265][T12075] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 414.653716][T12075] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 414.680174][T12039] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 414.680192][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 [ 414.753077][T12079] bcachefs: bch2_fs_get_tree() error: EINVAL [ 414.838259][T12039] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 414.838280][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 [ 414.968906][T12039] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 414.968925][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 [ 415.082241][T12039] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.117954][T12039] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.144114][T12075] bcachefs: bch2_fs_get_tree() error: EINVAL [ 415.187170][T12039] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.243801][T12039] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.292794][T12039] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.342870][T12039] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.382999][T12039] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.402595][T12039] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.438343][T12039] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.482757][T12039] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.522798][T12039] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.552612][T12039] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.579774][T12106] loop3: detected capacity change from 0 to 32768 [ 415.603036][T12039] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.631860][T12111] loop1: detected capacity change from 0 to 32768 [ 415.639053][T12039] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 415.672158][T12039] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 415.691450][T12039] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 415.707884][T12039] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 415.719732][T12039] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 415.732313][T12039] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 415.788385][T12039] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 415.817362][T12106] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.817485][T12106] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.817573][T12106] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 415.913002][T12111] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 415.913124][T12111] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 415.913224][T12111] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.103233][T12039] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 416.103251][T12039] Ratelimiting new instances of previous error [ 416.138995][T12039] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 416.139011][T12039] Ratelimiting new instances of previous error [ 416.188797][T12106] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.205241][T12111] bcachefs: bch2_fs_get_tree() error: EINVAL [ 416.328741][T12039] done [ 416.332198][T12039] bcachefs (loop0): going read-write [ 416.362001][T12113] loop2: detected capacity change from 0 to 32768 [ 416.398888][T12039] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 416.415551][T12039] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 416.467182][T12039] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 416.512650][T12039] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 416.594835][T12039] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 416.601479][T12039] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 416.617817][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 416.631354][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 416.639465][T12115] loop4: detected capacity change from 0 to 32768 [ 416.645845][T12113] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 416.708803][T12039] bcachefs (loop0): shutting down [ 416.878200][T12039] bcachefs (loop0): shutdown complete [ 416.889616][T12115] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.026500][T12115] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 417.026500][T12115] allowing incompatible features above 0.0: (unknown version) [ 417.109504][T12115] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 417.142894][T12115] bcachefs (loop4): Version upgrade required: [ 417.142894][T12115] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 417.142894][T12115] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 417.142894][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 [ 417.230403][T12039] bcachefs: bch2_fs_get_tree() error: EINTR [ 417.236811][T12115] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 417.236830][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 [ 417.236843][T12115] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 417.236867][T12115] error not marked as autofix and not in fsck [ 417.236877][T12115] run fsck, and forward to devs so error can be marked for self-healing [ 417.236888][T12115] inconsistency detected - emergency read only at journal seq 10 [ 417.242566][T12139] loop3: detected capacity change from 0 to 32768 [ 417.262564][T12115] bcachefs (loop4): flagging btree extents lost data [ 417.274279][T12113] bcachefs: bch2_fs_get_tree() error: EINVAL [ 417.301870][T12115] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 417.419516][T12115] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 417.452937][T12148] loop1: detected capacity change from 0 to 32768 [ 417.475375][T12115] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 417.556104][T12115] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 417.556123][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 [ 417.556136][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 [ 417.582899][T12139] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.583022][T12139] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.583114][T12139] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 417.763131][T12148] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 417.763264][T12148] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 417.763356][T12148] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.013003][T12139] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.091274][T12115] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 418.091274][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 [ 418.196870][T12115] bcachefs (loop4): scan_for_btree_nodes... [ 418.215224][T12148] bcachefs: bch2_fs_get_tree() error: EINVAL [ 418.324360][T12115] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 418.353300][T12115] done [ 418.366670][T12115] bcachefs (loop4): check_topology... [ 418.372334][T12115] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 418.452764][T12115] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 418.478140][T12115] 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 [ 418.564928][ T41] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 418.564963][ 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 [ 418.564976][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 418.564989][ T41] error not marked as autofix and not in fsck [ 418.564999][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 418.625699][T12115] bcachefs (loop4): Topology repair: unreadable btree node at [ 418.625718][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 [ 418.656479][T12115] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 418.656497][T12115] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 418.690202][T12164] loop2: detected capacity change from 0 to 32768 [ 418.740449][T12115] bcachefs (loop4): empty btree root extents [ 418.789710][T12168] loop3: detected capacity change from 0 to 32768 [ 418.802248][T12115] done [ 418.805274][T12115] bcachefs (loop4): accounting_read... done [ 418.873351][T12115] bcachefs (loop4): alloc_read... done [ 418.887138][T12115] bcachefs (loop4): snapshots_read... done [ 418.899138][T12166] loop0: detected capacity change from 0 to 32768 [ 418.917954][T12164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 418.925287][T12115] bcachefs (loop4): check_allocations... [ 418.931624][T12164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 418.948762][T12164] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 418.980250][T12115] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 418.980270][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 [ 419.117637][T12168] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.117776][T12168] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.117867][T12168] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.228828][T12166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.228964][T12166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.229043][T12166] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.366573][T12164] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.374122][T12115] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 419.374138][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 [ 419.491971][T12166] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.499280][T12115] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 419.499297][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 [ 419.539373][T12168] bcachefs: bch2_fs_get_tree() error: EINVAL [ 419.660927][T12115] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 419.660947][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 [ 419.739662][T12171] loop1: detected capacity change from 0 to 32768 [ 419.798396][T12115] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 419.798415][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 [ 419.844047][T12115] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing 2025/05/11 08:23:00 executed programs: 533 [ 419.889664][T12171] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 419.889807][T12171] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 419.889897][T12171] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 419.973686][T12115] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 419.986836][T12115] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.022974][T12115] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.089359][T12115] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.111904][T12115] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.152833][T12115] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.182968][T12115] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.227792][T12115] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.262614][T12115] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.302074][T12115] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.331550][T12171] bcachefs: bch2_fs_get_tree() error: EINVAL [ 420.352078][T12115] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.389110][T12115] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.427830][T12115] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 420.482888][T12115] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 420.515968][T12115] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 420.557911][T12115] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 420.592630][T12115] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 420.624955][T12115] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 420.663529][T12115] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 420.718112][T12115] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 420.718130][T12115] Ratelimiting new instances of previous error [ 420.768694][T12115] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 420.768712][T12115] Ratelimiting new instances of previous error [ 420.815299][T12202] loop0: detected capacity change from 0 to 32768 [ 420.864628][T12203] loop2: detected capacity change from 0 to 32768 [ 420.909506][T12205] loop3: detected capacity change from 0 to 32768 [ 421.061608][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.076716][T12203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.101719][T12115] done [ 421.128916][T12115] bcachefs (loop4): going read-write [ 421.135082][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.147311][T12202] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.178534][T12205] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 421.189947][T12205] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.190740][T12115] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 421.201046][T12205] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.218700][T12203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 421.228065][T12115] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 421.251091][T12115] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 421.283249][T12203] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 421.293078][T12115] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 421.364634][T12115] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 421.395273][T12115] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 421.422748][T12115] bcachefs (loop4): shutting down [ 421.471583][T12207] loop1: detected capacity change from 0 to 32768 [ 421.507069][T12115] bcachefs (loop4): shutdown complete [ 421.700774][T12202] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.836992][T12205] bcachefs: bch2_fs_get_tree() error: EINVAL [ 421.908494][T12203] bcachefs: bch2_fs_get_tree() error: EINVAL [ 422.215254][T12238] loop0: detected capacity change from 0 to 32768 [ 422.459515][T12207] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.521739][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 422.586968][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 422.603113][T12207] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 422.603113][T12207] allowing incompatible features above 0.0: (unknown version) [ 422.652889][T12238] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 422.690590][T12244] loop3: detected capacity change from 0 to 32768 [ 422.697352][T12207] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 422.733975][T12207] bcachefs (loop1): Version upgrade required: [ 422.733975][T12207] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 422.733975][T12207] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 422.733975][T12207] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 422.854559][T12247] loop2: detected capacity change from 0 to 32768 [ 422.862156][T12115] bcachefs: bch2_fs_get_tree() error: EINTR [ 422.926722][T12207] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 422.926742][T12207] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 422.926756][T12207] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 422.926768][T12207] error not marked as autofix and not in fsck [ 422.926777][T12207] run fsck, and forward to devs so error can be marked for self-healing [ 422.926788][T12207] inconsistency detected - emergency read only at journal seq 10 [ 423.086695][T12244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.086820][T12244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.086908][T12244] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.204477][T12247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.204603][T12247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.204692][T12247] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 423.319717][T12238] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.515806][T12244] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.529374][T12207] bcachefs (loop1): flagging btree extents lost data [ 423.592254][T12207] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 423.631762][T12207] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 423.663754][T12247] bcachefs: bch2_fs_get_tree() error: EINVAL [ 423.678751][T12207] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 423.716645][T12265] loop4: detected capacity change from 0 to 32768 [ 423.865723][T12265] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 423.897901][T12207] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 423.897922][T12207] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 423.897936][T12207] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 423.953802][T12265] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 423.953894][T12265] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 424.129763][T12207] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 424.129763][T12207] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 424.287023][T12207] bcachefs (loop1): scan_for_btree_nodes... [ 424.287118][T12207] bcachefs (loop1): read_btree_nodes(): error starting kthread EINTR [ 424.322093][T12207] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 424.339406][T12207] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 424.353192][T12265] bcachefs: bch2_fs_get_tree() error: EINVAL [ 424.357015][T12207] bcachefs (loop1): shutting down [ 424.464282][T12207] bcachefs (loop1): shutdown complete [ 424.578096][T12276] loop3: detected capacity change from 0 to 32768 [ 424.680616][T12274] loop0: detected capacity change from 0 to 32768 [ 424.956890][T12276] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 424.987117][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.075486][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.082607][T12276] bcachefs (loop3): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 425.082607][T12276] allowing incompatible features above 0.0: (unknown version) [ 425.115926][T12274] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.142936][T12276] bcachefs (loop3): recovering from clean shutdown, journal seq 10 [ 425.169634][T12276] bcachefs (loop3): Version upgrade required: [ 425.169634][T12276] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 425.169634][T12276] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 425.169634][T12276] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 425.245250][T12279] loop2: detected capacity change from 0 to 32768 [ 425.271235][T12207] bcachefs: bch2_fs_get_tree() error: EINTR 2025/05/11 08:23:06 executed programs: 545 [ 425.287829][T12276] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 425.287849][T12276] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 425.287862][T12276] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 425.287874][T12276] error not marked as autofix and not in fsck [ 425.287884][T12276] run fsck, and forward to devs so error can be marked for self-healing [ 425.287895][T12276] inconsistency detected - emergency read only at journal seq 10 [ 425.439957][T12276] bcachefs (loop3): flagging btree extents lost data [ 425.447033][T12276] bcachefs (loop3): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 425.447055][T12279] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 425.459018][T12276] bcachefs (loop3): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 425.546254][T12279] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 425.555760][T12276] bcachefs (loop3): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 425.576959][T12279] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 425.637741][T12276] bcachefs (loop3): bcachefs (loop3): error validating btree node at btree alloc level 0/0 [ 425.637760][T12276] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 425.637773][T12276] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 425.658952][T12274] bcachefs: bch2_fs_get_tree() error: EINVAL [ 425.690766][T12295] loop4: detected capacity change from 0 to 32768 [ 425.732801][T12276] bcachefs (loop3): btree_node_read_work: rewriting btree node at due to error [ 425.732801][T12276] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 425.898599][T12276] bcachefs (loop3): scan_for_btree_nodes... [ 426.050219][T12279] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.079186][T12276] bcachefs (loop3): btree node scan found 7 nodes after overwrites [ 426.093997][T12276] done [ 426.096806][T12276] bcachefs (loop3): check_topology... [ 426.114349][T12295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.157775][T12276] bcachefs (loop3): btree root extents unreadable, must recover from scan [ 426.175971][T12276] bcachefs (loop3): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 426.193940][T12295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.223856][T12276] bcachefs (loop3): bch2_get_scanned_nodes(): recovering u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 426.232766][T12295] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.308365][ T41] bcachefs (loop3): bcachefs (loop3): error validating btree node on loop3 at btree extents level 0/0 [ 426.308390][ 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 [ 426.308404][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 426.308416][ T41] error not marked as autofix and not in fsck [ 426.308425][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 426.386068][T12276] bcachefs (loop3): Topology repair: unreadable btree node at [ 426.386085][T12276] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 426.514180][T12304] loop1: detected capacity change from 0 to 32768 [ 426.538489][T12276] bcachefs (loop3): empty interior btree node at btree=extents level=1 [ 426.538507][T12276] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 426.588206][T12276] bcachefs (loop3): empty btree root extents [ 426.624486][T12276] done [ 426.635442][T12276] bcachefs (loop3): accounting_read... [ 426.648107][T12304] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 426.664834][T12276] done [ 426.667667][T12276] bcachefs (loop3): alloc_read... done [ 426.674068][T12304] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 426.713258][T12304] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 426.730859][T12276] bcachefs (loop3): snapshots_read... done [ 426.772854][T12276] bcachefs (loop3): check_allocations... [ 426.783384][T12276] bcachefs (loop3): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 426.783404][T12276] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 426.842652][T12295] bcachefs: bch2_fs_get_tree() error: EINVAL [ 426.884649][T12316] loop2: detected capacity change from 0 to 32768 [ 427.093514][T12276] bcachefs (loop3): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 427.093532][T12276] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 427.165775][T12316] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.165902][T12316] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.166000][T12316] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.225885][T12314] loop0: detected capacity change from 0 to 32768 [ 427.281997][T12276] bcachefs (loop3): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 427.282016][T12276] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 427.355115][T12304] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.446226][T12276] bcachefs (loop3): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 427.446245][T12276] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 427.479473][T12314] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 427.479607][T12314] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 427.479695][T12314] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 427.664407][T12316] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.743345][T12276] bcachefs (loop3): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 427.743365][T12276] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 427.816139][T12276] bcachefs (loop3): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.843210][T12314] bcachefs: bch2_fs_get_tree() error: EINVAL [ 427.904153][T12276] bcachefs (loop3): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.946658][T12276] bcachefs (loop3): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 427.977148][T12276] bcachefs (loop3): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 427.989293][T12276] bcachefs (loop3): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.007376][T12276] bcachefs (loop3): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.021576][T12276] bcachefs (loop3): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.054095][T12276] bcachefs (loop3): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.082907][T12276] bcachefs (loop3): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.102755][T12276] bcachefs (loop3): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.126279][T12276] bcachefs (loop3): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.150645][T12276] bcachefs (loop3): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.175006][T12276] bcachefs (loop3): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.215963][T12276] bcachefs (loop3): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 428.242156][T12276] bcachefs (loop3): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 428.256635][T12276] bcachefs (loop3): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 428.271872][T12276] bcachefs (loop3): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 428.290981][T12276] bcachefs (loop3): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 428.307902][T12276] bcachefs (loop3): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 428.318981][T12276] bcachefs (loop3): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 428.344566][T12276] bcachefs (loop3): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 428.344585][T12276] Ratelimiting new instances of previous error [ 428.347220][T12339] loop4: detected capacity change from 0 to 32768 [ 428.369818][T12276] bcachefs (loop3): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 428.369837][T12276] Ratelimiting new instances of previous error [ 428.500621][T12276] done [ 428.559105][T12276] bcachefs (loop3): going read-write [ 428.582804][T12276] bcachefs (loop3): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 428.620026][T12339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 428.632989][T12276] bcachefs (loop3): flushing journal and stopping allocators, journal seq 10 [ 428.641848][T12276] bcachefs (loop3): flushing journal and stopping allocators complete, journal seq 10 [ 428.651556][T12276] bcachefs (loop3): unclean shutdown complete, journal seq 10 [ 428.672625][T12339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 428.692052][T12339] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 428.752594][T12276] bcachefs (loop3): bch2_fs_recovery(): error EINTR [ 428.782570][T12276] bcachefs (loop3): bch2_fs_start(): error starting filesystem EINTR [ 428.795680][T12276] bcachefs (loop3): shutting down [ 428.827751][T12343] loop2: detected capacity change from 0 to 32768 [ 428.846669][T12341] loop1: detected capacity change from 0 to 32768 [ 428.894142][T12276] bcachefs (loop3): shutdown complete [ 429.047995][T12345] loop0: detected capacity change from 0 to 32768 [ 429.219417][T12343] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.255005][T12341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.297567][T12339] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.315518][T12343] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 429.315518][T12343] allowing incompatible features above 0.0: (unknown version) [ 429.317349][T12345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 429.351094][T12345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 429.360218][T12341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 429.411840][T12343] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 429.432752][T12341] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 429.432788][T12345] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 429.453520][T12343] bcachefs (loop2): Version upgrade required: [ 429.453520][T12343] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 429.453520][T12343] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 429.453520][T12343] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 429.568788][T12343] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 429.568807][T12343] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 429.568821][T12343] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 429.568833][T12343] error not marked as autofix and not in fsck [ 429.568842][T12343] run fsck, and forward to devs so error can be marked for self-healing [ 429.568853][T12343] inconsistency detected - emergency read only at journal seq 10 [ 429.588869][T12276] bcachefs: bch2_fs_get_tree() error: EINTR [ 429.837431][T12343] bcachefs (loop2): flagging btree extents lost data [ 429.844429][T12343] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 429.917580][T12345] bcachefs: bch2_fs_get_tree() error: EINVAL [ 429.922169][T12343] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 429.978815][T12343] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 430.001449][T12341] bcachefs: bch2_fs_get_tree() error: EINVAL [ 430.080988][T12343] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 430.081008][T12343] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 430.081021][T12343] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 430.213618][T12343] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 430.213618][T12343] 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:23:11 executed programs: 555 [ 430.273819][T12343] bcachefs (loop2): scan_for_btree_nodes... [ 430.420303][T12343] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 430.452987][T12343] done [ 430.460726][T12343] bcachefs (loop2): check_topology... [ 430.461952][T12343] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 430.495149][T12343] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 430.524767][T12343] 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 [ 430.568915][ T8540] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 430.568941][ T8540] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 430.568954][ T8540] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 430.568967][ T8540] error not marked as autofix and not in fsck [ 430.568976][ T8540] run fsck, and forward to devs so error can be marked for self-healing [ 430.638755][T12343] bcachefs (loop2): Topology repair: unreadable btree node at [ 430.638774][T12343] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 430.667588][T12343] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 430.667605][T12343] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 430.686238][T12343] bcachefs (loop2): empty btree root extents [ 430.692953][T12343] done [ 430.695817][T12343] bcachefs (loop2): accounting_read... done [ 430.725333][T12343] bcachefs (loop2): alloc_read... done [ 430.741288][T12343] bcachefs (loop2): snapshots_read... done [ 430.747456][T12343] bcachefs (loop2): check_allocations... [ 430.749724][T12343] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 430.749742][T12343] 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.873002][T12343] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 430.873023][T12343] 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.873982][T12376] loop4: detected capacity change from 0 to 32768 [ 430.909052][T12343] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 430.909070][T12343] 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.919519][T12378] loop3: detected capacity change from 0 to 32768 [ 431.020089][T12383] loop1: detected capacity change from 0 to 32768 [ 431.092956][T12343] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 431.092976][T12343] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 431.140614][T12382] loop0: detected capacity change from 0 to 32768 [ 431.170558][T12376] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.170674][T12376] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.170762][T12376] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.192207][T12378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.192343][T12378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.193577][T12378] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.205852][T12383] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.205978][T12383] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.206053][T12383] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.524841][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 431.524974][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 431.525066][T12382] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 431.607511][T12378] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.706342][T12376] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.825373][T12383] bcachefs: bch2_fs_get_tree() error: EINVAL [ 431.896413][T12343] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 431.896433][T12343] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 432.043604][T12343] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.088127][T12343] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.101814][T12382] bcachefs: bch2_fs_get_tree() error: EINVAL [ 432.153470][T12343] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.182912][T12343] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.237432][T12343] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.277065][T12343] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.333030][T12343] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.378941][T12343] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.421011][T12343] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.452460][T12343] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.484484][T12343] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.508161][T12343] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.546091][T12343] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.591686][T12343] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 432.632922][T12343] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 432.655957][T12343] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 432.680094][T12417] loop3: detected capacity change from 0 to 32768 [ 432.732896][T12343] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.770748][T12417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 432.770881][T12417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 432.770981][T12417] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 432.820405][T12419] loop4: detected capacity change from 0 to 32768 [ 432.861665][T12343] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.874917][T12343] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.886957][T12343] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.899419][T12343] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 432.899436][T12343] Ratelimiting new instances of previous error [ 432.917588][T12343] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 432.917605][T12343] Ratelimiting new instances of previous error [ 432.949230][T12343] done [ 432.953204][T12343] bcachefs (loop2): going read-write [ 432.973687][T12343] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 432.986322][T12343] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 432.995299][T12343] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 433.004976][T12343] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 433.072532][T12343] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 433.079522][T12343] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 433.092314][T12419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 433.132722][T12419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 433.162547][T12343] bcachefs (loop2): shutting down [ 433.212742][T12419] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 433.278101][T12343] bcachefs (loop2): shutdown complete [ 433.358682][T12421] loop1: detected capacity change from 0 to 32768 [ 433.458409][T12424] loop0: detected capacity change from 0 to 32768 [ 433.652972][T12417] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.901005][T12419] bcachefs: bch2_fs_get_tree() error: EINVAL [ 433.973773][T12421] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.001071][T12451] loop3: detected capacity change from 0 to 32768 [ 434.050204][T12424] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.115431][T12424] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.126136][T12421] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 434.126136][T12421] allowing incompatible features above 0.0: (unknown version) [ 434.154010][T12424] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.181262][T12421] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 434.192477][T12421] bcachefs (loop1): Version upgrade required: [ 434.192477][T12421] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 434.192477][T12421] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 434.192477][T12421] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 434.200161][T12343] bcachefs: bch2_fs_get_tree() error: EINTR [ 434.283774][T12421] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 434.283793][T12421] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 434.283806][T12421] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 434.283818][T12421] error not marked as autofix and not in fsck [ 434.283827][T12421] run fsck, and forward to devs so error can be marked for self-healing [ 434.283837][T12421] inconsistency detected - emergency read only at journal seq 10 [ 434.290746][T12451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 434.356121][T12451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 434.370678][T12451] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 434.403356][T12421] bcachefs (loop1): flagging btree extents lost data [ 434.410113][T12421] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 434.486235][T12421] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 434.526269][T12421] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 434.598059][T12421] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 434.598077][T12421] 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.598089][T12421] 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.750940][T12424] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.843245][T12421] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 434.843245][T12421] 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 [ 434.883702][T12451] bcachefs: bch2_fs_get_tree() error: EINVAL [ 434.946991][T12421] bcachefs (loop1): scan_for_btree_nodes... [ 435.090274][T12421] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 435.149117][T12421] done [ 435.151950][T12421] bcachefs (loop1): check_topology... [ 435.185568][T12421] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 435.233437][T12421] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 435.256832][T12421] 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 [ 435.306308][ T8540] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 435.306334][ T8540] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 435.306347][ T8540] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 435.306359][ T8540] error not marked as autofix and not in fsck [ 435.306368][ T8540] run fsck, and forward to devs so error can be marked for self-healing [ 435.375621][T12421] bcachefs (loop1): Topology repair: unreadable btree node at [ 435.375640][T12421] 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.510754][T12464] loop4: detected capacity change from 0 to 32768 [ 435.530554][T12421] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 435.530574][T12421] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 435.567284][T12421] bcachefs (loop1): empty btree root extents [ 435.584108][T12421] done [ 435.590311][T12421] bcachefs (loop1): accounting_read... [ 435.628176][T12466] loop2: detected capacity change from 0 to 32768 [ 435.634817][T12464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 435.651921][T12421] done [ 435.654797][T12421] bcachefs (loop1): alloc_read... done [ 435.660392][T12421] bcachefs (loop1): snapshots_read... done [ 435.666473][T12421] bcachefs (loop1): check_allocations... [ 435.668111][T12464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 435.686946][T12421] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 435.686965][T12421] 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.688126][T12464] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 435.762837][T12421] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 435.762856][T12421] 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.809194][T12421] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 435.809212][T12421] 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.856263][T12471] loop3: detected capacity change from 0 to 32768 [ 435.945284][T12421] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 435.945304][T12421] 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.006468][T12466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.006596][T12466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.006685][T12466] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.111009][T12471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.111138][T12471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.111231][T12471] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.128834][T12469] loop0: detected capacity change from 0 to 32768 [ 436.175577][T12464] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.392572][T12466] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.443326][T12469] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 436.477887][T12421] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 436.477906][T12421] 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.516004][T12469] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 436.516097][T12469] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 436.548245][T12471] bcachefs: bch2_fs_get_tree() error: EINVAL 2025/05/11 08:23:17 executed programs: 565 [ 436.677954][T12421] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.715396][T12421] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.786600][T12421] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.813605][T12421] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.850468][T12421] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.880229][T12421] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.892428][T12421] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.911030][T12421] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 436.923223][T12421] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 436.944135][T12469] bcachefs: bch2_fs_get_tree() error: EINVAL [ 436.950311][T12421] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.020782][T12421] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.054703][T12421] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.082804][T12421] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.110514][T12421] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 437.142779][T12421] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 437.162643][T12421] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 437.190473][T12421] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.219408][T12421] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.256257][T12421] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.274104][T12421] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.320452][T12421] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 437.320472][T12421] Ratelimiting new instances of previous error [ 437.351909][T12421] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 437.351928][T12421] Ratelimiting new instances of previous error [ 437.433146][T12421] done [ 437.437104][T12421] bcachefs (loop1): going read-write [ 437.462975][T12421] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 437.492501][T12421] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 437.519917][T12421] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 437.539816][T12421] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 437.585511][T12501] loop4: detected capacity change from 0 to 32768 [ 437.614006][T12421] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 437.641087][T12421] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 437.652822][T12421] bcachefs (loop1): shutting down [ 437.750365][T12421] bcachefs (loop1): shutdown complete [ 437.777431][T12505] loop2: detected capacity change from 0 to 32768 [ 437.848047][T12503] loop3: detected capacity change from 0 to 32768 [ 437.927573][T12508] loop0: detected capacity change from 0 to 32768 [ 438.124587][T12501] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.174549][T12505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.247941][T12505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.250852][T12503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.277656][T12501] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 438.277656][T12501] allowing incompatible features above 0.0: (unknown version) [ 438.282303][T12508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 438.301281][T12505] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.321199][T12503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.330803][T12501] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 438.352585][T12503] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.353368][T12508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 438.422750][T12508] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 438.430514][T12501] bcachefs (loop4): Version upgrade required: [ 438.430514][T12501] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 438.430514][T12501] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 438.430514][T12501] 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.541342][T12501] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 438.541360][T12501] 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.541373][T12501] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 438.541385][T12501] error not marked as autofix and not in fsck [ 438.541395][T12501] run fsck, and forward to devs so error can be marked for self-healing [ 438.541405][T12501] inconsistency detected - emergency read only at journal seq 10 [ 438.653248][T12421] bcachefs: bch2_fs_get_tree() error: EINTR [ 438.687711][T12501] bcachefs (loop4): flagging btree extents lost data [ 438.732542][T12501] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 438.753228][T12505] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.758643][T12501] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 438.775740][T12503] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.814626][T12501] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 438.902844][T12508] bcachefs: bch2_fs_get_tree() error: EINVAL [ 438.920485][T12501] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 [ 438.920619][T12501] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 438.920637][T12501] 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.098087][T12501] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 439.098087][T12501] 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.143925][T12501] bcachefs (loop4): scan_for_btree_nodes... [ 439.167293][T12501] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 439.239487][T12501] done [ 439.242327][T12501] bcachefs (loop4): check_topology... [ 439.255759][T12501] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 439.300163][T12501] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 439.327607][T12501] 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 [ 439.433990][ T41] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 439.434017][ 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 [ 439.434030][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 439.434042][ T41] error not marked as autofix and not in fsck [ 439.434051][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 439.496325][T12501] bcachefs (loop4): Topology repair: unreadable btree node at [ 439.496342][T12501] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 439.539125][T12501] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 439.539143][T12501] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 439.585843][T12501] bcachefs (loop4): empty btree root extents [ 439.626553][T12501] done [ 439.629365][T12501] bcachefs (loop4): accounting_read... done [ 439.655897][T12501] bcachefs (loop4): alloc_read... done [ 439.661542][T12501] bcachefs (loop4): snapshots_read... done [ 439.698522][T12501] bcachefs (loop4): check_allocations... [ 439.730809][T12501] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 439.730830][T12501] 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 [ 439.834999][T12501] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 439.835018][T12501] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 439.893257][T12544] loop3: detected capacity change from 0 to 32768 [ 439.929536][T12501] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 439.929556][T12501] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 440.036438][T12501] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 440.036456][T12501] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 440.097239][T12541] loop2: detected capacity change from 0 to 32768 [ 440.121423][T12501] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 440.121442][T12501] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 440.145352][T12544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.161239][ T1296] ieee802154 phy0 wpan0: encryption failed: -22 [ 440.161288][ T1296] ieee802154 phy1 wpan1: encryption failed: -22 [ 440.174779][T12501] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.186816][T12542] loop1: detected capacity change from 0 to 32768 [ 440.230792][T12501] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.261971][T12541] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.262099][T12541] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.262191][T12541] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.266484][T12544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.320621][T12501] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.373737][T12542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.416842][T12544] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.426155][T12542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.426268][T12542] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.458402][T12546] loop0: detected capacity change from 0 to 32768 [ 440.636734][T12501] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.684272][T12501] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.697071][T12501] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.709411][T12501] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.720502][T12501] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 440.722288][T12541] bcachefs: bch2_fs_get_tree() error: EINVAL [ 440.738332][T12501] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 440.785551][T12546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 440.785675][T12546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 440.785768][T12546] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 440.792973][T12544] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.011231][T12501] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.020217][T12542] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.081333][T12501] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.112488][T12501] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.158406][T12501] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.201103][T12501] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 441.228635][T12501] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 441.260693][T12546] bcachefs: bch2_fs_get_tree() error: EINVAL [ 441.332956][T12501] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 441.383041][T12501] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 441.422623][T12501] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 441.454946][T12501] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 441.522708][T12501] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 441.556787][T12501] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 441.556806][T12501] Ratelimiting new instances of previous error [ 441.596090][T12501] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 441.596119][T12501] Ratelimiting new instances of previous error [ 441.638791][T12501] done [ 441.642173][T12501] bcachefs (loop4): going read-write [ 441.685554][T12501] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 441.706709][T12501] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 441.727848][T12501] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 441.750553][T12501] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 441.814024][T12501] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 441.820677][T12501] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 441.855879][T12501] bcachefs (loop4): shutting down [ 441.920670][T12576] loop2: detected capacity change from 0 to 32768 [ 441.960200][T12501] bcachefs (loop4): shutdown complete [ 442.131926][T12578] loop3: detected capacity change from 0 to 32768 [ 442.197009][T12580] loop1: detected capacity change from 0 to 32768 [ 442.328805][T12583] loop0: detected capacity change from 0 to 32768 [ 442.711931][T12580] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.715512][T12576] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.735018][T12578] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.743117][T12583] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 442.779052][T12578] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.798019][T12580] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 442.798019][T12580] allowing incompatible features above 0.0: (unknown version) [ 442.826732][T12578] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 442.834982][T12583] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.855135][T12576] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 442.855193][T12583] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 442.867716][T12580] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 442.880876][T12576] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 442.923513][T12501] bcachefs: bch2_fs_get_tree() error: EINTR [ 442.935764][T12580] bcachefs (loop1): Version upgrade required: [ 442.935764][T12580] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 442.935764][T12580] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 442.935764][T12580] running recovery passes: check_allocations,check_alloc_info,check_lrus,check_btree_backpointers,check_backpointers_to_extents,check_extents_to_backpointers,check_alloc_to_lru_refs,bucket_gens_init,check_snapshot_trees,check_snapshots,check_subvols,check_subvol_children,delete_dead_snapshots,check_inodes,check_extents,check_indirect_extents,check_dirents,check_xattrs,check_root,check_unreachable_inodes,check_subvolume_structure,check_directory_structure,check_nlinks,set_fs_needs_rebalance [ 443.050146][T12580] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 2025/05/11 08:23:24 executed programs: 577 [ 443.050164][T12580] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 443.050177][T12580] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 443.050190][T12580] error not marked as autofix and not in fsck [ 443.050199][T12580] run fsck, and forward to devs so error can be marked for self-healing [ 443.050210][T12580] inconsistency detected - emergency read only at journal seq 10 [ 443.220233][T12578] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.346127][T12580] bcachefs (loop1): flagging btree extents lost data [ 443.363540][T12576] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.367942][T12583] bcachefs: bch2_fs_get_tree() error: EINVAL [ 443.376014][T12580] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 443.394898][T12580] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 443.448190][T12580] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 443.542199][T12580] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 443.542216][T12580] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 443.542227][T12580] node offset 8/24 bset u64s 375 bset byte offset 184: keys out of order: u64s 11 type alloc_v4 0:32:0 len 0 ver 0 > u64s 11 type alloc_v4 0:2:0 len 0 ver 0, fixing [ 443.661238][T12580] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 443.661238][T12580] btree=alloc level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 443.808431][T12580] bcachefs (loop1): scan_for_btree_nodes... [ 443.938028][T12580] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 443.972743][T12580] done [ 443.982426][T12580] bcachefs (loop1): check_topology... [ 443.988624][T12580] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 444.032643][T12580] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 444.072984][T12580] 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 [ 444.120090][ T41] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 444.120115][ 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 [ 444.120129][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 444.120140][ T41] error not marked as autofix and not in fsck [ 444.120150][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 444.185569][T12580] bcachefs (loop1): Topology repair: unreadable btree node at [ 444.185586][T12580] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 444.313077][T12580] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 444.313096][T12580] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 444.325743][T12615] loop0: detected capacity change from 0 to 32768 [ 444.349722][T12580] bcachefs (loop1): empty btree root extents [ 444.369773][T12580] done [ 444.379608][T12580] bcachefs (loop1): accounting_read... done [ 444.428283][T12580] bcachefs (loop1): alloc_read... done [ 444.463385][T12617] loop3: detected capacity change from 0 to 32768 [ 444.471721][T12580] bcachefs (loop1): snapshots_read... done [ 444.478128][T12580] bcachefs (loop1): check_allocations... [ 444.490789][T12615] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 444.510666][T12615] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.520338][T12615] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.523989][T12580] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 444.524007][T12580] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0, fixing [ 444.550961][T12613] loop4: detected capacity change from 0 to 32768 [ 444.749613][T12617] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 444.768104][T12580] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 444.768123][T12580] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7589ab5e0c11cc7a written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0, fixing [ 444.781325][T12617] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.781408][T12617] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 444.829716][T12580] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 444.829734][T12580] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 9aa2895aefce4bdf written 24 min_key POS_MIN durability: 1 ptr: 0:41:0 gen 0, fixing [ 444.876464][T12580] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 444.876482][T12580] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c0bef60d07ceb940 written 16 min_key POS_MIN durability: 1 ptr: 0:35:0 gen 0, fixing [ 444.912276][T12613] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 444.917958][T12615] bcachefs: bch2_fs_get_tree() error: EINVAL [ 444.962638][T12613] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 444.962760][T12613] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.002606][T12620] loop2: detected capacity change from 0 to 32768 [ 445.188696][T12620] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 445.197498][T12617] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.208353][T12620] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 445.223475][T12620] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 445.319247][T12580] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 445.319267][T12580] while marking u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e81e1ed936acf3df written 32 min_key POS_MIN durability: 1 ptr: 0:29:0 gen 0, fixing [ 445.404110][T12613] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.479636][T12580] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.556069][T12580] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.618305][T12580] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.679187][T12580] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.691043][T12620] bcachefs: bch2_fs_get_tree() error: EINVAL [ 445.742876][T12580] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.782575][T12580] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.821692][T12580] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.872714][T12580] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.908895][T12580] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 445.942762][T12580] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 445.972766][T12580] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.012736][T12580] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.052754][T12580] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.092278][T12580] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 446.115727][T12580] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 446.152949][T12580] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 446.182845][T12580] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.212648][T12580] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.241472][T12580] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.283133][T12580] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.312807][T12580] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 446.312826][T12580] Ratelimiting new instances of previous error [ 446.342593][T12580] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 446.342612][T12580] Ratelimiting new instances of previous error [ 446.396600][T12650] loop0: detected capacity change from 0 to 32768 [ 446.437820][T12580] done [ 446.441198][T12580] bcachefs (loop1): going read-write [ 446.458465][T12652] loop3: detected capacity change from 0 to 32768 [ 446.474209][T12580] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 446.503140][T12580] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 446.532339][T12580] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 446.537818][T12650] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 446.541973][T12580] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 446.562816][T12654] loop4: detected capacity change from 0 to 32768 [ 446.597224][T12650] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 446.613734][T12650] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 446.655885][T12580] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 446.681065][T12580] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 446.693541][T12580] bcachefs (loop1): shutting down [ 446.804725][T12580] bcachefs (loop1): shutdown complete [ 447.007771][T12656] loop2: detected capacity change from 0 to 32768 [ 447.289420][T12654] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.303159][T12652] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.333232][T12650] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.355330][T12656] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 447.402495][T12652] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.420761][T12654] bcachefs (loop4): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 447.420761][T12654] allowing incompatible features above 0.0: (unknown version) [ 447.473141][T12652] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.476132][T12656] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 447.505615][T12654] bcachefs (loop4): recovering from clean shutdown, journal seq 10 [ 447.536837][T12656] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 447.552686][T12654] bcachefs (loop4): Version upgrade required: [ 447.552686][T12654] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 447.552686][T12654] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 447.552686][T12654] 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.712851][T12652] bcachefs: bch2_fs_get_tree() error: EINVAL [ 447.720995][T12580] bcachefs: bch2_fs_get_tree() error: EINTR [ 447.759008][T12654] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 447.759027][T12654] 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.759040][T12654] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 447.759052][T12654] error not marked as autofix and not in fsck [ 447.759061][T12654] run fsck, and forward to devs so error can be marked for self-healing [ 447.759072][T12654] inconsistency detected - emergency read only at journal seq 10 [ 448.022768][T12654] bcachefs (loop4): flagging btree extents lost data [ 448.029510][T12654] bcachefs (loop4): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 448.042969][T12654] bcachefs (loop4): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 448.063279][T12656] bcachefs: bch2_fs_get_tree() error: EINVAL [ 448.115335][T12654] bcachefs (loop4): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 448.184646][T12654] bcachefs (loop4): bcachefs (loop4): error validating btree node at btree alloc level 0/0 2025/05/11 08:23:29 executed programs: 587 [ 448.184664][T12654] 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.184677][T12654] 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.310320][T12654] bcachefs (loop4): btree_node_read_work: rewriting btree node at due to error [ 448.310320][T12654] 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.385350][T12654] bcachefs (loop4): scan_for_btree_nodes... [ 448.439985][T12654] bcachefs (loop4): btree node scan found 7 nodes after overwrites [ 448.465761][T12687] loop0: detected capacity change from 0 to 32768 [ 448.483137][T12654] done [ 448.486025][T12654] bcachefs (loop4): check_topology... [ 448.507660][T12654] bcachefs (loop4): btree root extents unreadable, must recover from scan [ 448.542623][T12654] bcachefs (loop4): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 448.573403][T12654] 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 [ 448.648476][T12687] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 448.677504][ T41] bcachefs (loop4): bcachefs (loop4): error validating btree node on loop4 at btree extents level 0/0 [ 448.677530][ 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 [ 448.677543][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 448.677555][ T41] error not marked as autofix and not in fsck [ 448.677565][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 448.710454][T12687] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 448.743439][T12654] bcachefs (loop4): Topology repair: unreadable btree node at [ 448.743455][T12654] btree=extents level=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq c6c25c03258c59c5 written 256 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0, fixing [ 448.851548][T12654] bcachefs (loop4): empty interior btree node at btree=extents level=1 [ 448.851568][T12654] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 448.882728][T12687] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 448.961779][T12654] bcachefs (loop4): empty btree root extents [ 449.015009][T12694] loop2: detected capacity change from 0 to 32768 [ 449.031880][T12654] done [ 449.040277][T12689] loop1: detected capacity change from 0 to 32768 [ 449.052696][T12654] bcachefs (loop4): accounting_read... done [ 449.061203][T12654] bcachefs (loop4): alloc_read... done [ 449.134386][T12691] loop3: detected capacity change from 0 to 32768 [ 449.141096][T12654] bcachefs (loop4): snapshots_read... done [ 449.180775][T12654] bcachefs (loop4): check_allocations... [ 449.225925][T12694] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.256002][T12654] bcachefs (loop4): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 449.256021][T12654] 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.310418][T12694] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.310506][T12694] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.356355][T12689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.356478][T12689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.356574][T12689] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.378238][T12687] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.421140][T12691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 449.438863][T12691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 449.438959][T12691] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 449.717584][T12654] bcachefs (loop4): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 449.717604][T12654] 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.737220][T12689] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.753425][T12694] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.914825][T12691] bcachefs: bch2_fs_get_tree() error: EINVAL [ 449.954111][T12654] bcachefs (loop4): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 449.954129][T12654] 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 [ 450.113859][T12654] bcachefs (loop4): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 450.113879][T12654] 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 [ 450.269928][T12654] bcachefs (loop4): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 450.269948][T12654] 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 [ 450.377497][T12654] bcachefs (loop4): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.404983][T12654] bcachefs (loop4): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.436496][T12654] bcachefs (loop4): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.472074][T12654] bcachefs (loop4): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.520188][T12654] bcachefs (loop4): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.555120][T12654] bcachefs (loop4): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.589866][T12724] loop0: detected capacity change from 0 to 32768 [ 450.639031][T12654] bcachefs (loop4): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.675375][T12654] bcachefs (loop4): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.730108][T12654] bcachefs (loop4): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.778122][T12724] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 450.778277][T12724] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 450.778368][T12724] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 450.968346][T12654] bcachefs (loop4): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 450.988803][T12654] bcachefs (loop4): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 450.999807][T12724] bcachefs: bch2_fs_get_tree() error: EINVAL [ 451.049033][T12654] bcachefs (loop4): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 451.106642][T12654] bcachefs (loop4): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 451.147565][T12654] bcachefs (loop4): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 451.193363][T12654] bcachefs (loop4): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 451.229623][T12726] loop1: detected capacity change from 0 to 32768 [ 451.256671][T12728] loop2: detected capacity change from 0 to 32768 [ 451.298675][T12654] bcachefs (loop4): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 451.340206][T12654] bcachefs (loop4): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 451.398928][T12654] bcachefs (loop4): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 451.422200][T12730] loop3: detected capacity change from 0 to 32768 [ 451.487267][T12726] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.487394][T12726] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.487486][T12726] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.521040][T12654] bcachefs (loop4): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 451.656979][T12728] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.657096][T12728] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.657184][T12728] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.761026][T12730] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 451.761145][T12730] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 451.761228][T12730] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 451.845640][T12726] bcachefs: bch2_fs_get_tree() error: EINVAL [ 451.910811][T12654] bcachefs (loop4): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 451.968957][T12654] bcachefs (loop4): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 451.968975][T12654] Ratelimiting new instances of previous error [ 452.020305][T12654] bcachefs (loop4): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 452.020324][T12654] Ratelimiting new instances of previous error [ 452.177099][T12654] done [ 452.180507][T12654] bcachefs (loop4): going read-write [ 452.194290][T12654] bcachefs (loop4): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 452.208380][T12654] bcachefs (loop4): flushing journal and stopping allocators, journal seq 10 [ 452.214308][T12749] loop0: detected capacity change from 0 to 32768 [ 452.242767][T12728] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.251789][T12654] bcachefs (loop4): flushing journal and stopping allocators complete, journal seq 10 [ 452.281523][T12730] bcachefs: bch2_fs_get_tree() error: EINVAL [ 452.298852][T12654] bcachefs (loop4): unclean shutdown complete, journal seq 10 [ 452.376822][T12654] bcachefs (loop4): bch2_fs_recovery(): error EINTR [ 452.422889][T12654] bcachefs (loop4): bch2_fs_start(): error starting filesystem EINTR [ 452.476112][T12654] bcachefs (loop4): shutting down [ 452.498169][T12749] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 452.562639][T12749] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 452.614449][T12749] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 452.653866][T12654] bcachefs (loop4): shutdown complete [ 453.067549][T12763] loop1: detected capacity change from 0 to 32768 [ 453.107780][T12654] bcachefs: bch2_fs_get_tree() error: EINTR [ 453.218847][T12774] loop2: detected capacity change from 0 to 32768 [ 453.357273][T12773] loop3: detected capacity change from 0 to 32768 [ 453.647433][T12786] loop4: detected capacity change from 0 to 32768 [ 453.870335][T12763] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.886652][T12774] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.900080][T12773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 453.945011][T12763] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.963674][T12774] bcachefs (loop2): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 453.963674][T12774] allowing incompatible features above 0.0: (unknown version) [ 453.966354][T12763] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 453.986663][T12773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 453.986757][T12773] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.047966][T12786] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 454.072802][T12774] bcachefs (loop2): recovering from clean shutdown, journal seq 10 [ 454.093883][T12774] bcachefs (loop2): Version upgrade required: [ 454.093883][T12774] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 454.093883][T12774] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 454.093883][T12774] 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 [ 454.181084][T12786] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 454.193996][T12749] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.225873][T12786] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 454.241677][T12763] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.250098][T12774] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 454.250116][T12774] 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 [ 454.250128][T12774] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 454.250140][T12774] error not marked as autofix and not in fsck [ 454.250149][T12774] run fsck, and forward to devs so error can be marked for self-healing [ 454.250158][T12774] inconsistency detected - emergency read only at journal seq 10 [ 454.485838][T12773] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.546731][T12774] bcachefs (loop2): flagging btree extents lost data [ 454.592510][T12774] bcachefs (loop2): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) 2025/05/11 08:23:35 executed programs: 598 [ 454.640315][T12774] bcachefs (loop2): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 454.726978][T12774] bcachefs (loop2): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 454.762183][T12786] bcachefs: bch2_fs_get_tree() error: EINVAL [ 454.839745][T12774] bcachefs (loop2): bcachefs (loop2): error validating btree node at btree alloc level 0/0 [ 454.839764][T12774] 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 [ 454.839778][T12774] 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 [ 455.074385][T12774] bcachefs (loop2): btree_node_read_work: rewriting btree node at due to error [ 455.074385][T12774] 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 [ 455.139549][T12774] bcachefs (loop2): scan_for_btree_nodes... [ 455.169435][T12774] bcachefs (loop2): btree node scan found 7 nodes after overwrites [ 455.222735][T12774] done [ 455.225555][T12774] bcachefs (loop2): check_topology... [ 455.236206][T12774] bcachefs (loop2): btree root extents unreadable, must recover from scan [ 455.282575][T12774] bcachefs (loop2): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 455.322928][T12774] 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 [ 455.384725][ T41] bcachefs (loop2): bcachefs (loop2): error validating btree node on loop2 at btree extents level 0/0 [ 455.384751][ 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 [ 455.384765][ T41] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 455.384777][ T41] error not marked as autofix and not in fsck [ 455.384787][ T41] run fsck, and forward to devs so error can be marked for self-healing [ 455.446870][T12774] bcachefs (loop2): Topology repair: unreadable btree node at [ 455.446892][T12774] 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 [ 455.482782][T12774] bcachefs (loop2): empty interior btree node at btree=extents level=1 [ 455.482801][T12774] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 455.547914][T12810] loop3: detected capacity change from 0 to 32768 [ 455.562847][T12774] bcachefs (loop2): empty btree root extents [ 455.571262][T12808] loop0: detected capacity change from 0 to 32768 [ 455.571734][T12774] done [ 455.583476][T12774] bcachefs (loop2): accounting_read... done [ 455.602621][T12774] bcachefs (loop2): alloc_read... done [ 455.622702][T12774] bcachefs (loop2): snapshots_read... done [ 455.644244][T12774] bcachefs (loop2): check_allocations... [ 455.649679][T12806] loop1: detected capacity change from 0 to 32768 [ 455.678801][T12812] loop4: detected capacity change from 0 to 32768 [ 455.708913][T12774] bcachefs (loop2): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 455.708937][T12774] 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 [ 455.731816][T12810] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.731937][T12810] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 455.732024][T12810] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 455.917230][T12808] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 455.940800][T12774] bcachefs (loop2): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 455.940819][T12774] 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.995682][T12812] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.012452][T12812] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.021798][T12812] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.028018][T12806] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 456.030155][T12808] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.056700][T12810] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.056958][T12808] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.083294][T12806] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 456.114381][T12774] bcachefs (loop2): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 456.114401][T12774] 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 [ 456.132636][T12806] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 456.282105][T12774] bcachefs (loop2): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 456.282124][T12774] 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 [ 456.414626][T12774] bcachefs (loop2): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 456.414643][T12774] 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 [ 456.483678][T12774] bcachefs (loop2): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.485170][T12812] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.502950][T12774] bcachefs (loop2): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.521426][T12774] bcachefs (loop2): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.533722][T12806] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.578969][T12774] bcachefs (loop2): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.623828][T12774] bcachefs (loop2): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.671708][T12774] bcachefs (loop2): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.672868][T12808] bcachefs: bch2_fs_get_tree() error: EINVAL [ 456.720170][T12774] bcachefs (loop2): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.768919][T12774] bcachefs (loop2): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.817849][T12774] bcachefs (loop2): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.882631][T12774] bcachefs (loop2): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 456.931940][T12774] bcachefs (loop2): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 456.996256][T12774] bcachefs (loop2): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.060015][T12774] bcachefs (loop2): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.092124][T12774] bcachefs (loop2): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 457.151079][T12774] bcachefs (loop2): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 457.186290][T12774] bcachefs (loop2): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 457.218263][T12774] bcachefs (loop2): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 457.249809][T12774] bcachefs (loop2): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 457.292301][T12774] bcachefs (loop2): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 457.322711][T12774] bcachefs (loop2): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 457.364286][T12774] bcachefs (loop2): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 457.364304][T12774] Ratelimiting new instances of previous error [ 457.402642][T12774] bcachefs (loop2): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 457.402659][T12774] Ratelimiting new instances of previous error [ 457.424322][T12843] loop3: detected capacity change from 0 to 32768 [ 457.531894][T12774] done [ 457.536484][T12774] bcachefs (loop2): going read-write [ 457.598746][T12843] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 457.610546][T12843] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 457.620872][T12843] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 457.629422][T12774] bcachefs (loop2): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 457.649994][T12774] bcachefs (loop2): flushing journal and stopping allocators, journal seq 10 [ 457.681416][T12774] bcachefs (loop2): flushing journal and stopping allocators complete, journal seq 10 [ 457.728101][T12774] bcachefs (loop2): unclean shutdown complete, journal seq 10 [ 457.734453][T12847] loop1: detected capacity change from 0 to 32768 [ 457.791670][T12845] loop4: detected capacity change from 0 to 32768 [ 457.825736][T12774] bcachefs (loop2): bch2_fs_recovery(): error EINTR [ 457.844684][T12774] bcachefs (loop2): bch2_fs_start(): error starting filesystem EINTR [ 457.862520][T12774] bcachefs (loop2): shutting down [ 457.917837][T12849] loop0: detected capacity change from 0 to 32768 [ 457.967590][T12847] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.064668][T12845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.074995][T12774] bcachefs (loop2): shutdown complete [ 458.090011][T12845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.101462][T12847] bcachefs (loop1): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 458.101462][T12847] allowing incompatible features above 0.0: (unknown version) [ 458.111391][T12845] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.124251][T12847] bcachefs (loop1): recovering from clean shutdown, journal seq 10 [ 458.140606][T12847] bcachefs (loop1): Version upgrade required: [ 458.140606][T12847] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 458.140606][T12847] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 458.140606][T12847] 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.214736][T12847] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 458.214755][T12847] 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.214766][T12847] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 458.214778][T12847] error not marked as autofix and not in fsck [ 458.214786][T12847] run fsck, and forward to devs so error can be marked for self-healing [ 458.214796][T12847] inconsistency detected - emergency read only at journal seq 10 [ 458.242124][T12843] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.253363][T12847] bcachefs (loop1): flagging btree extents lost data [ 458.289527][T12847] bcachefs (loop1): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 458.314374][T12849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 458.362853][T12847] bcachefs (loop1): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 458.394300][T12849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 458.442659][T12849] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 458.451548][T12847] bcachefs (loop1): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 458.510865][T12847] bcachefs (loop1): bcachefs (loop1): error validating btree node at btree alloc level 0/0 [ 458.510885][T12847] 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 [ 458.510898][T12847] 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 [ 458.652195][T12774] bcachefs: bch2_fs_get_tree() error: EINTR [ 458.658544][T12845] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.738332][T12847] bcachefs (loop1): btree_node_read_work: rewriting btree node at due to error [ 458.738332][T12847] 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 [ 458.852061][T12847] bcachefs (loop1): scan_for_btree_nodes... [ 458.955020][T12847] bcachefs (loop1): btree node scan found 7 nodes after overwrites [ 458.955942][T12849] bcachefs: bch2_fs_get_tree() error: EINVAL [ 458.975970][T12847] done [ 458.979557][T12847] bcachefs (loop1): check_topology... [ 458.983090][T12847] bcachefs (loop1): btree root extents unreadable, must recover from scan [ 459.025885][T12847] bcachefs (loop1): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 459.076925][T12847] 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 [ 459.158736][ T8540] bcachefs (loop1): bcachefs (loop1): error validating btree node on loop1 at btree extents level 0/0 [ 459.158763][ T8540] 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.158777][ T8540] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 459.158789][ T8540] error not marked as autofix and not in fsck [ 459.158799][ T8540] run fsck, and forward to devs so error can be marked for self-healing [ 459.223391][T12847] bcachefs (loop1): Topology repair: unreadable btree node at [ 459.223409][T12847] 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 [ 459.256747][T12847] bcachefs (loop1): empty interior btree node at btree=extents level=1 [ 459.256765][T12847] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 459.358804][T12847] bcachefs (loop1): empty btree root extents [ 459.394222][T12847] done [ 459.415700][T12847] bcachefs (loop1): accounting_read... done [ 459.446206][T12847] bcachefs (loop1): alloc_read... done [ 459.466459][T12847] bcachefs (loop1): snapshots_read... done [ 459.477561][T12885] loop4: detected capacity change from 0 to 32768 [ 459.483034][T12847] bcachefs (loop1): check_allocations... [ 459.497986][T12847] bcachefs (loop1): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 459.498006][T12847] 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 [ 459.636016][T12847] bcachefs (loop1): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 459.636035][T12847] 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 [ 459.647969][T12885] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 459.648089][T12885] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 459.648177][T12885] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 459.841447][T12883] loop2: detected capacity change from 0 to 32768 [ 459.850118][T12847] bcachefs (loop1): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 459.850137][T12847] 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 [ 459.920555][T12881] loop3: detected capacity change from 0 to 32768 [ 459.985201][T12847] bcachefs (loop1): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 459.985220][T12847] 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 [ 460.096080][T12883] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.096206][T12883] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.096298][T12883] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.110008][T12885] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.170401][T12881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.170529][T12881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.170620][T12881] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.232007][T12889] loop0: detected capacity change from 0 to 32768 [ 460.367942][T12847] bcachefs (loop1): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 460.367961][T12847] 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 [ 460.455115][T12889] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 460.455242][T12889] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 460.455331][T12889] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 460.608677][T12881] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.618518][T12847] bcachefs (loop1): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing 2025/05/11 08:23:41 executed programs: 610 [ 460.657160][T12847] bcachefs (loop1): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 460.721445][T12883] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.764483][T12847] bcachefs (loop1): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 460.823434][T12847] bcachefs (loop1): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 460.862195][T12847] bcachefs (loop1): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 460.911877][T12889] bcachefs: bch2_fs_get_tree() error: EINVAL [ 460.961410][T12847] bcachefs (loop1): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.017302][T12847] bcachefs (loop1): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.062705][T12847] bcachefs (loop1): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.123093][T12847] bcachefs (loop1): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.171933][T12847] bcachefs (loop1): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.205368][T12847] bcachefs (loop1): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.269458][T12847] bcachefs (loop1): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.318503][T12847] bcachefs (loop1): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.352702][T12847] bcachefs (loop1): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 461.384930][T12847] bcachefs (loop1): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 461.415587][T12847] bcachefs (loop1): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 461.457495][T12847] bcachefs (loop1): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 461.488382][T12847] bcachefs (loop1): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 461.530753][T12847] bcachefs (loop1): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 461.572621][T12847] bcachefs (loop1): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 461.595311][T12847] bcachefs (loop1): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 461.595329][T12847] Ratelimiting new instances of previous error [ 461.640089][T12917] loop4: detected capacity change from 0 to 32768 [ 461.674191][T12847] bcachefs (loop1): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 461.674209][T12847] Ratelimiting new instances of previous error [ 461.769946][T12919] loop0: detected capacity change from 0 to 32768 [ 461.794470][T12847] done [ 461.797865][T12847] bcachefs (loop1): going read-write [ 461.809743][T12921] loop3: detected capacity change from 0 to 32768 [ 461.820687][T12847] bcachefs (loop1): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 461.845975][T12847] bcachefs (loop1): flushing journal and stopping allocators, journal seq 10 [ 461.866162][T12917] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 461.902596][T12917] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 461.913345][T12847] bcachefs (loop1): flushing journal and stopping allocators complete, journal seq 10 [ 461.922707][T12917] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 461.964612][T12847] bcachefs (loop1): unclean shutdown complete, journal seq 10 [ 462.016188][T12847] bcachefs (loop1): bch2_fs_recovery(): error EINTR [ 462.022994][T12847] bcachefs (loop1): bch2_fs_start(): error starting filesystem EINTR [ 462.031089][T12847] bcachefs (loop1): shutting down [ 462.113670][T12919] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.148917][T12921] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.163590][T12923] loop2: detected capacity change from 0 to 32768 [ 462.203902][T12847] bcachefs (loop1): shutdown complete [ 462.259512][T12919] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=metadata_checksum=none,data_checksum=none,compression=lz4,nojournal_transaction_names [ 462.259512][T12919] allowing incompatible features above 0.0: (unknown version) [ 462.282758][T12921] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.343453][T12921] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.386906][T12919] bcachefs (loop0): recovering from clean shutdown, journal seq 10 [ 462.421170][T12923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 462.432802][T12919] bcachefs (loop0): Version upgrade required: [ 462.432802][T12919] Version upgrade from 0.24: unwritten_extents to 1.7: mi_btree_bitmap incomplete [ 462.432802][T12919] Doing incompatible version upgrade from 0.24: unwritten_extents to 1.25: extent_flags [ 462.432802][T12919] 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 [ 462.519034][T12923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 462.545024][T12919] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 462.545043][T12919] 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 [ 462.545055][T12919] node offset 8/16 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 16), shutting down [ 462.545065][T12919] error not marked as autofix and not in fsck [ 462.545073][T12919] run fsck, and forward to devs so error can be marked for self-healing [ 462.545082][T12919] inconsistency detected - emergency read only at journal seq 10 [ 462.548747][T12917] bcachefs: bch2_fs_get_tree() error: EINVAL [ 462.582572][T12923] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 462.602045][T12919] bcachefs (loop0): flagging btree extents lost data [ 462.637758][T12919] bcachefs (loop0): running explicit recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 462.702910][T12919] bcachefs (loop0): running explicit recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 462.708947][T12847] bcachefs: bch2_fs_get_tree() error: EINTR [ 462.778086][T12919] bcachefs (loop0): error reading btree root btree=extents level=0: btree_node_read_error, fixing [ 462.836808][T12919] bcachefs (loop0): bcachefs (loop0): error validating btree node at btree alloc level 0/0 [ 462.836826][T12919] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq ac62141f8dc7e261 written 24 min_key POS_MIN durability: 1 ptr: 0:26:0 gen 0 [ 462.836839][T12919] 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 [ 462.912804][T12921] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.063221][T12919] bcachefs (loop0): btree_node_read_work: rewriting btree node at due to error [ 463.063221][T12919] 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 [ 463.137740][T12923] bcachefs: bch2_fs_get_tree() error: EINVAL [ 463.193648][T12919] bcachefs (loop0): scan_for_btree_nodes... [ 463.385046][T12919] bcachefs (loop0): btree node scan found 7 nodes after overwrites [ 463.432725][T12919] done [ 463.435549][T12919] bcachefs (loop0): check_topology... [ 463.446442][T12919] bcachefs (loop0): btree root extents unreadable, must recover from scan [ 463.481497][T12919] bcachefs (loop0): bch2_get_scanned_nodes(): recovery btree=extents level=0 POS_MIN - SPOS_MAX [ 463.502672][T12919] 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 [ 463.567985][ T8540] bcachefs (loop0): bcachefs (loop0): error validating btree node on loop0 at btree extents level 0/0 [ 463.568011][ T8540] 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 [ 463.568025][ T8540] node offset 8/256 bset u64s 65329: bset past end of btree node (offset 8 len 1024 but written 256), shutting down [ 463.568037][ T8540] error not marked as autofix and not in fsck [ 463.568047][ T8540] run fsck, and forward to devs so error can be marked for self-healing [ 463.628102][T12919] bcachefs (loop0): Topology repair: unreadable btree node at [ 463.628120][T12919] 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 [ 463.685239][T12919] bcachefs (loop0): empty interior btree node at btree=extents level=1 [ 463.685258][T12919] u64s 5 type btree_ptr SPOS_MAX len 0 ver 0, fixing [ 463.702103][T12919] bcachefs (loop0): empty btree root extents [ 463.708436][T12919] done [ 463.711297][T12919] bcachefs (loop0): accounting_read... done [ 463.720848][T12919] bcachefs (loop0): alloc_read... done [ 463.726557][T12919] bcachefs (loop0): snapshots_read... done [ 463.732582][T12919] bcachefs (loop0): check_allocations... [ 463.747238][T12919] bcachefs (loop0): bucket 0:26 data type btree ptr gen 0 missing in alloc btree [ 463.747257][T12919] 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 [ 463.795428][T12919] bcachefs (loop0): bucket 0:38 data type btree ptr gen 0 missing in alloc btree [ 463.795448][T12919] 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 [ 463.852011][T12954] loop4: detected capacity change from 0 to 32768 [ 463.870393][T12919] bcachefs (loop0): bucket 0:41 data type btree ptr gen 0 missing in alloc btree [ 463.870411][T12919] 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 [ 463.983888][T12919] bcachefs (loop0): bucket 0:35 data type btree ptr gen 0 missing in alloc btree [ 463.983908][T12919] 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 [ 464.088668][T12961] loop2: detected capacity change from 0 to 32768 [ 464.101913][T12954] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.130320][T12957] loop1: detected capacity change from 0 to 32768 [ 464.149379][T12954] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.158845][T12919] bcachefs (loop0): bucket 0:29 data type btree ptr gen 0 missing in alloc btree [ 464.158862][T12919] 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 [ 464.164346][T12954] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.210051][T12919] bcachefs (loop0): bucket 0:1 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.235038][T12919] bcachefs (loop0): bucket 0:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.254965][T12919] bcachefs (loop0): bucket 0:2 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.266862][T12919] bcachefs (loop0): bucket 0:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.283196][T12919] bcachefs (loop0): bucket 0:3 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.293552][T12919] bcachefs (loop0): bucket 0:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.306101][T12919] bcachefs (loop0): bucket 0:4 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.316301][T12919] bcachefs (loop0): bucket 0:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.333629][T12919] bcachefs (loop0): bucket 0:5 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.357850][T12957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.357961][T12957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.358050][T12957] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.399305][T12959] loop3: detected capacity change from 0 to 32768 [ 464.420441][T12961] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.472926][T12919] bcachefs (loop0): bucket 0:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.517269][T12961] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.517364][T12961] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.596658][T12959] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): Using encoding defined by superblock: utf8-12.1.0 [ 464.596792][T12959] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): filesystem UUID already open [ 464.596872][T12959] bcachefs (da441363-bb6a-4ab9-999b-c1f40db4fee2): shutdown complete [ 464.703111][T12919] bcachefs (loop0): bucket 0:6 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.740276][T12919] bcachefs (loop0): bucket 0:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.776633][T12957] bcachefs: bch2_fs_get_tree() error: EINVAL [ 464.829837][T12919] bcachefs (loop0): bucket 0:7 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.855843][T12919] bcachefs (loop0): bucket 0:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 256, fixing [ 464.873903][T12954] bcachefs: bch2_fs_get_tree() error: EINVAL [ 464.946960][T12919] bcachefs (loop0): bucket 0:8 gen 0 has wrong data_type: got free, should be sb, fixing [ 464.993001][T12961] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.032122][T12919] bcachefs (loop0): bucket 0:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing [ 465.070783][T12919] bcachefs (loop0): bucket 0:9 gen 0 has wrong data_type: got free, should be journal, fixing [ 465.100845][T12919] bcachefs (loop0): bucket 0:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 465.134296][T12919] bcachefs (loop0): bucket 0:10 gen 0 has wrong data_type: got free, should be journal, fixing [ 465.168779][T12919] bcachefs (loop0): bucket 0:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 465.182866][T12959] bcachefs: bch2_fs_get_tree() error: EINVAL [ 465.242908][T12919] bcachefs (loop0): bucket 0:11 gen 0 has wrong data_type: got free, should be journal, fixing [ 465.242926][T12919] Ratelimiting new instances of previous error [ 465.340910][T12919] bcachefs (loop0): bucket 0:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 256, fixing [ 465.340928][T12919] Ratelimiting new instances of previous error [ 465.436560][T12919] done [ 465.439975][T12919] bcachefs (loop0): going read-write [ 465.490357][T12919] bcachefs (loop0): bch2_journal_reclaim_start(): error creating journal reclaim thread EINTR [ 465.512921][T12919] bcachefs (loop0): flushing journal and stopping allocators, journal seq 10 [ 465.521789][T12919] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 10 [ 465.573155][T12919] bcachefs (loop0): unclean shutdown complete, journal seq 10 [ 465.613722][T12919] bcachefs (loop0): bch2_fs_recovery(): error EINTR [ 465.620366][T12919] bcachefs (loop0): bch2_fs_start(): error starting filesystem EINTR [ 465.652403][T12919] bcachefs (loop0): shutting down [ 465.738573][T12919] bcachefs (loop0): shutdown complete [ 466.022242][T12991] loop4: detected capacity change from 0 to 32768 [ 466.081722][T12993] loop1: detected capacity change from 0 to 32768 [ 466.177726][T12996] loop2: detected capacity change from 0 to 32768 [ 466.208837][T12998] loop3: detected capacity change from 0 to 32768