Hi,
I have a similar issue, that appeared suddenly, and I am unable to fix/debug it on my own. Maybe you can help.
My environment is a Win8.1 Laptop with an SSD, and I am running Bitcoin and Litecoin QT clients.
Since space on SSD is "spare", I moved the datadirectory to a permanently inserted SDXC card (exFat) months ago.
To avoid accidental database corruption (ejecting SD-card; windows hibernation, etc), I keep a backup of the data directory, that I make ~ once a month and that I can use to start off again, if something goes wrong.
Recently both BTC and LTC QT got an update to 0.8.6/0.8.6.1 and worked like a charm, until now.
After syncing and (I think proper) shutdown, I wanted to start the software yesterday morning and it ended with the "Error opening block database. Do you want to rebuild the block database now?" error.
neither clicking ok to reindex, nor aborting gets me back at my db.
I tried several recovery (e.g. going back to my backup), they all failed.
I now focused on the litecon-qt since blockchain size and folder copying/indexing does not take days, but it seems BTC and LTC behave the same.
Even deleting the whole directory (keeping/discarding wallet.dat) before starting, results in the same error when using the datadir on the SD card (which worked fine before).
Now I went back to my main SSD and removed the "datadir" back to default, and redownloaded the blockchain.
moving it to other drives (even network mounted drives) works, but the moment I move it to the SD card, the client ends with the error message.
I have 50GB of free space on the SD card and ran disk-check tools. Also I verified that the card is working by running write/read tests. the card seems ok.
what can cause this issue?
I am posting the Litecon debug info (please bear with me), since i am running tests for filesize/copy-speed limitations witht litecoin right now, as I think it is the same error:
2013-12-20 20:06:12 Litecoin version v0.8.6.1-beta (2013-12-05 22:52:50 -1000)
2013-12-20 20:06:12 Using OpenSSL version OpenSSL 1.0.1c 10 May 2012
2013-12-20 20:06:12 Default data directory C:\Users\MyUsername\AppData\Roaming\Litecoin
2013-12-20 20:06:12 Using data directory E:\crypto-blockchain\Litecoin
2013-12-20 20:06:12 Using at most 125 connections (2048 file descriptors available)
2013-12-20 20:06:12 Using 4 threads for script verification
2013-12-20 20:06:12 init message: Verifiziere Brieftasche...
2013-12-20 20:06:13 dbenv.open LogDir=E:\crypto-blockchain\Litecoin\database ErrorFile=E:\crypto-blockchain\Litecoin\db.log
2013-12-20 20:06:13 Bound to [::]:9333
2013-12-20 20:06:13 Bound to 0.0.0.0:9333
2013-12-20 20:06:13 scrypt: using scrypt-sse2 as detected.
2013-12-20 20:06:13 init message: Lade Blockindex...
2013-12-20 20:06:13 Opening LevelDB in E:\crypto-blockchain\Litecoin\blocks\index
2013-12-20 20:06:29 init message: Lade Blockindex...
2013-12-20 20:06:29 Wiping LevelDB in E:\crypto-blockchain\Litecoin\blocks\index
2013-12-20 20:06:29 Opening LevelDB in E:\crypto-blockchain\Litecoin\blocks\index
2013-12-20 20:06:31 Shutdown : In progress...
2013-12-20 20:06:31 StopNode()
2013-12-20 20:06:31 Flushed 0 addresses to peers.dat 138ms
2013-12-20 20:06:31 Shutdown : done
Can anybody help? Any Ideas?
Why doesnt even the empty directoy work?