rm: cannot remove '/home/[user]/btc/bitcoin-core/blocks/blk01253.dat': Bad message

The same error message when I tried running bitcoind -reindex


  • OS: Ubuntu

  • Bitcoind version: 0.18

External harddrive

I've already tried to sudo rm -rf the whole blocks directory, but I get that "Bad message" error on a few of .dat files.

  • 3
    This is an OS or hardware-level problem. It might indicate filesystem corruption or disk problems. You could ask about it at askubuntu.com or Unix SE, but I don't think it's really a Bitcoin issue per se. – Nate Eldredge Jun 1 at 23:54

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Browse other questions tagged or ask your own question.