Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

How big a hard drive is needed to run the mainnet archive? Even 6.8T is not enough. #141

Open
harveyff opened this issue Apr 25, 2024 · 1 comment

Comments

@harveyff
Copy link

Hi teams,

Thank you for your great work,

I'm trying to run mainnet's archive node using docker. I follow the official example.


NODE_TYPE=archive
OP_NODE__RPC_ENDPOINT=http://172.31.84.237:8545
BEDROCK_SOURCE=download
OP_NODE__L1_BEACON=http://172.31.84.237:8552
HEALTHCHECK__REFERENCE_RPC_PROVIDER=https://mainnet.optimism.io
OP_GETH__HISTORICAL_RPC=https://mainnet.optimism.io
OP_GETH__SYNCMODE=full

My machine is a 6.8T Nvme hard drive. I noticed that 4.9T of bedrock data was downloaded after startup, and then I tried to decompress it. At this time, I was prompted that the machine's hard disk was insufficient. How should I complete the startup and change the machine to a larger hard drive?

[#8eacbb 4,934GiB/4,934GiB(99%) CN:2 DL:81MiB ETA:1s]
[#8eacbb 4,934GiB/4,934GiB(99%) CN:2 DL:69MiB]
[#8eacbb 4,934GiB/4,934GiB(99%) CN:2 DL:61MiB]

04/24 13:32:11 [NOTICE] Download complete: //downloads/bedrock.tar.zst

Download Results:
gid   |stat|avg speed  |path/URI
======+====+===========+=======================================================
8eacbb|OK  |   115MiB/s|//downloads/bedrock.tar.zst

Status Legend:
(OK):download completed.
Extracting bedrock.tar...
tar: mnt/disks/restored/geth/chaindata/55193108.ldb: Wrote only 1536 of 10240 bytes
tar: mnt/disks/restored/geth/chaindata/56728409.ldb: Cannot write: No space left on device
tar: mnt/disks/restored/geth/chaindata/60275493.ldb: Cannot write: No space left on device
tar: mnt/disks/restored/geth/chaindata/66985719.ldb: Cannot write: No space left on device

@MrFrogoz
Copy link

user reth https://reth.rs/run/optimism.html, 70% less space, and you don't need to download a snapshot, you start it from 0 and it does it by itself

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants