koverstreet / bcachefs-tools

http://bcachefs.org
GNU General Public License v2.0
120 stars 89 forks source link

tools fsck faild . upraded version before #152

Closed bhzhu203 closed 1 year ago

bhzhu203 commented 1 year ago

tools fsck faild . upraded version before

check_snapshots...snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967295:0 len 0 ver 0: is_subvol 0 deleted 0 parent          0 children 4294967293          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967293:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967295 children 4294967291          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1:
  u64s 8 type snapshot 0:4294967293:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967295 children 4294967291          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967293:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967295 children 4294967291          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967293:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967295 children 4294967291          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967293:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967295 children 4294967291          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967293:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967295 children 4294967291          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967291:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967293 children 4294967289          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967291:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967293 children 4294967289          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967291:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967293 children 4294967289          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967291:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967293 children 4294967289          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967291:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967293 children 4294967289          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967291:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967293 children 4294967289          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967289:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967291 children 4294967287          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967289:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967291 children 4294967287          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967289:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967291 children 4294967287          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967289:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967291 children 4294967287          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967289:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967291 children 4294967287          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967289:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967291 children 4294967287          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967287:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967289 children 4294967285          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967287:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967289 children 4294967285          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967287:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967289 children 4294967285          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967287:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967289 children 4294967285          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967287:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967289 children 4294967285          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967287:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967289 children 4294967285          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967285:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967287 children 4294967283          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967285:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967287 children 4294967283          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967285:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967287 children 4294967283          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967285:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967287 children 4294967283          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967285:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967287 children 4294967283          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967285:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967287 children 4294967283          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967283:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967285 children 4294967281          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967283:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967285 children 4294967281          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967283:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967285 children 4294967281          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967283:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967285 children 4294967281          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967283:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967285 children 4294967281          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967283:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967285 children 4294967281          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967281:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967283 children 4294967279          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967281:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967283 children 4294967279          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967281:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967283 children 4294967279          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967281:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967283 children 4294967279          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967281:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967283 children 4294967279          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967281:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967283 children 4294967279          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967279:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967281 children 4294967277          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967279:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967281 children 4294967277          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967279:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967281 children 4294967277          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967279:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967281 children 4294967277          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967279:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967281 children 4294967277          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967279:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967281 children 4294967277          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967277:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967279 children 4294967275          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967277:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967279 children 4294967275          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967277:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967279 children 4294967275          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967277:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967279 children 4294967275          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967277:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967279 children 4294967275          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967277:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967279 children 4294967275          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967275:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967277 children 4294967273          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967275:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967277 children 4294967273          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967275:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967277 children 4294967273          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967275:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967277 children 4294967273          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967275:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967277 children 4294967273          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967275:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967277 children 4294967273          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967273:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967275 children 4294967271          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967273:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967275 children 4294967271          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967273:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967275 children 4294967271          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967273:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967275 children 4294967271          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967273:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967275 children 4294967271          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967273:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967275 children 4294967271          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967271:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967273 children 4294967269          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967271:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967273 children 4294967269          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967271:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967273 children 4294967269          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967271:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967273 children 4294967269          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967271:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967273 children 4294967269          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967271:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967273 children 4294967269          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967269:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967271 children 4294967267          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967269:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967271 children 4294967267          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967269:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967271 children 4294967267          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967269:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967271 children 4294967267          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967269:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967271 children 4294967267          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967269:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967271 children 4294967267          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967267:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967269 children 4294967265          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967267:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967269 children 4294967265          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967267:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967269 children 4294967265          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967267:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967269 children 4294967265          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967267:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967269 children 4294967265          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967267:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967269 children 4294967265          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967265:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967267 children 4294967263          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967265:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967267 children 4294967263          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967265:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967267 children 4294967263          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967265:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967267 children 4294967263          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967265:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967267 children 4294967263          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967265:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967267 children 4294967263          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967263:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967265 children 4294967261          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967263:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967265 children 4294967261          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967263:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967265 children 4294967261          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967263:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967265 children 4294967261          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967263:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967265 children 4294967261          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967263:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967265 children 4294967261          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967261:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967263 children 4294967259          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967261:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967263 children 4294967259          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967261:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967263 children 4294967259          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967261:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967263 children 4294967259          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967261:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967263 children 4294967259          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967261:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967263 children 4294967259          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967259:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967261 children 4294967257          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967259:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967261 children 4294967257          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967259:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967261 children 4294967257          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967259:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967261 children 4294967257          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967259:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967261 children 4294967257          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967259:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967261 children 4294967257          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967257:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967259 children 4294967255          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967257:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967259 children 4294967255          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967257:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967259 children 4294967255          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967257:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967259 children 4294967255          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967257:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967259 children 4294967255          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967257:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967259 children 4294967255          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967255:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967257 children 4294967253          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967255:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967257 children 4294967253          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967255:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967257 children 4294967253          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967255:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967257 children 4294967253          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967255:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967257 children 4294967253          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967255:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967257 children 4294967253          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967253:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967255 children 4294967251          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967253:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967255 children 4294967251          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967253:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967255 children 4294967251          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967253:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967255 children 4294967251          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967253:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967255 children 4294967251          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967253:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967255 children 4294967251          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967251:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967253 children 4294967249          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967251:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967253 children 4294967249          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967251:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967253 children 4294967249          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967251:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967253 children 4294967249          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967251:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967253 children 4294967249          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967251:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967253 children 4294967249          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967249:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967251 children 4294967247          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967249:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967251 children 4294967247          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967249:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967251 children 4294967247          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967249:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967251 children 4294967247          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967249:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967251 children 4294967247          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967249:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967251 children 4294967247          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967247:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967249 children 4294967245          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967247:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967249 children 4294967245          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967247:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967249 children 4294967245          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967247:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967249 children 4294967245          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967247:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967249 children 4294967245          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967247:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967249 children 4294967245          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967245:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967247 children 4294967243          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967245:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967247 children 4294967243          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967245:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967247 children 4294967243          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967245:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967247 children 4294967243          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967245:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967247 children 4294967243          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967245:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967247 children 4294967243          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967243:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967245 children 4294967241          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967243:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967245 children 4294967241          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967243:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967245 children 4294967241          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967243:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967245 children 4294967241          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967243:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967245 children 4294967241          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967243:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967245 children 4294967241          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967241:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967243 children 4294967239          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967241:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967243 children 4294967239          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967241:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967243 children 4294967239          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967241:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967243 children 4294967239          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967241:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967243 children 4294967239          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967241:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967243 children 4294967239          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967239:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967241 children 4294967237          0 subvol 0 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967239:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967241 children 4294967237          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967239:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967241 children 4294967237          0 subvol 0 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967239:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967241 children 4294967237          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967239:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967241 children 4294967237          0 subvol 0 tree 0u64s 8 type snapshot 0:4294967239:0 len 0 ver 0: is_subvol 0 deleted 0 parent 4294967241 children 4294967237          0 subvol 0 tree 0, not fixing
snapshot points to missing/incorrect tree:
  u64s 8 type snapshot 0:4294967237:0 len 0 ver 0: is_subvol 1 deleted 0 parent 4294967239 children          0          0 subvol 1 tree 0, not fixing
snapshot with incorrect depth fields, should be 1474567:
  u64s 8 type snapshot 0:4294967237:0 len 0 ver 0: is_subvol 1 deleted 0 parent 4294967239 children          0          0 subvol 1 tree 0u64s 8 type snapshot 0:4294967237:0 len 0 ver 0: is_subvol 1 deleted 0 parent 4294967239 children          0          0 subvol 1 tree 0, not fixing
snapshot with bad rand_ancestor field:
  u64s 8 type snapshot 0:4294967237:0 len 0 ver 0: is_subvol 1 deleted 0 parent 4294967239 children          0          0 subvol 1 tree 0u64s 8 type snapshot 0:4294967237:0 len 0 ver 0: is_subvol 1 deleted 0 parent 4294967239 children          0          0 subvol 1 tree 0u64s 8 type snapshot 0:4294967237:0 len 0 ver 0: is_subvol 1 deleted 0 parent 4294967239 children          0          0 subvol 1 tree 0, not fixing
 done
check_subvols...check_subvol: snapshot tree 0 not found
bch2_check_subvols(): error ENOENT_snapshot_tree
bch2_fs_recovery(): error ENOENT_snapshot_tree
error starting filesystem: ENOENT_snapshot_tree
error opening /dev/sdb9: ENOENT_snapshot_tree
root [ /home/bhzhu/Desktop ]# 

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

bhzhu203 commented 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
koverstreet commented 1 year ago

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

bhzhu203 commented 1 year ago
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