Coder Social home page Coder Social logo

Comments (11)

martinboehm avatar martinboehm commented on August 15, 2024 3

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.

pratikspatil024 avatar pratikspatil024 commented on August 15, 2024

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.

0x090909 avatar 0x090909 commented on August 15, 2024

@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.

martinboehm avatar martinboehm commented on August 15, 2024

@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.

0x090909 avatar 0x090909 commented on August 15, 2024

@martinboehm https://snapshots.vaultstaking.com/polygon/

This is another snapshot of the chaindata, thank me later

from bor.

martinboehm avatar martinboehm commented on August 15, 2024

@0x090909 Thank you!

from bor.

0x090909 avatar 0x090909 commented on August 15, 2024

@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.

martinboehm avatar martinboehm commented on August 15, 2024

@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.

0x090909 avatar 0x090909 commented on August 15, 2024

@martinboehm what is your configuration? in terms of storage, are you keeping all the chain in a NVME? or NVME + HDD

from bor.

martinboehm avatar martinboehm commented on August 15, 2024

@0x090909 All on NVME.

from bor.

cffls avatar cffls commented on August 15, 2024

Looks like the solution above worked. Closing this issue. Feel free to reopen if the issue still exists.

from bor.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.