Title: Fatal LevelDB error: IO error... using mergerfs Post by: lcharles123 on April 05, 2023, 03:27:14 PM Bitcoin Client Software and Version Number: Bitcoin Core version v24.0.0 (release build)
Operating System: Linux casa2 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux System Hardware Specs: 4GB RAM , 4 Cores Intel(R) Atom(TM) CPU D525 , 2 HDDs 500GB pooled with mergerfs: total of around 1 TB Description of Problem: I have some issues with this node. I think is a issue with mergerfs. I tested the system, filled all of the ~1 TB pool space with 100MB files and worked fine. Started syncing from scratch, have downloaded around 20GB and occurred a irrecoverable error, because -reindex did not worked: 2023-04-05T14:35:47Z Fatal LevelDB error: IO error: /home/bob/bitcoin-core/.bitcoin/blocks/index/000005.ldb: No such device I does not have physical access to this computer now. Code: $ ls blocks/index Code: root@casa2:~# cat /etc/fstab Log Files from the Bitcoin Client: https://pastebin.com/Q4htt3Ue Someone uses mergerfs or know if the mount options are ok? Thank you!! Title: Re: Fatal LevelDB error: IO error... using mergerfs Post by: BitMaxz on April 05, 2023, 04:28:05 PM How did you run the -reindex?
I never heard someone use mergefs for Bitcoin node but it looks like you are trying to combine two hard drives? Bitcoin core might be confused on reading the drive. If I were you better not to use mergerfs instead use the 2nd drive or external drive as a Bitcoin directory for downloaded blocks and point the Bitcoin core manually on that drive(path). Title: Re: Fatal LevelDB error: IO error... using mergerfs Post by: ABCbits on April 06, 2023, 11:50:20 AM Operating System: Linux casa2 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux I'm not aware of any Linux distro called casa? By any chance, do you own computer created by https://keys.casa/ (https://keys.casa/) (which no longer receive update since 2-3 years ago)? Started syncing from scratch, have downloaded around 20GB and occurred a irrecoverable error, because -reindex did not worked: 2023-04-05T14:35:47Z Fatal LevelDB error: IO error: /home/bob/bitcoin-core/.bitcoin/blocks/index/000005.ldb: No such device I does not have physical access to this computer now. After you saw this error, did you check whether you can access /home and perform file read/write? Someone uses mergerfs or know if the mount options are ok? This isn't related with Bitcoin Core, so i expect you have better luck if you ask this question on mergerfs issue page or it's discord community. Title: Re: Fatal LevelDB error: IO error... using mergerfs Post by: lcharles123 on April 06, 2023, 12:27:07 PM How did you run the -reindex? I Just run ./bitcoind -reindexI never heard someone use mergefs for Bitcoin node but it looks like you are trying to combine two hard drives? Bitcoin core might be confused on reading the drive. If I were you better not to use mergerfs instead use the 2nd drive or external drive as a Bitcoin directory for downloaded blocks and point the Bitcoin core manually on that drive(path). Yes I choose mergerfs because it is easy to replace and add drives without effort or losing data. There is some other alternatives to easy combine drives? Operating System: Linux casa2 5.10.0-20-amd64 #1 SMP Debian 5.10.158-2 (2022-12-13) x86_64 GNU/Linux I'm not aware of any Linux distro called casa? By any chance, do you own computer created by https://keys.casa/ (https://keys.casa/) (which no longer receive update since 2-3 years ago)? Started syncing from scratch, have downloaded around 20GB and occurred a irrecoverable error, because -reindex did not worked: 2023-04-05T14:35:47Z Fatal LevelDB error: IO error: /home/bob/bitcoin-core/.bitcoin/blocks/index/000005.ldb: No such device I does not have physical access to this computer now. After you saw this error, did you check whether you can access /home and perform file read/write? Someone uses mergerfs or know if the mount options are ok? This isn't related with Bitcoin Core, so i expect you have better luck if you ask this question on mergerfs issue page or it's discord community. Thank you all for the answers! Title: Re: Fatal LevelDB error: IO error... using mergerfs Post by: nc50lc on April 06, 2023, 12:45:09 PM I have some issues with this node. I think is a issue with mergerfs. I tested the system, filled all of the ~1 TB pool space with 100MB files and worked fine. Why are you using -loadblock=boostrap.dat?Started syncing from scratch, have downloaded around 20GB and occurred a irrecoverable error, because -reindex did not worked: Have you downloaded a bootstrap file containing the full blockchain? Asked this because you've mentioned that you "started from scratch". If you didn't intended to use -loadblock, I'd suggest you to just let the node sync normally by skipping that command line option. Also, try to set the default start-up block verification first and just change them to your preference later once it's stable. Specifically: checkblocks="24" which is set a bit high from the default (6) and checklevel="0" which skips all verification of checkblocks. If you can afford to discard the 20GB of already downloaded blocks and since -reindex didn't work, you can try to start with fresh datadir. (backup your current datadir before doing so) Title: Re: Fatal LevelDB error: IO error... using mergerfs Post by: BitMaxz on April 06, 2023, 10:44:16 PM I Just run ./bitcoind -reindex Yes Can you tell us what error did you get when you enter the -reindex command to the terminal? When performing this command did you close your Bitcoin core wallet? If not, try it again and make sure to close the bitcoin core wallet or go to wallet folder and open terminal there and use this command Code: ./wallet-cli stop |