We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
@koverstreet Today, I encountered the most serious problem: the file system is corrupted, making it impossible to reboot or repair.
dmegs:
root@bcachefs:~# mount -t bcachefs /dev/nvme1n1:/dev/nvme2n1:/dev/nvme3n1:/dev/nvme4n1:/dev/nvme5n1:/dev/nvme6n1 /data -v DEBUG - bcachefs::commands::mount: Walking udev db! INFO - bcachefs::commands::mount: mounting with params: device: /dev/nvme1n1:/dev/nvme2n1:/dev/nvme3n1:/dev/nvme4n1:/dev/nvme5n1:/dev/nvme6n1, target: /data, options: rw DEBUG - bcachefs::commands::mount: parsing mount options: rw INFO - bcachefs::commands::mount: mounting filesystem ERROR - bcachefs::commands::mount: Fatal error: Input/output error root@bcachefs:~# dmesg | tail -n 200 [ 3253.727752] old u64s 7 type extent 6058:1:4294965733 len 1 ver 0: durability: 0 crc: c_size 1 size 1 offset 0 nonce 0 csum crc32c compress none ptr: 4:3587:401 gen 0 cached stale [ 3253.727753] new u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 3253.727754] update: btree=alloc cached=1 bch2_trans_start_alloc_update+0x14a/0x2b0 [bcachefs] [ 3253.727754] old u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 3253.727755] gen 17 oldest_gen 0 data_type cached [ 3253.727755] journal_seq 22526017 [ 3253.727756] need_discard 1 [ 3253.727756] need_inc_gen 1 [ 3253.727757] dirty_sectors 0 [ 3253.727757] cached_sectors 512 [ 3253.727757] stripe 0 [ 3253.727758] stripe_redundancy 0 [ 3253.727758] io_time[READ] 897797872 [ 3253.727759] io_time[WRITE] 2151975875 [ 3253.727759] fragmentation 0 [ 3253.727759] bp_start 7 [ 3253.727760] [ 3253.727760] new u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 3253.727761] gen 17 oldest_gen 0 data_type cached [ 3253.727761] journal_seq 22526017 [ 3253.727762] need_discard 1 [ 3253.727762] need_inc_gen 1 [ 3253.727763] dirty_sectors 0 [ 3253.727763] cached_sectors 512 [ 3253.727764] stripe 0 [ 3253.727764] stripe_redundancy 0 [ 3253.727764] io_time[READ] 897797872 [ 3253.727765] io_time[WRITE] 2151975875 [ 3253.727765] fragmentation 0 [ 3253.727766] bp_start 7 [ 3253.727766] [ 3253.822699] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_gc_gens(): error EINVAL [ 3255.417973] done [ 3255.431220] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_recovery(): error EIO [ 3255.436136] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_start(): error starting filesystem EIO [ 3255.441470] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unshutdown complete, journal seq 25159644 [ 3255.481576] bcachefs: bch2_mount() error: EIO [ 3262.461168] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): mounting version 1.7: mi_btree_bitmap opts=foreground_target=ssd,background_target=hdd,promote_target=ssd,nojournal_transaction_names [ 3262.522315] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): recovering from unclean shutdown [ 3268.993274] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): journal read done, replaying entries 25143245-25159634 [ 3268.998794] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): dropped unflushed entries 25159635-25159635 [ 3276.337376] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): alloc_read... done [ 3276.349565] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): stripes_read... done [ 3276.354313] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): snapshots_read... done [ 3276.454550] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): going read-write [ 3276.461460] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): journal_replay... [ 3276.618568] invalid bkey on insert from bch2_gc_gens -> bch2_gc_gens [bcachefs] [ 3276.618570] u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 3276.618571] size != 0 [ 3276.633305] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): inconsistency detected - emergency read only at journal seq 25159644 [ 3276.633313] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unable to write journal to sufficient devices [ 3276.644383] transaction updates for bch2_gc_gens journal seq 0 [ 3276.644384] update: btree=extents cached=0 bch2_gc_gens+0x938/0x10e0 [bcachefs] [ 3276.644385] old u64s 7 type extent 6058:1:4294965733 len 1 ver 0: durability: 0 crc: c_size 1 size 1 offset 0 nonce 0 csum crc32c compress none ptr: 4:3587:401 gen 0 cached stale [ 3276.644386] new u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 3276.644387] update: btree=alloc cached=1 bch2_trans_start_alloc_update+0x14a/0x2b0 [bcachefs] [ 3276.644387] old u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 3276.644388] gen 17 oldest_gen 0 data_type cached [ 3276.644388] journal_seq 22526017 [ 3276.644389] need_discard 1 [ 3276.644389] need_inc_gen 1 [ 3276.644390] dirty_sectors 0 [ 3276.644390] cached_sectors 512 [ 3276.644390] stripe 0 [ 3276.644391] stripe_redundancy 0 [ 3276.644391] io_time[READ] 897797872 [ 3276.644392] io_time[WRITE] 2151975875 [ 3276.644392] fragmentation 0 [ 3276.644393] bp_start 7 [ 3276.644393] [ 3276.644394] new u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 3276.644394] gen 17 oldest_gen 0 data_type cached [ 3276.644395] journal_seq 22526017 [ 3276.644395] need_discard 1 [ 3276.644395] need_inc_gen 1 [ 3276.644396] dirty_sectors 0 [ 3276.644396] cached_sectors 512 [ 3276.644396] stripe 0 [ 3276.644397] stripe_redundancy 0 [ 3276.644397] io_time[READ] 897797872 [ 3276.644398] io_time[WRITE] 2151975875 [ 3276.644398] fragmentation 0 [ 3276.644398] bp_start 7 [ 3276.644399] [ 3276.738800] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_gc_gens(): error EINVAL [ 3278.225324] done [ 3278.238590] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_recovery(): error EIO [ 3278.243508] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_start(): error starting filesystem EIO [ 3278.248824] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unshutdown complete, journal seq 25159644 [ 3278.309747] bcachefs: bch2_mount() error: EIO [ 4478.145242] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): mounting version 1.7: mi_btree_bitmap opts=foreground_target=ssd,background_target=hdd,promote_target=ssd,nojournal_transaction_names [ 4478.154046] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): recovering from unclean shutdown [ 4484.053319] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): journal read done, replaying entries 25143245-25159634 [ 4484.058820] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): dropped unflushed entries 25159635-25159635 [ 4491.690166] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): alloc_read... done [ 4491.702343] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): stripes_read... done [ 4491.707053] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): snapshots_read... done [ 4491.810167] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): going read-write [ 4491.817380] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): journal_replay... [ 4491.972610] invalid bkey on insert from bch2_gc_gens -> bch2_gc_gens [bcachefs] [ 4491.972613] u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 4491.972613] size != 0 [ 4491.987139] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): inconsistency detected - emergency read only at journal seq 25159644 [ 4491.987151] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unable to write journal to sufficient devices [ 4491.998240] transaction updates for bch2_gc_gens journal seq 0 [ 4491.998242] update: btree=extents cached=0 bch2_gc_gens+0x938/0x10e0 [bcachefs] [ 4491.998243] old u64s 7 type extent 6058:1:4294965733 len 1 ver 0: durability: 0 crc: c_size 1 size 1 offset 0 nonce 0 csum crc32c compress none ptr: 4:3587:401 gen 0 cached stale [ 4491.998243] new u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 4491.998244] update: btree=alloc cached=1 bch2_trans_start_alloc_update+0x14a/0x2b0 [bcachefs] [ 4491.998245] old u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 4491.998245] gen 17 oldest_gen 0 data_type cached [ 4491.998246] journal_seq 22526017 [ 4491.998246] need_discard 1 [ 4491.998247] need_inc_gen 1 [ 4491.998247] dirty_sectors 0 [ 4491.998248] cached_sectors 512 [ 4491.998248] stripe 0 [ 4491.998249] stripe_redundancy 0 [ 4491.998249] io_time[READ] 897797872 [ 4491.998250] io_time[WRITE] 2151975875 [ 4491.998250] fragmentation 0 [ 4491.998250] bp_start 7 [ 4491.998251] [ 4491.998251] new u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 4491.998252] gen 17 oldest_gen 0 data_type cached [ 4491.998252] journal_seq 22526017 [ 4491.998253] need_discard 1 [ 4491.998253] need_inc_gen 1 [ 4491.998253] dirty_sectors 0 [ 4491.998254] cached_sectors 512 [ 4491.998254] stripe 0 [ 4491.998254] stripe_redundancy 0 [ 4491.998255] io_time[READ] 897797872 [ 4491.998255] io_time[WRITE] 2151975875 [ 4491.998255] fragmentation 0 [ 4491.998256] bp_start 7 [ 4491.998256] [ 4492.092423] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_gc_gens(): error EINVAL [ 4493.689319] done [ 4493.702445] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_recovery(): error EIO [ 4493.707397] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_start(): error starting filesystem EIO [ 4493.712746] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unshutdown complete, journal seq 25159644 [ 4493.749626] bcachefs: bch2_mount() error: EIO [ 4501.345275] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): mounting version 1.7: mi_btree_bitmap opts=foreground_target=ssd,background_target=hdd,promote_target=ssd,nojournal_transaction_names [ 4501.354000] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): recovering from unclean shutdown [ 4507.183553] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): journal read done, replaying entries 25143245-25159634 [ 4507.189110] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): dropped unflushed entries 25159635-25159635 [ 4514.761407] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): alloc_read... done [ 4514.773679] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): stripes_read... done [ 4514.778432] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): snapshots_read... done [ 4514.879302] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): going read-write [ 4514.886328] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): journal_replay... [ 4514.988443] invalid bkey on insert from bch2_gc_gens -> bch2_gc_gens [bcachefs] [ 4514.988446] u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 4514.988447] size != 0 [ 4515.002949] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): inconsistency detected - emergency read only at journal seq 25159644 [ 4515.002962] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unable to write journal to sufficient devices [ 4515.014071] transaction updates for bch2_gc_gens journal seq 0 [ 4515.014073] update: btree=extents cached=0 bch2_gc_gens+0x938/0x10e0 [bcachefs] [ 4515.014073] old u64s 7 type extent 6058:1:4294965733 len 1 ver 0: durability: 0 crc: c_size 1 size 1 offset 0 nonce 0 csum crc32c compress none ptr: 4:3587:401 gen 0 cached stale [ 4515.014074] new u64s 5 type deleted 6058:1:4294965733 len 1 ver 0 [ 4515.014075] update: btree=alloc cached=1 bch2_trans_start_alloc_update+0x14a/0x2b0 [bcachefs] [ 4515.014075] old u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 4515.014076] gen 17 oldest_gen 0 data_type cached [ 4515.014076] journal_seq 22526017 [ 4515.014077] need_discard 1 [ 4515.014077] need_inc_gen 1 [ 4515.014077] dirty_sectors 0 [ 4515.014078] cached_sectors 512 [ 4515.014078] stripe 0 [ 4515.014079] stripe_redundancy 0 [ 4515.014079] io_time[READ] 897797872 [ 4515.014079] io_time[WRITE] 2151975875 [ 4515.014080] fragmentation 0 [ 4515.014080] bp_start 7 [ 4515.014080] [ 4515.014081] new u64s 12 type alloc_v4 4:3587:0 len 0 ver 0: [ 4515.014081] gen 17 oldest_gen 0 data_type cached [ 4515.014082] journal_seq 22526017 [ 4515.014082] need_discard 1 [ 4515.014083] need_inc_gen 1 [ 4515.014083] dirty_sectors 0 [ 4515.014083] cached_sectors 512 [ 4515.014084] stripe 0 [ 4515.014084] stripe_redundancy 0 [ 4515.014084] io_time[READ] 897797872 [ 4515.014085] io_time[WRITE] 2151975875 [ 4515.014085] fragmentation 0 [ 4515.014085] bp_start 7 [ 4515.014086] [ 4515.163555] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_gc_gens(): error EINVAL [ 4516.695460] done [ 4516.708737] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_recovery(): error EIO [ 4516.713618] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): bch2_fs_start(): error starting filesystem EIO [ 4516.718896] bcachefs (5a05af34-eced-4373-a14d-4e209a12b1d0): unshutdown complete, journal seq 25159644 [ 4516.753515] bcachefs: bch2_mount() error: EIO
The text was updated successfully, but these errors were encountered:
No branches or pull requests
@koverstreet Today, I encountered the most serious problem: the file system is corrupted, making it impossible to reboot or repair.
dmegs:
The text was updated successfully, but these errors were encountered: