Rasp Pi 4 GB Sync from fork point failed err: database disk image is malformed[Bug] #9881
Replies: 3 comments
-
SD cards are not able to run the DB because there are too many I/O requests - which will swamp the SD card small over-provisioning and lack of support for TRIM. This can easily result in extremely poor performance for any SD card. I can't say for sure this would also cause any DB corruption - but the end result is that the SD card is not a recommended place for the DB. One other item to check is if you have any setting for db_sync in config.yaml |
Beta Was this translation helpful? Give feedback.
-
About SD, its strange because i have another Pi without any problem. Only difference is the 8GB and perhaps is not swaping but its strange because it work for days/week until it get wrong This is the info i found about sync but i didnt find any db_sync in config yaml. How do i change that chia folder is on an external device? CLI Ubuntu? wallet: short_sync_blocks_behind_threshold: 20 |
Beta Was this translation helpful? Give feedback.
-
There are multiple ways to change the directory - one of the easiest is to just symlink the entire ~/.chia/mainnet directory to your external SSD drive. However, you can also symlink just the DBs or DB directories - or you can edit the path in config.yaml. If you are already synced, then often the SD card might be able to stay synced. But the syncing from 0 today results in a large amount of I/O to the drive which most SD cards cannot handle. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
What happened?
Dear All,
The database malformed 3 times in less than a month and i dont know what is going on as i didnt change anything.
Model: Rasperry Pi 4 - 4GB / Running Farmer (Chia start farmer)
"High end" microsd = 128 GB (Database is around 40 GB)
I rebooted, shutdown, stop all -d, etc but i didnt stop using kill -9
Thanks for your support.
Version
1.2.11
What platform are you using?
Pi4
What ui mode are you using?
CLI
Relevant log output
Beta Was this translation helpful? Give feedback.
All reactions