Bitcoin Forum

Bitcoin => Bitcoin Technical Support => Topic started by: natonnelier on April 13, 2016, 01:20:44 PM



Title: ERROR: UndoWriteToDisk: OpenUndoFile failed when trying to sync blockchain
Post by: natonnelier on April 13, 2016, 01:20:44 PM
I installed bitcoin and bitcoin-qt on my raspberry-pi and was downloading the blockchain on an external device (usb stick) connected to it when the raspberry-pi crashed. Now i can't make bitcoin-qt catch up. After calling:

Code:
bitcoin-qt -datadir=/media/usb/.bitcoin

it starts trying to sync and then crashes. This is what i get in the logs:

Code:
2016-04-12 09:33:08 Pre-allocating up to position 0x900000 in rev00378.dat
2016-04-12 09:33:08 Unable to open file /media/usb/.bitcoin/blocks/rev00378.dat
2016-04-12 09:33:08 ERROR: UndoWriteToDisk: OpenUndoFile failed
2016-04-12 09:33:08 *** Failed to write undo data
2016-04-12 09:33:20 ERROR: ConnectTip(): ConnectBlock 00000000000000000517b6c57bb2977b74285733d4be2f440a0981b2249386e6 failed
2016-04-12 09:33:25 scheduler thread interrupt
2016-04-12 09:33:25 Shutdown: In progress...
2016-04-12 09:33:25 StopNode()
2016-04-12 09:33:25 Shutdown: Failed to write fee estimates to /media/usb/.bitcoin/fee_estimates.dat
2016-04-12 09:33:25 Unable to open file /media/usb/.bitcoin/blocks/blk00380.dat
2016-04-12 09:33:25 Unable to open file /media/usb/.bitcoin/blocks/rev00380.dat
2016-04-12 09:33:27 IO error: /media/usb/.bitcoin/chainstate/1279395.log: Read-only file system
2016-04-12 09:33:27 *** System error while flushing: Database I/O error


Title: Re: ERROR: UndoWriteToDisk: OpenUndoFile failed when trying to sync blockchain
Post by: cr1776 on April 13, 2016, 01:37:23 PM
... Read-only file system ...


You may want to look into why it says it is read only...that would be the first thing to check.