How to delete .dat files? 'rm' command fails with "bad message"

0

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

The same error message when I tried running bitcoind -reindex

Info:

  • 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.

ooomid

Posted 2019-06-01T23:10:05.327

Reputation: 179

3This 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 2019-06-01T23:54:03.323

No answers