Closed bhzhu203 closed 1 year ago
I mounted with these options, the errors changed:
mount -t bcachefs -o nochanges,ro,norecovery /dev/sdb9 /mnt
bcachefs fsck -y /dev/sdb9
recovering from unclean shutdown
journal read done, replaying entries 14334600-14334600
dropped unflushed entries 14334601-14334601
alloc_read... done
stripes_read... done
snapshots_read... done
check_allocations...error validating btree node on 0x8d3580g at btree freespace level 0/1
u64s 11 type btree_ptr_v2 0:72057594039131814:0 len 0 ver 0: seq c14f1cda5d9525a2 written 472 min_key 0:72057594038923867:1 durability: 1 ptr: 0:991271:0 gen 20
node offset 328 bset u64s 2: found blacklisted bset (journal seq 14334508) in btree node at offset 328-336/472, not fixing
Unable to continue, halting
Unreadable btree node at btree freespace level 0:
u64s 11 type btree_ptr_v2 0:72057594039131814:0 len 0 ver 0: seq c14f1cda5d9525a2 written 472 min_key 0:72057594038923867:1 durability: 1 ptr: 0:991271:0 gen 20, not fixing
done
journal_replay...cannot go rw, unfixed btree errors
bch2_journal_replay(): error erofs_unfixed_errors
bch2_fs_recovery(): error erofs_unfixed_errors
error starting filesystem: erofs_unfixed_errors
error opening /dev/sdb9: erofs_unfixed_errors
fsck -y wasn't fixing errors, that bug's been fixed "blacklisted bset" is one we haven't seen before - let me know if you have issues with the latest -tools
bcachefs fsck -y /dev/sdb9
mounting version 1.1: snapshot_skiplists opts=errors=continue,compression=lz4,degraded,fsck,fix_errors=yes,nojournal_transaction_names
recovering from unclean shutdown
journal read done, replaying entries 14334600-14334600
dropped unflushed entries 14334601-14334601
alloc_read... done
stripes_read... done
snapshots_read... done
check_allocations...error validating btree node on 0x8d2580g at btree freespace level 0/1
u64s 11 type btree_ptr_v2 0:72057594039131814:0 len 0 ver 0: seq c14f1cda5d9525a2 written 472 min_key 0:72057594038923867:1 durability: 1 ptr: 0:991271:0 gen 20
node offset 328 bset u64s 2: found blacklisted bset (journal seq 14334508) in btree node at offset 328-336/472, fixing
btree_node_read_work: rewriting btree node at btree=freespace level=0 0:72057594039131814:0 due to error
done
journal_replay...going read-write
error creating gc thread: Resource temporarily unavailable
error starting gc thread
bch2_journal_replay(): error Resource temporarily unavailable
bch2_fs_recovery(): error Resource temporarily unavailable
error starting filesystem: Resource temporarily unavailable
error opening /dev/sdb9: Resource temporarily unavailable
faild on HDD
tools fsck faild . upraded version before
I had several times fsck in interruption , So I am not sure whether that error is related to those interruption . Fsck allways ends with this error : "snapshot tree 0 not found"
version c8bec83e307f28751c433ba1d3f648429fb5a34c
I had deleted all of the snapshots on this FS before.
There is no snapshot in the FS now