Post
Topic
Board Bitcoin Technical Support
Merits 6 from 2 users
Topic OP
Fatal LevelDB error: IO error... using mergerfs
by
lcharles123
on 05/04/2023, 15:27:14 UTC
⭐ Merited by LoyceV (4) ,ETFbitcoin (2)
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
000003.log  000004.log  CURRENT  LOCK  MANIFEST-000002

Code:
root@casa2:~# cat /etc/fstab
# <file system> <mount point>   <type>  <options>       <dump>  <pass>
# / was on /dev/sda5 during installation
UUID=85701e6a-0a36-4295-8f57-41bb44eb53bc /               ext4    noatime,nodiratime,errors=remount-ro 0       1
# /boot was on /dev/sda1 during installation
UUID=819cb633-8fa4-4384-843e-486d7ce3c53c /boot           ext4    defaults        0       2
# /home was on /dev/sda6 during installation
# partition with system
UUID=4551582e-57a9-4a4c-9a95-4b5e3d1df2d6 /mnt/hdd1       ext4    noatime,nodiratime        0       0

# 2nd partition,    mount /dev/sdb1 /mnt/hdd2
UUID=661363b3-eec9-4cf6-a1a0-0ee06df52604 /mnt/hdd2        ext4    noatime,nodiratime        0       0
# mergint the two mount points into home
/mnt/hdd1:/mnt/hdd2                       /home          fuse.mergerfs  fsname=mergerFS,use_ino,cache.files=off,dropcacheonclose=true,allow_other,category.create=mfs

Log Files from the Bitcoin Client: https://pastebin.com/Q4htt3Ue

Someone uses mergerfs or know if the mount options are ok?
Thank you!!