Closed naviocean closed 1 year ago
Yes, i am currently in the process of updating all the snapshots in preparation for an Erigon version upgrade. Please try back tomorrow.
@allada Do I have to download nodes, parlia, and chaindata again?
Sadly, probably.
However, because #38 found that the current version that was uploaded is corrupt. There is an interm version that does work that you can use. To download it, you need to run something like:
zfs destroy tank/erigon_data -R -f
s3pcp --requester-pays s3://public-blockchain-snapshots/snap.zfs.zstd | pv | pzstd -p $(nproc) -q -d -f | zfs recv tank/erigon_data
Then mount them with something like:
zfs set mountpoint=/erigon/data tank/erigon_data
zfs set mountpoint=/erigon/data/bsc tank/erigon_data/bsc
zfs set mountpoint=/erigon/data/bsc/chaindata tank/erigon_data/bsc/chaindata
zfs set mountpoint=/erigon/data/bsc/nodes tank/erigon_data/bsc/nodes
zfs set mountpoint=/erigon/data/bsc/parlia tank/erigon_data/bsc/parlia
zfs set mountpoint=/erigon/data/bsc/snapshots tank/erigon_data/bsc/snapshots
Then restart erigon with systemctl start erigon-bsc
This will download and mount all the files in 1 shot.
You'll also need to delete the snapshots it makes or you'll run out of disk space after a while or running it.
See this comment and comments below If you get stuck: https://github.com/allada/bsc-archive-snapshot/issues/38#issuecomment-1306622030
@allada does the updating snapshot support Erigon v2.29.0?
Yes the new version that is uploading now had the database upgraded to v2.29.0
. The interm snapshot above was on v2.28.1
, which will require an additional few hours of indexing the snapshots folder if you need/want to use v2.29.0
.
@allada thank you so much, I'll try back tomorrow.
Closing due to inactivity.
First of all, Thank you so much for sharing BSC snapshot. Based on your bash script, I've tried to download snapshots but failed.
Here is debug information