Skip to content
New issue

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

Unable to mount FS - bch2_fs_start(): error starting filesystem EIO #655

Open
tasleson opened this issue Feb 26, 2024 · 4 comments
Open

Comments

@tasleson
Copy link

While developing the change that I posted in koverstreet/bcachefs-tools#245 I ran into the following:

Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): mounting version 1.3: rebalance_work opts=metadata_replicas=2,data_replicas=2
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): recovering from clean shutdown, journal seq 18
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): alloc_read... done
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): stripes_read... done
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): snapshots_read... done
Feb 26 15:52:39 F39 kernel: bucket 1:0 gen 0 different types of data in same bucket: need_discard, sb
Feb 26 15:52:39 F39 kernel: while marking sb, exiting
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): Unable to continue, halting
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): bch2_trans_mark_dev_sb(): error EIO
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): bch2_fs_recovery(): error EIO
Feb 26 15:52:39 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): bch2_fs_start(): error starting filesystem EIO

This is a virtualbox test environment. The FS has no data on it. I was simply working on getting a multi-device bcachefs to mount at boot via an entry in the fstab. I still have the 2 virtual disk drives which comprise the FS and which I'm unable to mount. I have other virtual disks that I'm using at the moment, and those are all still working with repeated mount/unmount/reboots.

Notes:

  • F39 - current kernel
  • Latest bcachefs-tools built against util-linux release candidate
@koverstreet
Copy link
Owner

Are you still able to reproduce this? Sorry for the long delay; just got through a whole bunch of urgent repair code.

We'll want to look at journal transactions for that bucket, command to start with would be
bcachefs list_journal -a -t alloc:1:0

@tasleson
Copy link
Author

tasleson commented Apr 2, 2024

bcachefs list_journal -a -t alloc:1:0

As requested. Let me know if you need anything else.

# bcachefs list_journal -a -t alloc:1:0 /dev/sdb:/dev/sdc
mounting version 1.3: rebalance_work opts=ro,errors=continue,metadata_replicas=2,data_replicas=2,degraded,fix_errors=yes,nochanges,norecovery,read_only
recovering from clean shutdown, journal seq 18
journal read done, replaying entries 18-18
*   log: starting journal at entry 13, replaying 0-12
*   btree_root: btree=inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e2f812fe84887b1f written 3 min_key POS_MIN durability: 2 ptr: 0:78:0 gen 0 ptr: 1:78:0 gen 0
*   btree_root: btree=dirents l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq d71be6a907489e4c written 2 min_key POS_MIN durability: 2 ptr: 0:79:0 gen 0 ptr: 1:79:0 gen 0
*   btree_root: btree=alloc l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2c35e668b4c3d6e2 written 29 min_key POS_MIN durability: 2 ptr: 0:74:0 gen 0 ptr: 1:74:0 gen 0
*   btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7ff49cd24d84eff9 written 2 min_key POS_MIN durability: 2 ptr: 0:77:0 gen 0 ptr: 1:77:0 gen 0
*   btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 32c983e8fe9a32ac written 2 min_key POS_MIN durability: 2 ptr: 0:76:0 gen 0 ptr: 1:76:0 gen 0
*   btree_root: btree=freespace l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f3dc78765389e907 written 3 min_key POS_MIN durability: 2 ptr: 0:73:0 gen 0 ptr: 1:73:0 gen 0
*   btree_root: btree=backpointers l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 305852dc9fbc750f written 4 min_key POS_MIN durability: 2 ptr: 0:80:0 gen 0 ptr: 1:80:0 gen 0
*   btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 6c282671b4cf7929 written 2 min_key POS_MIN durability: 2 ptr: 0:75:0 gen 0 ptr: 1:75:0 gen 0
*   usage: type=inodes v=2
*   usage: type=key_version v=0
*   usage: type=reserved v=0
*   usage: type=reserved v=0
*   usage: type=reserved v=0
*   usage: type=reserved v=0
*   data_usage: btree: 1/2 [0 1]=8192
*   data_usage: journal: 1/2 [0 1]=0
*   dev_usage: dev=0free: buckets=8107 sectors=0 fragmented=0sb: buckets=13 sectors=6152 fragmented=504journal: buckets=64 sectors=32768 fragmented=0btree: buckets=8 sectors=4096 fragmented=0user: buckets=0 sectors=0 fragmented=0cached: buckets=0 sectors=0 fragmented=0parity: buckets=0 sectors=0 fragmented=0stripe: buckets=0 sectors=0 fragmented=0need_gc_gens: buckets=0 sectors=0 fragmented=0need_discard: buckets=0 sectors=0 fragmented=0
*   dev_usage: dev=1free: buckets=8107 sectors=0 fragmented=0sb: buckets=13 sectors=6152 fragmented=504journal: buckets=64 sectors=32768 fragmented=0btree: buckets=8 sectors=4096 fragmented=0user: buckets=0 sectors=0 fragmented=0cached: buckets=0 sectors=0 fragmented=0parity: buckets=0 sectors=0 fragmented=0stripe: buckets=0 sectors=0 fragmented=0need_gc_gens: buckets=0 sectors=0 fragmented=0need_discard: buckets=0 sectors=0 fragmented=0
*   clock: read=0
*   clock: write=4096
*   log: starting journal at entry 14, replaying 13-13
    btree_keys: 
    btree_root: btree=inodes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e2f812fe84887b1f written 3 min_key POS_MIN durability: 2 ptr: 0:78:0 gen 0 ptr: 1:78:0 gen 0
    btree_root: btree=dirents l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq d71be6a907489e4c written 2 min_key POS_MIN durability: 2 ptr: 0:79:0 gen 0 ptr: 1:79:0 gen 0
    btree_root: btree=alloc l=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 2c35e668b4c3d6e2 written 44 min_key POS_MIN durability: 1 ptr: 0:74:0 gen 0
    btree_root: btree=subvolumes l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 7ff49cd24d84eff9 written 2 min_key POS_MIN durability: 2 ptr: 0:77:0 gen 0 ptr: 1:77:0 gen 0
    btree_root: btree=snapshots l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 32c983e8fe9a32ac written 2 min_key POS_MIN durability: 2 ptr: 0:76:0 gen 0 ptr: 1:76:0 gen 0
    btree_root: btree=freespace l=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq f3dc78765389e907 written 5 min_key POS_MIN durability: 1 ptr: 0:73:0 gen 0
    btree_root: btree=need_discard l=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq cf33c5cedca856bb written 6 min_key POS_MIN durability: 1 ptr: 0:82:0 gen 0
    btree_root: btree=backpointers l=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 305852dc9fbc750f written 6 min_key POS_MIN durability: 1 ptr: 0:80:0 gen 0
    btree_root: btree=bucket_gens l=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq e0d87eaa27976793 written 2 min_key POS_MIN durability: 1 ptr: 0:85:0 gen 0
    btree_root: btree=snapshot_trees l=0 u64s 12 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 6c282671b4cf7929 written 2 min_key POS_MIN durability: 2 ptr: 0:75:0 gen 0 ptr: 1:75:0 gen 0
    btree_root: btree=rebalance_work l=0 u64s 11 type btree_ptr_v2 SPOS_MAX len 0 ver 0: seq 95b68b1fc40ada69 written 2 min_key POS_MIN durability: 1 ptr: 0:81:0 gen 0
    datetime: Mon Feb 26 15:37:25 2024
    usage: type=inodes v=2
    usage: type=key_version v=0
    usage: type=reserved v=0
    usage: type=reserved v=0
    usage: type=reserved v=0
    usage: type=reserved v=0
    data_usage: btree: 1/1 [0]=3072
    data_usage: journal: 1/2 [0 1]=0
    data_usage: btree: 1/2 [0 1]=5120
    data_usage: journal: 1/1 [0]=0
    dev_usage: dev=0free: buckets=8104 sectors=0 fragmented=0sb: buckets=13 sectors=6152 fragmented=504journal: buckets=64 sectors=32768 fragmented=0btree: buckets=11 sectors=5632 fragmented=0user: buckets=0 sectors=0 fragmented=0cached: buckets=0 sectors=0 fragmented=0parity: buckets=0 sectors=0 fragmented=0stripe: buckets=0 sectors=0 fragmented=0need_gc_gens: buckets=0 sectors=0 fragmented=0need_discard: buckets=0 sectors=0 fragmented=0
    dev_usage: dev=1free: buckets=8107 sectors=0 fragmented=0sb: buckets=0 sectors=0 fragmented=0journal: buckets=0 sectors=0 fragmented=0btree: buckets=5 sectors=2560 fragmented=0user: buckets=0 sectors=0 fragmented=0cached: buckets=0 sectors=0 fragmented=0parity: buckets=0 sectors=0 fragmented=0stripe: buckets=0 sectors=0 fragmented=0need_gc_gens: buckets=0 sectors=0 fragmented=0need_discard: buckets=80 sectors=0 fragmented=0
    clock: read=0
    clock: write=5632

FS still in same state:

# bcachefs mount /dev/sdb:/dev/sdc /mnt/bcachefs
ERROR - bcachefs::commands::cmd_mount: Fatal error: Input/output error

journal

Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): mounting version 1.3: rebalance_work opts=metadata_replicas=2,data_replicas=2
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): recovering from clean shutdown, journal seq 18
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): alloc_read... done
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): stripes_read... done
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): snapshots_read... done
Apr 02 14:55:09 F39 kernel: bucket 1:0 gen 0 different types of data in same bucket: need_discard, sb
Apr 02 14:55:09 F39 kernel: while marking sb, exiting
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): Unable to continue, halting
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): bch2_trans_mark_dev_sb(): error EIO
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): bch2_fs_recovery(): error EIO
Apr 02 14:55:09 F39 kernel: bcachefs (8a4283ce-0388-44ac-99d6-d5849da5ce6a): bch2_fs_start(): error starting filesystem EIO

@koverstreet
Copy link
Owner

Are you able to join the irc channel? irc.oftc.net #bcache

@tasleson
Copy link
Author

tasleson commented Apr 2, 2024

I was able to get the FS to mount after a fsck, see full output below

# bcachefs fsck /dev/sdb:/dev/sdc
fsck binary is version 1.6: btree_subvolume_children but filesystem is 1.3: rebalance_work and kernel is 1.3: rebalance_work, using kernel fsck
mounting version 1.3: rebalance_work opts=ro,metadata_replicas=2,data_replicas=2,degraded,fsck,fix_errors=ask,read_only
recovering from clean shutdown, journal seq 18
Doing compatible version upgrade from 1.3: rebalance_work to 1.6: btree_subvolume_children
  running recovery passes: check_subvols,check_dirents
journal read done, replaying entries 18-18
alloc_read... done
stripes_read... done
snapshots_read... done
check_allocations...bucket 1:0 gen 0 has wrong data_type: got need_discard, should be sb: fix?
 (y,n, or Y,N for all errors of this type) y
bucket 1:0 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512: fix?
 (y,n, or Y,N for all errors of this type) Y
WARNING at libbcachefs/btree_iter.c:2829: btree trans held srcu lock (delaying memory reclaim) for 21 seconds
bucket 1:1 gen 0 has wrong data_type: got need_discard, should be sb: fix?
 (y,n, or Y,N for all errors of this type) y
bucket 1:1 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:2 gen 0 has wrong data_type: got need_discard, should be sb: fix?
 (y,n, or Y,N for all errors of this type) y
bucket 1:2 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:3 gen 0 has wrong data_type: got need_discard, should be sb: fix?
 (y,n, or Y,N for all errors of this type) Y
bucket 1:3 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:4 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:4 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:5 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:5 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:6 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:6 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:7 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:7 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:8 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:8 gen 0 data type sb has wrong dirty_sectors: got 0, should be 8, fixing
bucket 1:9 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:9 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:10 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:10 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:11 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:11 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:12 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:12 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:13 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:13 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:14 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:14 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:15 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:15 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:16 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:16 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:17 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:17 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:18 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:18 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:19 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:19 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:20 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:20 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:21 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:21 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:22 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:22 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:23 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:23 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:24 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:24 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:25 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:25 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:26 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:26 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:27 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:27 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:28 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:28 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:29 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:29 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:30 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:30 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:31 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:31 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:32 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:32 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:33 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:33 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:34 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:34 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:35 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:35 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:36 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:36 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:37 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:37 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:38 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:38 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:39 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:39 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:40 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:40 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:41 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:41 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:42 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:42 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:43 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:43 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:44 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:44 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:45 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:45 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:46 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:46 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:47 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:47 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:48 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:48 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:49 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:49 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:50 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:50 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:51 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:51 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:52 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:52 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:53 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:53 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:54 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:54 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:55 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:55 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:56 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:56 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:57 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:57 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:58 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:58 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:59 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:59 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:60 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:60 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:61 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:61 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:62 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:62 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:63 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:63 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:64 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:64 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:65 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:65 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:66 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:66 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:67 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:67 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:68 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:68 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:69 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:69 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:70 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:70 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:71 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:71 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:72 gen 0 has wrong data_type: got need_discard, should be journal, fixing
bucket 1:72 gen 0 data type journal has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:8188 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:8188 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:8189 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:8189 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:8190 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:8190 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
bucket 1:8191 gen 0 has wrong data_type: got need_discard, should be sb, fixing
bucket 1:8191 gen 0 data type sb has wrong dirty_sectors: got 0, should be 512, fixing
dev 1 has wrong sb buckets: got 0, should be 13: fix?
 (y,n, or Y,N for all errors of this type) Y
dev 1 has wrong sb sectors: got 0, should be 6152: fix?
 (y,n, or Y,N for all errors of this type) Y
dev 1 has wrong sb fragmented: got 0, should be 504: fix?
 (y,n, or Y,N for all errors of this type) Y
dev 1 has wrong journal buckets: got 0, should be 64, fixing
dev 1 has wrong journal sectors: got 0, should be 32768, fixing
dev 1 has wrong need_discard buckets: got 80, should be 3, fixing
fs has wrong hidden: got 39424, should be 78848: fix?
 (y,n, or Y,N for all errors of this type) Y
 done
going read-write
journal_replay... done
check_alloc_info...incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:0:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7: fix?
 (y,n, or Y,N for all errors of this type) Y
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:1:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:2:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:3:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:4:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:5:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:6:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:7:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:8:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     8
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:9:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:10:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:11:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:12:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:13:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:14:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:15:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:16:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:17:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:18:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:19:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:20:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:21:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:22:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:23:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:24:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:25:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:26:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:27:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:28:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:29:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:30:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:31:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:32:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:33:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:34:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:35:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:36:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:37:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:38:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:39:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:40:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:41:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:42:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:43:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:44:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:45:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:46:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:47:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:48:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:49:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:50:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:51:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:52:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:53:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:54:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:55:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:56:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:57:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:58:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:59:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:60:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:61:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:62:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:63:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:64:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:65:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:66:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:67:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:68:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:69:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:70:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:71:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:72:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type journal
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:8188:0 len 0 ver 0: 
  gen 0 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      1
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:8188:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:8189:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:8190:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
incorrect key in need_discard btree (got set should be deleted)
  u64s 12 type alloc_v4 1:8191:0 len 0 ver 0: 
  gen 1 oldest_gen 0 data_type sb
  journal_seq       1
  need_discard      1
  need_inc_gen      0
  dirty_sectors     512
  cached_sectors    0
  stripe            0
  stripe_redundancy 0
  io_time[READ]     1
  io_time[WRITE]    512
  fragmentation     0
  bp_start          7, fixing
 done
check_lrus... done
check_btree_backpointers... done
check_backpointers_to_extents... done
check_extents_to_backpointers... done
check_alloc_to_lru_refs... done
check_snapshot_trees... done
check_snapshots... done
check_subvols... done
check_subvol_children... done
delete_dead_snapshots... done
resume_logged_ops... done
check_inodes... done
check_extents... done
check_indirect_extents... done
check_dirents... done
check_xattrs... done
check_root... done
check_subvolume_structure... done
check_directory_structure... done
check_nlinks... done
delete_dead_inodes... done
8a4283ce-0388-44ac-99d6-d5849da5ce6a: errors fixed
# bcachefs mount /dev/sdb:/dev/sdc /mnt/bcachefs
# bcachefs fs usage /mnt/bcachefs
Filesystem: 8a4283ce-0388-44ac-99d6-d5849da5ce6a
Size:                     3951370240
Used:                       44564480
Online reserved:                   0

Data type       Required/total  Durability    Devices
btree:          1/1             1             [sdb]                1572864
btree:          1/2             2             [sdb sdc]            2621440

(no label) (device 0):           sdb              rw
                                data         buckets    fragmented
  free:                   2124414976            8104
  sb:                        3149824              13        258048
  journal:                  16777216              64
  btree:                     2883584              11
  user:                            0               0
  cached:                          0               0
  parity:                          0               0
  stripe:                          0               0
  need_gc_gens:                    0               0
  need_discard:                    0               0
  capacity:               2147483648            8192

(no label) (device 1):           sdc              rw
                                data         buckets    fragmented
  free:                   2125987840            8110
  sb:                        3149824              13        258048
  journal:                  16777216              64
  btree:                     1310720               5
  user:                            0               0
  cached:                          0               0
  parity:                          0               0
  stripe:                          0               0
  need_gc_gens:                    0               0
  need_discard:                    0               0
  capacity:               2147483648            8192

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants