[ 468.399801][ T8031] loop0: detected capacity change from 0 to 32768 [ 468.456232][ T8031] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,background_compression=gzip,wide_macs,grpquota,journal_flush_disabled,nojournal_transaction_names [ 468.456259][ T8031] allowing incompatible features above 0.0: (unknown version) [ 468.456278][ T8031] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 468.500514][ T8031] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 468.509125][ T8031] bcachefs (loop0): invalid bkey in superblock btree=extents level=0: u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e0410879b0c2f04 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 468.509148][ T8031] invalid key type for btree extents (btree_ptr_v2), deleting [ 468.536786][ T8031] bcachefs (loop0): recovering from clean shutdown, journal seq 13 [ 468.545165][ T8031] bcachefs (loop0): Version upgrade required: [ 468.545165][ T8031] Version upgrade from 0.19: freespace to 1.7: mi_btree_bitmap incomplete [ 468.545165][ T8031] Doing incompatible version upgrade from 0.19: freespace to 1.28: inode_has_case_insensitive [ 468.545165][ T8031] 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,check_rebalance_work,set_fs_needs_rebalance [ 468.627964][ T8031] bcachefs (loop0): btree node read error at btree inodes level 0/0 [ 468.627983][ T8031] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2a20405ac3f40602 written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0 [ 468.627998][ T8031] loop0 node offset 16/24 bset u64s 110: checksum error, type chacha20_poly1305_128: got 23944b2c96cbcf4e757b8b6e4923afa7 should be d1e256903dc89dd6436b0db8b45d2093 [ 468.628013][ T8031] flagging btree inodes lost data [ 468.628023][ T8031] running recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 468.628035][ T8031] running recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 468.628047][ T8031] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 468.628059][ T8031] ret fsck_errors_not_fixed [ 468.706528][ T8031] bcachefs (loop0): error reading btree root btree=inodes level=0: btree_node_read_error, fixing [ 468.724540][ T8031] bcachefs (loop0): check_topology... [ 468.724605][ T8031] bcachefs (loop0): btree root inodes unreadable, must recover from scan [ 468.738776][ T8031] bcachefs (loop0): no nodes found for btree inodes, continuing [ 468.747841][ T8031] done [ 468.750622][ T8031] bcachefs (loop0): accounting_read... done [ 468.757945][ T8031] bcachefs (loop0): alloc_read... done [ 468.764710][ T8031] bcachefs (loop0): snapshots_read... done [ 468.771548][ T8031] bcachefs (loop0): check_allocations... [ 468.778327][ T8031] bcachefs (loop0): bucket 0:27 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 468.795094][ T8031] bcachefs (loop0): bucket 0:27 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 468.808112][ T8031] bcachefs (loop0): bucket 0:34 gen 0 has wrong data_type: got user, should be need_discard, fixing [ 468.819514][ T8031] bcachefs (loop0): bucket 0:34 gen 0 data type need_discard has wrong dirty_sectors: got 16, should be 0, fixing [ 468.832029][ T8031] bcachefs (loop0): bucket 0:38 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 468.843224][ T8031] bcachefs (loop0): bucket 0:38 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 468.856760][ T8031] done [ 468.861183][ T8031] bcachefs (loop0): going read-write [ 468.882551][ T8031] bcachefs (loop0): journal_replay... done [ 468.904489][ T8031] bcachefs (loop0): check_alloc_info... [ 468.905744][ T8031] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 468.905756][ T8031] u64s 13 type alloc_v4 0:27:0 len 0 ver 0: [ 468.905762][ T8031] gen 0 oldest_gen 0 data_type need_discard [ 468.905768][ T8031] journal_seq_nonempty 4 [ 468.905773][ T8031] journal_seq_empty 0 [ 468.905778][ T8031] need_discard 1 [ 468.905783][ T8031] need_inc_gen 1 [ 468.905788][ T8031] dirty_sectors 0 [ 468.905793][ T8031] stripe_sectors 0 [ 468.905798][ T8031] cached_sectors 0 [ 468.905802][ T8031] stripe 0 [ 468.905808][ T8031] stripe_redundancy 0 [ 468.905812][ T8031] io_time[READ] 1 [ 468.905817][ T8031] io_time[WRITE] 256 [ 468.905822][ T8031] fragmentation 0 [ 468.905827][ T8031] bp_start 8 [ 468.905832][ T8031] , fixing [ 469.001252][ T8031] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 469.001271][ T8031] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 469.001281][ T8031] gen 0 oldest_gen 0 data_type need_discard [ 469.001290][ T8031] journal_seq_nonempty 5 [ 469.001297][ T8031] journal_seq_empty 134217728 [ 469.001306][ T8031] need_discard 1 [ 469.001314][ T8031] need_inc_gen 1 [ 469.001322][ T8031] dirty_sectors 0 [ 469.001342][ T8031] stripe_sectors 0 [ 469.001351][ T8031] cached_sectors 0 [ 469.001359][ T8031] stripe 0 [ 469.001368][ T8031] stripe_redundancy 0 [ 469.001376][ T8031] io_time[READ] 1 [ 469.001384][ T8031] io_time[WRITE] 512 [ 469.001392][ T8031] fragmentation 0 [ 469.001400][ T8031] bp_start 8 [ 469.001409][ T8031] , fixing [ 469.088191][ T8031] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 469.088208][ T8031] u64s 13 type alloc_v4 0:38:0 len 0 ver 0: [ 469.088216][ T8031] gen 0 oldest_gen 0 data_type need_discard [ 469.088225][ T8031] journal_seq_nonempty 2 [ 469.088232][ T8031] journal_seq_empty 0 [ 469.088239][ T8031] need_discard 1 [ 469.088246][ T8031] need_inc_gen 1 [ 469.088253][ T8031] dirty_sectors 0 [ 469.088260][ T8031] stripe_sectors 0 [ 469.088267][ T8031] cached_sectors 0 [ 469.088275][ T8031] stripe 0 [ 469.088281][ T8031] stripe_redundancy 0 [ 469.088288][ T8031] io_time[READ] 1 [ 469.088296][ T8031] io_time[WRITE] 1 [ 469.088304][ T8031] fragmentation 0 [ 469.088312][ T8031] bp_start 8 [ 469.088328][ T8031] , fixing [ 469.174921][ T8031] done [ 469.178383][ T8031] bcachefs (loop0): check_lrus... [ 469.179266][ T8031] bcachefs (loop0): incorrect lru entry: lru fragmentation time 134217728 [ 469.179277][ T8031] u64s 5 type set 18446462598867058688:34:0 len 0 ver 0 [ 469.179284][ T8031] for u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 469.179289][ T8031] gen 0 oldest_gen 0 data_type need_discard [ 469.179295][ T8031] journal_seq_nonempty 5 [ 469.179300][ T8031] journal_seq_empty 134217728 [ 469.179320][ T8031] need_discard 1 [ 469.179325][ T8031] need_inc_gen 1 [ 469.179330][ T8031] dirty_sectors 0 [ 469.179336][ T8031] stripe_sectors 0 [ 469.179341][ T8031] cached_sectors 0 [ 469.179345][ T8031] stripe 0 [ 469.179351][ T8031] stripe_redundancy 0 [ 469.179356][ T8031] io_time[READ] 1 [ 469.179361][ T8031] io_time[WRITE] 512 [ 469.179366][ T8031] fragmentation 0 [ 469.179371][ T8031] bp_start 8 [ 469.179376][ T8031] , fixing [ 469.277492][ T8031] done [ 469.280880][ T8031] bcachefs (loop0): check_btree_backpointers... done [ 469.288351][ T8031] bcachefs (loop0): check_backpointers_to_extents... done [ 469.297091][ T8031] bcachefs (loop0): check_extents_to_backpointers... [ 469.298078][ T8031] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 469.313431][ T8031] done [ 469.316815][ T8031] bcachefs (loop0): check_alloc_to_lru_refs... done [ 469.323966][ T8031] bcachefs (loop0): bucket_gens_init... done [ 469.334617][ T8031] bcachefs (loop0): check_snapshot_trees... done [ 469.341046][ T8031] bcachefs (loop0): check_snapshots... [ 469.341539][ T8031] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 469.341550][ T8031] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 469.373319][ T8031] done [ 469.377167][ T8031] bcachefs (loop0): check_subvols... [ 469.378102][ T8031] bcachefs (loop0): subvolume 1 points to missing subvolume root 4096:4294967295, fixing [ 469.397025][ T8031] done [ 469.400623][ T8031] bcachefs (loop0): check_subvol_children... done [ 469.407117][ T8031] bcachefs (loop0): delete_dead_snapshots... done [ 469.413798][ T8031] bcachefs (loop0): check_inodes... done [ 469.419921][ T8031] bcachefs (loop0): check_extents... done [ 469.425680][ T8031] bcachefs (loop0): check_indirect_extents... done [ 469.432725][ T8031] bcachefs (loop0): check_dirents... [ 469.433750][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 1262413624423868031 [ 469.433768][ T8031] u64s 8 type dirent 4096:1859603997870691834:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 469.461180][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 9009518807565935774 [ 469.461194][ T8031] u64s 7 type dirent 4096:3784119180373593407:U32_MAX len 0 ver 0: file3 -> 1073741825 type reg, fixing [ 469.482500][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 6549849504578895220 [ 469.482512][ T8031] u64s 7 type dirent 4096:5682031293254759865:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 469.503753][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 7874278186992867232 [ 469.503772][ T8031] u64s 7 type dirent 4096:6229884513039707068:U32_MAX len 0 ver 0: file2 -> 1073741825 type reg, fixing [ 469.525339][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.525356][ T8031] u64s 7 type dirent 4096:6549849504578895220:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 469.543333][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 6995996180562066549 [ 469.543346][ T8031] u64s 7 type dirent 4096:7012347908543992434:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg, fixing [ 469.564979][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.564996][ T8031] u64s 7 type dirent 4096:7874278186992867232:U32_MAX len 0 ver 0: file2 -> 1073741825 type reg, fixing [ 469.583215][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 7061059644289958238 [ 469.583228][ T8031] u64s 8 type dirent 4096:8117119959317756843:U32_MAX len 0 ver 0: file.cold -> 1073741826 type reg, fixing [ 469.604730][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.604742][ T8031] u64s 7 type dirent 4096:9009518807565935774:U32_MAX len 0 ver 0: file3 -> 1073741825 type reg, fixing [ 469.623296][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 7425670384987108357 [ 469.623309][ T8031] u64s 7 type dirent 4098:2566587684781802428:U32_MAX len 0 ver 0: file0 -> 4099 type reg, fixing [ 469.644162][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 3561910465167980769 [ 469.644180][ T8031] u64s 7 type dirent 4098:4600437421902197670:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing [ 469.665508][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.665526][ T8031] u64s 7 type dirent 4098:7425670384987108357:U32_MAX len 0 ver 0: file0 -> 4099 type reg, fixing [ 469.683480][ T8031] bcachefs (loop0): check_dirents requires second pass [ 469.690745][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.690756][ T8031] u64s 8 type dirent 4096:1262413624423868031:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 469.709033][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.709045][ T8031] u64s 7 type dirent 4096:6995996180562066549:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg, fixing [ 469.727368][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.727384][ T8031] u64s 8 type dirent 4096:7061059644289958238:U32_MAX len 0 ver 0: file.cold -> 1073741826 type reg, fixing [ 469.746058][ T8031] bcachefs (loop0): dirent points to missing inode: [ 469.746070][ T8031] u64s 7 type dirent 4098:3561910465167980769:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing [ 469.764206][ T8031] done [ 469.768846][ T8031] bcachefs (loop0): check_xattrs... [ 469.769960][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 5003878671291668063 [ 469.769973][ T8031] u64s 7 type xattr 1073741824:945502502804528484:U32_MAX len 0 ver 0: user.xattr2:xattr2, fixing [ 469.796407][ T8031] bcachefs (loop0): hash table key at wrong offset: should be at 4352145916565789089 [ 469.796423][ T8031] u64s 7 type xattr 1073741824:3442546108204556527:U32_MAX len 0 ver 0: user.xattr1:xattr1, fixing [ 469.817080][ T8031] done [ 469.820559][ T8031] bcachefs (loop0): check_root... done [ 469.826175][ T8031] bcachefs (loop0): check_unreachable_inodes... [ 469.826655][ T8031] bcachefs (loop0): unreachable inode: [ 469.826665][ T8031] inum: 4098:4294967295 [ 469.826671][ T8031] mode=40600 [ 469.826676][ T8031] flags=(4300000) [ 469.826680][ T8031] journal_seq=26 [ 469.826686][ T8031] hash_seed=e72ae1987b1e9896 [ 469.826691][ T8031] hash_type=siphash [ 469.826695][ T8031] bi_size=0 [ 469.826700][ T8031] bi_sectors=0 [ 469.826705][ T8031] bi_version=0 [ 469.826709][ T8031] bi_atime=36272136556218148 [ 469.826715][ T8031] bi_ctime=36272136556218148 [ 469.826720][ T8031] bi_mtime=36272136556218148 [ 469.826725][ T8031] bi_otime=36272136556218148 [ 469.826730][ T8031] bi_uid=0 [ 469.826735][ T8031] bi_gid=0 [ 469.826739][ T8031] bi_nlink=0 [ 469.826744][ T8031] bi_generation=0 [ 469.826749][ T8031] bi_dev=0 [ 469.826753][ T8031] bi_data_checksum=0 [ 469.826758][ T8031] bi_compression=0 [ 469.826763][ T8031] bi_project=0 [ 469.826768][ T8031] bi_background_compression=0 [ 469.826772][ T8031] bi_data_replicas=0 [ 469.826777][ T8031] bi_promote_target=0 [ 469.826782][ T8031] bi_foreground_target=0 [ 469.826787][ T8031] bi_background_target=0 [ 469.826792][ T8031] bi_erasure_code=0 [ 469.826797][ T8031] bi_fields_set=0 [ 469.826802][ T8031] bi_dir=0 [ 469.826806][ T8031] bi_dir_offset=0 [ 469.826811][ T8031] bi_subvol=0 [ 469.826816][ T8031] bi_parent_subvol=0 [ 469.826821][ T8031] bi_nocow=0 [ 469.826825][ T8031] bi_depth=0 [ 469.826830][ T8031] bi_inodes_32bit=0 [ 469.826835][ T8031] bi_casefold=0, fixing [ 469.988751][ T8031] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 469.998382][ T8031] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 470.008357][ T8031] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 470.018427][ T8031] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 470.032052][ T8031] bcachefs (loop0): unreachable inode: [ 470.032067][ T8031] inum: 1073741824:4294967295 [ 470.032075][ T8031] mode=100600 [ 470.032082][ T8031] flags=(4300000) [ 470.032090][ T8031] journal_seq=27 [ 470.032097][ T8031] hash_seed=a1a3897a0c6d79e0 [ 470.032104][ T8031] hash_type=siphash [ 470.032111][ T8031] bi_size=0 [ 470.032117][ T8031] bi_sectors=0 [ 470.032123][ T8031] bi_version=0 [ 470.032130][ T8031] bi_atime=36272136706218150 [ 470.032137][ T8031] bi_ctime=36272136706218150 [ 470.032155][ T8031] bi_mtime=36272136706218150 [ 470.032163][ T8031] bi_otime=36272136706218150 [ 470.032170][ T8031] bi_uid=0 [ 470.032176][ T8031] bi_gid=0 [ 470.032183][ T8031] bi_nlink=0 [ 470.032191][ T8031] bi_generation=0 [ 470.032198][ T8031] bi_dev=0 [ 470.032205][ T8031] bi_data_checksum=0 [ 470.032212][ T8031] bi_compression=0 [ 470.032219][ T8031] bi_project=0 [ 470.032226][ T8031] bi_background_compression=0 [ 470.032234][ T8031] bi_data_replicas=0 [ 470.032241][ T8031] bi_promote_target=0 [ 470.032248][ T8031] bi_foreground_target=0 [ 470.032255][ T8031] bi_background_target=0 [ 470.032262][ T8031] bi_erasure_code=0 [ 470.032269][ T8031] bi_fields_set=0 [ 470.032276][ T8031] bi_dir=0 [ 470.032282][ T8031] bi_dir_offset=0 [ 470.032288][ T8031] bi_subvol=0 [ 470.032295][ T8031] bi_parent_subvol=0 [ 470.032303][ T8031] bi_nocow=0 [ 470.032310][ T8031] bi_depth=0 [ 470.032317][ T8031] bi_inodes_32bit=0 [ 470.032324][ T8031] bi_casefold=0, fixing [ 470.187787][ T8031] done [ 470.191404][ T8031] bcachefs (loop0): check_subvolume_structure... done [ 470.198296][ T8031] bcachefs (loop0): check_directory_structure... done [ 470.207874][ T8031] bcachefs (loop0): check_nlinks... done [ 470.215032][ T8031] bcachefs (loop0): check_rebalance_work... done [ 470.221730][ T8031] bcachefs (loop0): resume_logged_ops... done [ 470.227954][ T8031] bcachefs (loop0): delete_dead_inodes... done [ 470.234544][ T8031] bcachefs (loop0): set_fs_needs_rebalance... done [ 470.252188][ T8031] bcachefs (loop0): reading quotas [ 470.258502][ T8031] bcachefs (loop0): quotas done [ 470.265655][ T8031] bcachefs (loop0): done starting filesystem [ 470.282848][ T6523] bcachefs (loop0): shutting down [ 470.288032][ T6523] bcachefs (loop0): going read-only [ 470.293249][ T6523] bcachefs (loop0): finished waiting for writes to stop [ 470.307456][ T6523] bcachefs (loop0): flushing journal and stopping allocators, journal seq 33 [ 470.316385][ T6523] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 33 [ 470.341582][ T6523] bcachefs (loop0): clean shutdown complete, journal seq 34 [ 470.350198][ T6523] bcachefs (loop0): done going read-only, filesystem not clean [ 470.370122][ T6523] bcachefs (loop0): shutdown complete [ 471.538543][ T8043] loop0: detected capacity change from 0 to 32768 [ 471.580037][ T8043] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,background_compression=gzip,wide_macs,grpquota,journal_flush_disabled,nojournal_transaction_names [ 471.580064][ T8043] allowing incompatible features above 0.0: (unknown version) [ 471.580084][ T8043] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 471.626329][ T8043] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 471.634938][ T8043] bcachefs (loop0): invalid bkey in superblock btree=extents level=0: u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e0410879b0c2f04 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 471.634960][ T8043] invalid key type for btree extents (btree_ptr_v2), deleting [ 471.663089][ T8043] bcachefs (loop0): recovering from clean shutdown, journal seq 13 [ 471.671377][ T8043] bcachefs (loop0): Version upgrade required: [ 471.671377][ T8043] Version upgrade from 0.19: freespace to 1.7: mi_btree_bitmap incomplete [ 471.671377][ T8043] Doing incompatible version upgrade from 0.19: freespace to 1.28: inode_has_case_insensitive [ 471.671377][ T8043] 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,check_rebalance_work,set_fs_needs_rebalance [ 471.752584][ T8043] bcachefs (loop0): btree node read error at btree inodes level 0/0 [ 471.752605][ T8043] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2a20405ac3f40602 written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0 [ 471.752621][ T8043] loop0 node offset 16/24 bset u64s 110: checksum error, type chacha20_poly1305_128: got 23944b2c96cbcf4e757b8b6e4923afa7 should be d1e256903dc89dd6436b0db8b45d2093 [ 471.752637][ T8043] flagging btree inodes lost data [ 471.752647][ T8043] running recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 471.752659][ T8043] running recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 471.752671][ T8043] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 471.752683][ T8043] ret fsck_errors_not_fixed [ 471.831360][ T8043] bcachefs (loop0): error reading btree root btree=inodes level=0: btree_node_read_error, fixing [ 471.849166][ T8043] bcachefs (loop0): check_topology... [ 471.849228][ T8043] bcachefs (loop0): btree root inodes unreadable, must recover from scan [ 471.863389][ T8043] bcachefs (loop0): no nodes found for btree inodes, continuing [ 471.872393][ T8043] done [ 471.875167][ T8043] bcachefs (loop0): accounting_read... done [ 471.882122][ T8043] bcachefs (loop0): alloc_read... done [ 471.888967][ T8043] bcachefs (loop0): snapshots_read... done [ 471.895649][ T8043] bcachefs (loop0): check_allocations... [ 471.902525][ T8043] bcachefs (loop0): bucket 0:27 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 471.920336][ T8043] bcachefs (loop0): bucket 0:27 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 471.933121][ T8043] bcachefs (loop0): bucket 0:34 gen 0 has wrong data_type: got user, should be need_discard, fixing [ 471.944182][ T8043] bcachefs (loop0): bucket 0:34 gen 0 data type need_discard has wrong dirty_sectors: got 16, should be 0, fixing [ 471.956856][ T8043] bcachefs (loop0): bucket 0:38 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 471.968207][ T8043] bcachefs (loop0): bucket 0:38 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 471.981569][ T8043] done [ 471.985526][ T8043] bcachefs (loop0): going read-write [ 472.006236][ T8043] bcachefs (loop0): journal_replay... done [ 472.028470][ T8043] bcachefs (loop0): check_alloc_info... [ 472.029643][ T8043] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 472.029654][ T8043] u64s 13 type alloc_v4 0:27:0 len 0 ver 0: [ 472.029660][ T8043] gen 0 oldest_gen 0 data_type need_discard [ 472.029666][ T8043] journal_seq_nonempty 4 [ 472.029671][ T8043] journal_seq_empty 0 [ 472.029676][ T8043] need_discard 1 [ 472.029681][ T8043] need_inc_gen 1 [ 472.029686][ T8043] dirty_sectors 0 [ 472.029691][ T8043] stripe_sectors 0 [ 472.029696][ T8043] cached_sectors 0 [ 472.029701][ T8043] stripe 0 [ 472.029706][ T8043] stripe_redundancy 0 [ 472.029711][ T8043] io_time[READ] 1 [ 472.029716][ T8043] io_time[WRITE] 256 [ 472.029721][ T8043] fragmentation 0 [ 472.029726][ T8043] bp_start 8 [ 472.029731][ T8043] , fixing [ 472.125546][ T8043] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 472.125562][ T8043] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 472.125571][ T8043] gen 0 oldest_gen 0 data_type need_discard [ 472.125579][ T8043] journal_seq_nonempty 5 [ 472.125586][ T8043] journal_seq_empty 134217728 [ 472.125593][ T8043] need_discard 1 [ 472.125600][ T8043] need_inc_gen 1 [ 472.125608][ T8043] dirty_sectors 0 [ 472.125615][ T8043] stripe_sectors 0 [ 472.125623][ T8043] cached_sectors 0 [ 472.125630][ T8043] stripe 0 [ 472.125639][ T8043] stripe_redundancy 0 [ 472.125646][ T8043] io_time[READ] 1 [ 472.125653][ T8043] io_time[WRITE] 512 [ 472.125661][ T8043] fragmentation 0 [ 472.125668][ T8043] bp_start 8 [ 472.125675][ T8043] , fixing [ 472.212092][ T8043] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 472.212105][ T8043] u64s 13 type alloc_v4 0:38:0 len 0 ver 0: [ 472.212111][ T8043] gen 0 oldest_gen 0 data_type need_discard [ 472.212117][ T8043] journal_seq_nonempty 2 [ 472.212122][ T8043] journal_seq_empty 0 [ 472.212126][ T8043] need_discard 1 [ 472.212132][ T8043] need_inc_gen 1 [ 472.212137][ T8043] dirty_sectors 0 [ 472.212142][ T8043] stripe_sectors 0 [ 472.212147][ T8043] cached_sectors 0 [ 472.212152][ T8043] stripe 0 [ 472.212157][ T8043] stripe_redundancy 0 [ 472.212162][ T8043] io_time[READ] 1 [ 472.212167][ T8043] io_time[WRITE] 1 [ 472.212172][ T8043] fragmentation 0 [ 472.212177][ T8043] bp_start 8 [ 472.212182][ T8043] , fixing [ 472.296944][ T8043] done [ 472.300562][ T8043] bcachefs (loop0): check_lrus... [ 472.301457][ T8043] bcachefs (loop0): incorrect lru entry: lru fragmentation time 134217728 [ 472.301468][ T8043] u64s 5 type set 18446462598867058688:34:0 len 0 ver 0 [ 472.301474][ T8043] for u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 472.301479][ T8043] gen 0 oldest_gen 0 data_type need_discard [ 472.301486][ T8043] journal_seq_nonempty 5 [ 472.301491][ T8043] journal_seq_empty 134217728 [ 472.301496][ T8043] need_discard 1 [ 472.301501][ T8043] need_inc_gen 1 [ 472.301506][ T8043] dirty_sectors 0 [ 472.301512][ T8043] stripe_sectors 0 [ 472.301517][ T8043] cached_sectors 0 [ 472.301522][ T8043] stripe 0 [ 472.301527][ T8043] stripe_redundancy 0 [ 472.301532][ T8043] io_time[READ] 1 [ 472.301537][ T8043] io_time[WRITE] 512 [ 472.301542][ T8043] fragmentation 0 [ 472.301547][ T8043] bp_start 8 [ 472.301552][ T8043] , fixing [ 472.399864][ T8043] done [ 472.403241][ T8043] bcachefs (loop0): check_btree_backpointers... done [ 472.410351][ T8043] bcachefs (loop0): check_backpointers_to_extents... done [ 472.419918][ T8043] bcachefs (loop0): check_extents_to_backpointers... [ 472.420716][ T8043] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 472.436140][ T8043] done [ 472.440204][ T8043] bcachefs (loop0): check_alloc_to_lru_refs... done [ 472.447901][ T8043] bcachefs (loop0): bucket_gens_init... done [ 472.459164][ T8043] bcachefs (loop0): check_snapshot_trees... done [ 472.465534][ T8043] bcachefs (loop0): check_snapshots... [ 472.465927][ T8043] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 472.465937][ T8043] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 472.497401][ T8043] done [ 472.501732][ T8043] bcachefs (loop0): check_subvols... [ 472.502262][ T8043] bcachefs (loop0): subvolume 1 points to missing subvolume root 4096:4294967295, fixing [ 472.522007][ T8043] done [ 472.525434][ T8043] bcachefs (loop0): check_subvol_children... done [ 472.532005][ T8043] bcachefs (loop0): delete_dead_snapshots... done [ 472.538516][ T8043] bcachefs (loop0): check_inodes... done [ 472.544311][ T8043] bcachefs (loop0): check_extents... done [ 472.550143][ T8043] bcachefs (loop0): check_indirect_extents... done [ 472.556683][ T8043] bcachefs (loop0): check_dirents... [ 472.557117][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 3138935024861063545 [ 472.557128][ T8043] u64s 8 type dirent 4096:1859603997870691834:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 472.584546][ T8043] bcachefs (loop0): dirent points to missing inode: [ 472.584558][ T8043] u64s 8 type dirent 4096:3138935024861063545:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 472.602844][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 5741248204032947454 [ 472.602857][ T8043] u64s 7 type dirent 4096:3784119180373593407:U32_MAX len 0 ver 0: file3 -> 1073741825 type reg, fixing [ 472.626007][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 3827755448815724398 [ 472.626019][ T8043] u64s 7 type dirent 4096:5682031293254759865:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 472.646638][ T8043] bcachefs (loop0): dirent points to missing inode: [ 472.646649][ T8043] u64s 7 type dirent 4096:5741248204032947454:U32_MAX len 0 ver 0: file3 -> 1073741825 type reg, fixing [ 472.665255][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 1467813184876265428 [ 472.665269][ T8043] u64s 7 type dirent 4096:6229884513039707068:U32_MAX len 0 ver 0: file2 -> 1073741825 type reg, fixing [ 472.686541][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 4495388525530560641 [ 472.686554][ T8043] u64s 7 type dirent 4096:7012347908543992434:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg, fixing [ 472.707860][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 8846802749702518232 [ 472.707873][ T8043] u64s 8 type dirent 4096:8117119959317756843:U32_MAX len 0 ver 0: file.cold -> 1073741826 type reg, fixing [ 472.729607][ T8043] bcachefs (loop0): dirent points to missing inode: [ 472.729624][ T8043] u64s 8 type dirent 4096:8846802749702518232:U32_MAX len 0 ver 0: file.cold -> 1073741826 type reg, fixing [ 472.748200][ T8043] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 0, should be 1, fixing [ 472.759192][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 3558317698549229521 [ 472.759212][ T8043] u64s 7 type dirent 4098:2566587684781802428:U32_MAX len 0 ver 0: file0 -> 4099 type reg, fixing [ 472.779983][ T8043] bcachefs (loop0): dirent points to missing inode: [ 472.779995][ T8043] u64s 7 type dirent 4098:3558317698549229521:U32_MAX len 0 ver 0: file0 -> 4099 type reg, fixing [ 472.798256][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 941460098662388984 [ 472.798276][ T8043] u64s 7 type dirent 4098:4600437421902197670:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing [ 472.819437][ T8043] bcachefs (loop0): check_dirents requires second pass [ 472.826500][ T8043] bcachefs (loop0): dirent points to missing inode: [ 472.826511][ T8043] u64s 7 type dirent 4096:1467813184876265428:U32_MAX len 0 ver 0: file2 -> 1073741825 type reg, fixing [ 472.845202][ T8043] bcachefs (loop0): directory with missing backpointer [ 472.845213][ T8043] u64s 7 type dirent 4096:3827755448815724398:U32_MAX len 0 ver 0: file0 -> 4098 type dir [ 472.845221][ T8043] inum: 4098:4294967295 [ 472.845226][ T8043] mode=40600 [ 472.845231][ T8043] flags=(4300000) [ 472.845236][ T8043] journal_seq=26 [ 472.845241][ T8043] hash_seed=dc35414a9db8786b [ 472.845246][ T8043] hash_type=siphash [ 472.845251][ T8043] bi_size=0 [ 472.845256][ T8043] bi_sectors=0 [ 472.845261][ T8043] bi_version=0 [ 472.845266][ T8043] bi_atime=36272139696218190 [ 472.845271][ T8043] bi_ctime=36272139696218190 [ 472.845276][ T8043] bi_mtime=36272139696218190 [ 472.845281][ T8043] bi_otime=36272139696218190 [ 472.845286][ T8043] bi_uid=0 [ 472.845291][ T8043] bi_gid=0 [ 472.845296][ T8043] bi_nlink=0 [ 472.845301][ T8043] bi_generation=0 [ 472.845305][ T8043] bi_dev=0 [ 472.845310][ T8043] bi_data_checksum=0 [ 472.845315][ T8043] bi_compression=0 [ 472.845320][ T8043] bi_project=0 [ 472.845324][ T8043] bi_background_compression=0 [ 472.845330][ T8043] bi_data_replicas=0 [ 472.845335][ T8043] bi_promote_target=0 [ 472.845340][ T8043] bi_foreground_target=0 [ 472.845345][ T8043] bi_background_target=0 [ 472.845350][ T8043] bi_erasure_code=0 [ 472.845355][ T8043] bi_fields_set=0 [ 472.845360][ T8043] bi_dir=0 [ 472.845365][ T8043] bi_dir_offset=0 [ 472.845369][ T8043] bi_subvol=0 [ 472.845374][ T8043] bi_parent_subvol=0 [ 472.845379][ T8043] bi_nocow=0 [ 472.845383][ T8043] bi_depth=0 [ 472.845388][ T8043] bi_inodes_32bit=0 [ 472.845393][ T8043] bi_casefold=0, fixing [ 473.011607][ T8043] bcachefs (loop0): dirent points to missing inode: [ 473.011619][ T8043] u64s 7 type dirent 4096:4495388525530560641:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg, fixing [ 473.030298][ T8043] bcachefs (loop0): fsck counted subdirectories wrong for inum 4096:4294967295: got 2 should be 1 [ 473.041431][ T8043] bcachefs (loop0): dirent points to missing inode: [ 473.041442][ T8043] u64s 7 type dirent 4098:941460098662388984:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing [ 473.059244][ T8043] done [ 473.062674][ T8043] bcachefs (loop0): check_xattrs... [ 473.063437][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 6747487980367928221 [ 473.063448][ T8043] u64s 7 type xattr 1073741824:945502502804528484:U32_MAX len 0 ver 0: user.xattr2:xattr2, fixing [ 473.089564][ T8043] bcachefs (loop0): hash table key at wrong offset: should be at 4530902634745375950 [ 473.089577][ T8043] u64s 7 type xattr 1073741824:3442546108204556527:U32_MAX len 0 ver 0: user.xattr1:xattr1, fixing [ 473.110254][ T8043] done [ 473.113651][ T8043] bcachefs (loop0): check_root... done [ 473.120185][ T8043] bcachefs (loop0): check_unreachable_inodes... [ 473.120801][ T8043] bcachefs (loop0): unreachable inode: [ 473.120811][ T8043] inum: 1073741824:4294967295 [ 473.120816][ T8043] mode=100600 [ 473.120821][ T8043] flags=(4300000) [ 473.120826][ T8043] journal_seq=27 [ 473.120831][ T8043] hash_seed=a35883e1e9ad0c1e [ 473.120836][ T8043] hash_type=siphash [ 473.120841][ T8043] bi_size=0 [ 473.120846][ T8043] bi_sectors=0 [ 473.120851][ T8043] bi_version=0 [ 473.120855][ T8043] bi_atime=36272139996218194 [ 473.120861][ T8043] bi_ctime=36272139996218194 [ 473.120866][ T8043] bi_mtime=36272139996218194 [ 473.120871][ T8043] bi_otime=36272139996218194 [ 473.120876][ T8043] bi_uid=0 [ 473.120880][ T8043] bi_gid=0 [ 473.120885][ T8043] bi_nlink=0 [ 473.120890][ T8043] bi_generation=0 [ 473.120894][ T8043] bi_dev=0 [ 473.120899][ T8043] bi_data_checksum=0 [ 473.120904][ T8043] bi_compression=0 [ 473.120909][ T8043] bi_project=0 [ 473.120914][ T8043] bi_background_compression=0 [ 473.120919][ T8043] bi_data_replicas=0 [ 473.120924][ T8043] bi_promote_target=0 [ 473.120929][ T8043] bi_foreground_target=0 [ 473.120934][ T8043] bi_background_target=0 [ 473.120939][ T8043] bi_erasure_code=0 [ 473.120944][ T8043] bi_fields_set=0 [ 473.120949][ T8043] bi_dir=0 [ 473.120953][ T8043] bi_dir_offset=0 [ 473.120958][ T8043] bi_subvol=0 [ 473.120963][ T8043] bi_parent_subvol=0 [ 473.120968][ T8043] bi_nocow=0 [ 473.120973][ T8043] bi_depth=0 [ 473.120977][ T8043] bi_inodes_32bit=0 [ 473.120982][ T8043] bi_casefold=0, fixing [ 473.284251][ T8043] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 473.293786][ T8043] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 473.304013][ T8043] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 473.313569][ T8043] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 473.327645][ T8043] done [ 473.331306][ T8043] bcachefs (loop0): check_subvolume_structure... done [ 473.338177][ T8043] bcachefs (loop0): check_directory_structure... done [ 473.345600][ T8043] bcachefs (loop0): check_nlinks... done [ 473.351820][ T8043] bcachefs (loop0): check_rebalance_work... done [ 473.358567][ T8043] bcachefs (loop0): resume_logged_ops... done [ 473.364735][ T8043] bcachefs (loop0): delete_dead_inodes... done [ 473.371326][ T8043] bcachefs (loop0): set_fs_needs_rebalance... done [ 473.386975][ T8043] bcachefs (loop0): reading quotas [ 473.393742][ T8043] bcachefs (loop0): quotas done [ 473.410101][ T8043] bcachefs (loop0): done starting filesystem [ 473.437972][ T6523] bcachefs (loop0): shutting down [ 473.443054][ T6523] bcachefs (loop0): going read-only [ 473.470333][ T6523] bcachefs (loop0): finished waiting for writes to stop [ 473.487092][ T6523] bcachefs (loop0): flushing journal and stopping allocators, journal seq 32 [ 473.508316][ T6523] bcachefs (loop0): flushing journal and stopping allocators complete, journal seq 32 [ 473.528940][ T6523] bcachefs (loop0): clean shutdown complete, journal seq 33 Warning: Permanently added '10.128.0.75' (ED25519) to the list of known hosts. [ 473.540504][ T6523] bcachefs (loop0): done going read-only, filesystem not clean [ 473.579504][ T6523] bcachefs (loop0): shutdown complete executing program executing program executing program executing program [ 475.162569][ T8061] loop0: detected capacity change from 0 to 32768 [ 475.244308][ T8061] bcachefs (loop0): starting version 1.7: mi_btree_bitmap opts=errors=continue,metadata_checksum=none,data_checksum=none,background_compression=gzip,wide_macs,grpquota,journal_flush_disabled,nojournal_transaction_names [ 475.244335][ T8061] allowing incompatible features above 0.0: (unknown version) [ 475.244347][ T8061] features: lz4,new_siphash,inline_data,new_extent_overwrite,btree_ptr_v2,new_varint,journal_no_flush,alloc_v2,extents_across_btree_nodes [ 475.288791][ T8061] bcachefs (loop0): Using encoding defined by superblock: utf8-12.1.0 [ 475.297529][ T8061] bcachefs (loop0): invalid bkey in superblock btree=extents level=0: u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 4e0410879b0c2f04 written 16 min_key POS_MIN durability: 1 ptr: 0:27:0 gen 0 [ 475.297552][ T8061] invalid key type for btree extents (btree_ptr_v2), deleting [ 475.325130][ T8061] bcachefs (loop0): recovering from clean shutdown, journal seq 13 [ 475.333595][ T8061] bcachefs (loop0): Version upgrade required: [ 475.333595][ T8061] Version upgrade from 0.19: freespace to 1.7: mi_btree_bitmap incomplete [ 475.333595][ T8061] Doing incompatible version upgrade from 0.19: freespace to 1.28: inode_has_case_insensitive [ 475.333595][ T8061] 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,check_rebalance_work,set_fs_needs_rebalance [ 475.420358][ T8061] bcachefs (loop0): btree node read error at btree inodes level 0/0 [ 475.420377][ T8061] u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2a20405ac3f40602 written 24 min_key POS_MIN durability: 1 ptr: 0:38:0 gen 0 [ 475.420392][ T8061] loop0 node offset 16/24 bset u64s 110: checksum error, type chacha20_poly1305_128: got 23944b2c96cbcf4e757b8b6e4923afa7 should be d1e256903dc89dd6436b0db8b45d2093 [ 475.420408][ T8061] flagging btree inodes lost data [ 475.420418][ T8061] running recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 475.420429][ T8061] running recovery pass check_topology (2), currently at recovery_pass_empty (0) [ 475.420441][ T8061] running recovery pass scan_for_btree_nodes (1), currently at recovery_pass_empty (0) [ 475.420453][ T8061] ret fsck_errors_not_fixed [ 475.502979][ T8061] bcachefs (loop0): error reading btree root btree=inodes level=0: btree_node_read_error, fixing [ 475.528208][ T8061] bcachefs (loop0): check_topology... [ 475.528389][ T8061] bcachefs (loop0): btree root inodes unreadable, must recover from scan [ 475.543411][ T8061] bcachefs (loop0): no nodes found for btree inodes, continuing [ 475.553703][ T8061] done [ 475.556572][ T8061] bcachefs (loop0): accounting_read... done [ 475.564090][ T8061] bcachefs (loop0): alloc_read... done [ 475.571295][ T8061] bcachefs (loop0): snapshots_read... done [ 475.578516][ T8061] bcachefs (loop0): check_allocations... [ 475.588095][ T8061] bcachefs (loop0): bucket 0:27 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 475.605616][ T8061] bcachefs (loop0): bucket 0:27 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 475.618377][ T8061] bcachefs (loop0): bucket 0:34 gen 0 has wrong data_type: got user, should be need_discard, fixing [ 475.630445][ T8061] bcachefs (loop0): bucket 0:34 gen 0 data type need_discard has wrong dirty_sectors: got 16, should be 0, fixing [ 475.643081][ T8061] bcachefs (loop0): bucket 0:38 gen 0 has wrong data_type: got btree, should be need_discard, fixing [ 475.654188][ T8061] bcachefs (loop0): bucket 0:38 gen 0 data type need_discard has wrong dirty_sectors: got 256, should be 0, fixing [ 475.668184][ T8061] done [ 475.672330][ T8061] bcachefs (loop0): going read-write [ 475.693005][ T8061] bcachefs (loop0): journal_replay... done [ 475.715407][ T8061] bcachefs (loop0): check_alloc_info... [ 475.716587][ T8061] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 475.716598][ T8061] u64s 13 type alloc_v4 0:27:0 len 0 ver 0: [ 475.716604][ T8061] gen 0 oldest_gen 0 data_type need_discard [ 475.716610][ T8061] journal_seq_nonempty 4 [ 475.716615][ T8061] journal_seq_empty 0 [ 475.716620][ T8061] need_discard 1 [ 475.716625][ T8061] need_inc_gen 1 [ 475.716630][ T8061] dirty_sectors 0 [ 475.716635][ T8061] stripe_sectors 0 [ 475.716640][ T8061] cached_sectors 0 [ 475.716645][ T8061] stripe 0 [ 475.716651][ T8061] stripe_redundancy 0 [ 475.716656][ T8061] io_time[READ] 1 [ 475.716660][ T8061] io_time[WRITE] 256 [ 475.716666][ T8061] fragmentation 0 [ 475.716670][ T8061] bp_start 8 [ 475.716676][ T8061] , fixing [ 475.810873][ T8061] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 475.810891][ T8061] u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 475.810901][ T8061] gen 0 oldest_gen 0 data_type need_discard [ 475.810911][ T8061] journal_seq_nonempty 5 [ 475.810920][ T8061] journal_seq_empty 134217728 [ 475.810930][ T8061] need_discard 1 [ 475.810939][ T8061] need_inc_gen 1 [ 475.810948][ T8061] dirty_sectors 0 [ 475.810957][ T8061] stripe_sectors 0 [ 475.810966][ T8061] cached_sectors 0 [ 475.810975][ T8061] stripe 0 [ 475.810984][ T8061] stripe_redundancy 0 [ 475.810994][ T8061] io_time[READ] 1 [ 475.811003][ T8061] io_time[WRITE] 512 [ 475.811012][ T8061] fragmentation 0 [ 475.811021][ T8061] bp_start 8 [ 475.811030][ T8061] , fixing [ 475.897796][ T8061] bcachefs (loop0): bucket incorrectly unset in need_discard btree [ 475.897815][ T8061] u64s 13 type alloc_v4 0:38:0 len 0 ver 0: [ 475.897826][ T8061] gen 0 oldest_gen 0 data_type need_discard [ 475.897836][ T8061] journal_seq_nonempty 2 [ 475.897846][ T8061] journal_seq_empty 0 [ 475.897855][ T8061] need_discard 1 [ 475.897864][ T8061] need_inc_gen 1 [ 475.897874][ T8061] dirty_sectors 0 [ 475.897883][ T8061] stripe_sectors 0 [ 475.897892][ T8061] cached_sectors 0 [ 475.897902][ T8061] stripe 0 [ 475.897911][ T8061] stripe_redundancy 0 [ 475.897920][ T8061] io_time[READ] 1 [ 475.897930][ T8061] io_time[WRITE] 1 [ 475.897939][ T8061] fragmentation 0 [ 475.897949][ T8061] bp_start 8 [ 475.897958][ T8061] , fixing [ 475.986334][ T8061] done [ 475.990777][ T8061] bcachefs (loop0): check_lrus... [ 475.991754][ T8061] bcachefs (loop0): incorrect lru entry: lru fragmentation time 134217728 [ 475.991766][ T8061] u64s 5 type set 18446462598867058688:34:0 len 0 ver 0 [ 475.991772][ T8061] for u64s 13 type alloc_v4 0:34:0 len 0 ver 0: [ 475.991778][ T8061] gen 0 oldest_gen 0 data_type need_discard [ 475.991783][ T8061] journal_seq_nonempty 5 [ 475.991788][ T8061] journal_seq_empty 134217728 [ 475.991794][ T8061] need_discard 1 [ 475.991799][ T8061] need_inc_gen 1 [ 475.991804][ T8061] dirty_sectors 0 [ 475.991809][ T8061] stripe_sectors 0 [ 475.991814][ T8061] cached_sectors 0 [ 475.991821][ T8061] stripe 0 [ 475.991829][ T8061] stripe_redundancy 0 [ 475.991838][ T8061] io_time[READ] 1 [ 475.991846][ T8061] io_time[WRITE] 512 [ 475.991855][ T8061] fragmentation 0 [ 475.991864][ T8061] bp_start 8 [ 475.991873][ T8061] , fixing [ 476.090400][ T8061] done [ 476.093741][ T8061] bcachefs (loop0): check_btree_backpointers... done [ 476.100977][ T8061] bcachefs (loop0): check_backpointers_to_extents... done [ 476.109930][ T8061] bcachefs (loop0): check_extents_to_backpointers... [ 476.110870][ T8061] bcachefs (loop0): scanning for missing backpointers in 5/128 buckets [ 476.126307][ T8061] done [ 476.130011][ T8061] bcachefs (loop0): check_alloc_to_lru_refs... done [ 476.137341][ T8061] bcachefs (loop0): bucket_gens_init... done [ 476.149792][ T8061] bcachefs (loop0): check_snapshot_trees... done [ 476.156194][ T8061] bcachefs (loop0): check_snapshots... [ 476.156628][ T8061] bcachefs (loop0): snapshot points to missing/incorrect tree: [ 476.156639][ T8061] u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: subvol parent 0 children 0 0 subvol 1 tree 0, fixing [ 476.188671][ T8061] done [ 476.192831][ T8061] bcachefs (loop0): check_subvols... [ 476.193375][ T8061] bcachefs (loop0): subvolume 1 points to missing subvolume root 4096:4294967295, fixing [ 476.212304][ T8061] done [ 476.216002][ T8061] bcachefs (loop0): check_subvol_children... done [ 476.222661][ T8061] bcachefs (loop0): delete_dead_snapshots... done [ 476.229217][ T8061] bcachefs (loop0): check_inodes... done [ 476.235311][ T8061] bcachefs (loop0): check_extents... done [ 476.241337][ T8061] bcachefs (loop0): check_indirect_extents... done [ 476.248000][ T8061] bcachefs (loop0): check_dirents... [ 476.248520][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 3351921510880055570 [ 476.248532][ T8061] u64s 8 type dirent 4096:1859603997870691834:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 476.275888][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.275901][ T8061] u64s 8 type dirent 4096:3351921510880055570:U32_MAX len 0 ver 0: lost+found -> 4097 type dir, fixing [ 476.294302][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 6275983901312060140 [ 476.294315][ T8061] u64s 7 type dirent 4096:3784119180373593407:U32_MAX len 0 ver 0: file3 -> 1073741825 type reg, fixing [ 476.315971][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 3092086570792031136 [ 476.315985][ T8061] u64s 7 type dirent 4096:5682031293254759865:U32_MAX len 0 ver 0: file0 -> 4098 type dir, fixing [ 476.336558][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 1648860085779262688 [ 476.336571][ T8061] u64s 7 type dirent 4096:6229884513039707068:U32_MAX len 0 ver 0: file2 -> 1073741825 type reg, fixing [ 476.357806][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.357823][ T8061] u64s 7 type dirent 4096:6275983901312060140:U32_MAX len 0 ver 0: file3 -> 1073741825 type reg, fixing [ 476.376568][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 7511010554313076853 [ 476.376581][ T8061] u64s 7 type dirent 4096:7012347908543992434:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg, fixing [ 476.397702][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.397724][ T8061] u64s 7 type dirent 4096:7511010554313076853:U32_MAX len 0 ver 0: file1 -> 1073741824 type reg, fixing [ 476.416873][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 7943131067583193073 [ 476.416891][ T8061] u64s 8 type dirent 4096:8117119959317756843:U32_MAX len 0 ver 0: file.cold -> 1073741826 type reg, fixing [ 476.438393][ T8061] bcachefs (loop0): directory 4096:4294967295 with wrong i_nlink: got 0, should be 1, fixing [ 476.449157][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 42836588292870038 [ 476.449169][ T8061] u64s 7 type dirent 4098:2566587684781802428:U32_MAX len 0 ver 0: file0 -> 4099 type reg, fixing [ 476.469699][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 8461300838749704692 [ 476.469719][ T8061] u64s 7 type dirent 4098:4600437421902197670:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing [ 476.490693][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.490706][ T8061] u64s 7 type dirent 4098:8461300838749704692:U32_MAX len 0 ver 0: file1 -> 4100 type lnk, fixing [ 476.508396][ T8061] bcachefs (loop0): check_dirents requires second pass [ 476.516040][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.516051][ T8061] u64s 7 type dirent 4096:1648860085779262688:U32_MAX len 0 ver 0: file2 -> 1073741825 type reg, fixing [ 476.535218][ T8061] bcachefs (loop0): directory with missing backpointer [ 476.535236][ T8061] u64s 7 type dirent 4096:3092086570792031136:U32_MAX len 0 ver 0: file0 -> 4098 type dir [ 476.535249][ T8061] inum: 4098:4294967295 [ 476.535259][ T8061] mode=40600 [ 476.535267][ T8061] flags=(4300000) [ 476.535277][ T8061] journal_seq=26 [ 476.535286][ T8061] hash_seed=e7ff0d9f6892e842 [ 476.535296][ T8061] hash_type=siphash [ 476.535306][ T8061] bi_size=0 [ 476.535315][ T8061] bi_sectors=0 [ 476.535324][ T8061] bi_version=0 [ 476.535333][ T8061] bi_atime=36272143386218239 [ 476.535343][ T8061] bi_ctime=36272143386218239 [ 476.535353][ T8061] bi_mtime=36272143386218239 [ 476.535362][ T8061] bi_otime=36272143386218239 [ 476.535372][ T8061] bi_uid=0 [ 476.535381][ T8061] bi_gid=0 [ 476.535390][ T8061] bi_nlink=0 [ 476.535399][ T8061] bi_generation=0 [ 476.535408][ T8061] bi_dev=0 [ 476.535417][ T8061] bi_data_checksum=0 [ 476.535427][ T8061] bi_compression=0 [ 476.535435][ T8061] bi_project=0 [ 476.535445][ T8061] bi_background_compression=0 [ 476.535454][ T8061] bi_data_replicas=0 [ 476.535464][ T8061] bi_promote_target=0 [ 476.535473][ T8061] bi_foreground_target=0 [ 476.535482][ T8061] bi_background_target=0 [ 476.535492][ T8061] bi_erasure_code=0 [ 476.535500][ T8061] bi_fields_set=0 [ 476.535509][ T8061] bi_dir=0 [ 476.535518][ T8061] bi_dir_offset=0 [ 476.535527][ T8061] bi_subvol=0 [ 476.535536][ T8061] bi_parent_subvol=0 [ 476.535546][ T8061] bi_nocow=0 [ 476.535554][ T8061] bi_depth=0 [ 476.535563][ T8061] bi_inodes_32bit=0 [ 476.535573][ T8061] bi_casefold=0, fixing [ 476.701384][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.701395][ T8061] u64s 8 type dirent 4096:7943131067583193073:U32_MAX len 0 ver 0: file.cold -> 1073741826 type reg, fixing [ 476.720712][ T8061] bcachefs (loop0): fsck counted subdirectories wrong for inum 4096:4294967295: got 2 should be 1 [ 476.731538][ T8061] bcachefs (loop0): dirent points to missing inode: [ 476.731549][ T8061] u64s 7 type dirent 4098:42836588292870038:U32_MAX len 0 ver 0: file0 -> 4099 type reg, fixing [ 476.748973][ T8061] done [ 476.752400][ T8061] bcachefs (loop0): check_xattrs... [ 476.753234][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 2881767267410726779 [ 476.753245][ T8061] u64s 7 type xattr 1073741824:945502502804528484:U32_MAX len 0 ver 0: user.xattr2:xattr2, fixing [ 476.779300][ T8061] bcachefs (loop0): hash table key at wrong offset: should be at 3387279668129912475 [ 476.779313][ T8061] u64s 7 type xattr 1073741824:3442546108204556527:U32_MAX len 0 ver 0: user.xattr1:xattr1, fixing [ 476.799851][ T8061] done [ 476.803294][ T8061] bcachefs (loop0): check_root... done [ 476.809129][ T8061] bcachefs (loop0): check_unreachable_inodes... [ 476.809912][ T8061] bcachefs (loop0): unreachable inode: [ 476.809923][ T8061] inum: 1073741824:4294967295 [ 476.809931][ T8061] mode=100600 [ 476.809936][ T8061] flags=(4300000) [ 476.809941][ T8061] journal_seq=27 [ 476.809946][ T8061] hash_seed=feb20186d23993aa [ 476.809951][ T8061] hash_type=siphash [ 476.809956][ T8061] bi_size=0 [ 476.809961][ T8061] bi_sectors=0 [ 476.809966][ T8061] bi_version=0 [ 476.809970][ T8061] bi_atime=36272143686218243 [ 476.809975][ T8061] bi_ctime=36272143686218243 [ 476.809980][ T8061] bi_mtime=36272143686218243 [ 476.809985][ T8061] bi_otime=36272143686218243 [ 476.809990][ T8061] bi_uid=0 [ 476.809995][ T8061] bi_gid=0 [ 476.810000][ T8061] bi_nlink=0 [ 476.810005][ T8061] bi_generation=0 [ 476.810009][ T8061] bi_dev=0 [ 476.810014][ T8061] bi_data_checksum=0 [ 476.810019][ T8061] bi_compression=0 [ 476.810024][ T8061] bi_project=0 [ 476.810028][ T8061] bi_background_compression=0 [ 476.810034][ T8061] bi_data_replicas=0 [ 476.810038][ T8061] bi_promote_target=0 [ 476.810044][ T8061] bi_foreground_target=0 [ 476.810049][ T8061] bi_background_target=0 [ 476.810054][ T8061] bi_erasure_code=0 [ 476.810058][ T8061] bi_fields_set=0 [ 476.810063][ T8061] bi_dir=0 [ 476.810068][ T8061] bi_dir_offset=0 [ 476.810073][ T8061] bi_subvol=0 [ 476.810078][ T8061] bi_parent_subvol=0 [ 476.810083][ T8061] bi_nocow=0 [ 476.810087][ T8061] bi_depth=0 [ 476.810092][ T8061] bi_inodes_32bit=0 [ 476.810097][ T8061] bi_casefold=0, fixing [ 476.973558][ T8061] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 476.982847][ T8061] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 476.993153][ T8061] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 477.002632][ T8061] bcachefs (loop0): creating //lost+found in subvol 1 snapshot 4294967295 [ 477.016568][ T8061] done [ 477.020392][ T8061] bcachefs (loop0): check_subvolume_structure... done [ 477.027915][ T8061] bcachefs (loop0): check_directory_structure... done [ 477.035963][ T8061] bcachefs (loop0): check_nlinks... done [ 477.042060][ T8061] bcachefs (loop0): check_rebalance_work... done [ 477.048801][ T8061] bcachefs (loop0): resume_logged_ops... done [ 477.054926][ T8061] bcachefs (loop0): delete_dead_inodes... done executing program [ 477.061731][ T8061] bcachefs (loop0): set_fs_needs_rebalance... done [ 477.078210][ T8061] bcachefs (loop0): reading quotas [ 477.084110][ T8061] bcachefs (loop0): quotas done [ 477.091363][ T8061] bcachefs (loop0): done starting filesystem executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 501.512365][ T1303] ieee802154 phy0 wpan0: encryption failed: -22 [ 501.518834][ T1303] ieee802154 phy1 wpan1: encryption failed: -22 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program [ 562.951441][ T1303] ieee802154 phy0 wpan0: encryption failed: -22 [ 562.958048][ T1303] ieee802154 phy1 wpan1: encryption failed: -22 executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program executing program