simple-optimism-node
simple-optimism-node copied to clipboard
How big a hard drive is needed to run the mainnet archive? Even 6.8T is not enough.
trafficstars
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
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