Comments (11)
It would be greatly beneficial if the parts of the snapshot were extractible individually. Currently, the process involves downloading the parts, merging them into a single large file (and subsequently deleting the individual parts), and then extracting the data from the large file. This necessitates the disk space to be twice as large as the final extracted data.
from bor.
Hi @rmlcu - the size of the snapshot keeps increasing as the chain progresses. So the space requirements will also increase over time. That being said, there are some scripts available on this page which might help you. Also, the total size of the current snapshot is available here.
from bor.
@martinboehm you can extract while downloading with wget using this command
wget -q -O - "part url" | tar -I zstd -xvf -
in "part url" use the list of urls one by one, you get in here https://snapshot-download.polygon.technology/bor-mainnet-parts.txt
from bor.
@0x090909 Thank you for your answer. Unfortunately, it does not work. The parts are not independent, they must be first put together. For example, when trying to extract the first part of heimdall-mumbai snapshot, I get:
wget -q -O - https://snapshot-download.polygon.technology/heimdall-mumbai-snapshot-bulk-2024-02-01-part-aa | tar -I zstd -xvf -
application.db/
application.db/142082.ldb
...
blockstore.db/711218.ldb
/*stdin*\ : Read error (39) : premature end
tar: Unexpected EOF in archive
tar: Unexpected EOF in archive
tar: Error is not recoverable: exiting now
from bor.
@martinboehm https://snapshots.vaultstaking.com/polygon/
This is another snapshot of the chaindata, thank me later
from bor.
@0x090909 Thank you!
from bor.
@martinboehm Hey martin did you manage to fully syncronize? I setup the 7 march snapshot and for a day it went good but at some point I got a bad block error, and my sync stopped. Is your working okay?
My node stopped syncing at block number https://polygonscan.com/block/54467995
please let me know
from bor.
@0x090909 Yes, I downloaded the March 9 snapshot and so far without any problem. I got bad block problems before several times. I followed this https://docs.polygon.technology/pos/how-to/troubleshoot/known-issues/ procedure. Usually the restart helped but once I had to do the "Solution 3" to get it unstuck.
from bor.
@martinboehm what is your configuration? in terms of storage, are you keeping all the chain in a NVME? or NVME + HDD
from bor.
@0x090909 All on NVME.
from bor.
Looks like the solution above worked. Closing this issue. Feel free to reopen if the issue still exists.
from bor.
Related Issues (20)
- Bor facing intermittent issue HOT 2
- Snapshot delivery speed HOT 9
- Bor syncing problem HOT 16
- Bor sync issue HOT 30
- Eth to polygon pos bridge not working as expected HOT 17
- Error when compiling HOT 3
- Request for a Polygon snapshot update HOT 25
- "out of gas" in syncing HOT 3
- Bor snapshot issues HOT 6
- Sync chain from scratch using only 1 server as source HOT 5
- frega soldi
- non ho mai visto un euro in questi anni
- quando mi pagate ? HOT 1
- Genesis mismatch after running bor snapshot prune-block HOT 13
- Crash in eth_getTransactionReceipt after block prune HOT 4
- Unclean shutdown detected HOT 1
- After chain catch up I see no "Imported new chain segment" in logs HOT 10
- Stop pushing bugfix releases as BETA HOT 3
- Gas Price Really High on Amoy Testnet HOT 5
- bor can not sync HOT 19
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from bor.