Closed 0x1un closed 1 year ago
erigon-0410.tar.lz4
decompressed mdbx.dat file size: 5.5T; Is this the correct size? Is it possible that the file is corrupted?
@0x1un This size makes sense
erigon-0410.tar.lz4
decompressed mdbx.dat file size: 5.5T; Is this the correct size? Is it possible that the file is corrupted?
gm, did you get it resolved?
my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
@0xStrobe
gm, did you get it resolved? my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
I did not solve the problem, and I gave up using erigon in favor of geth-bsc. Pruning the archive node of geth-bsc and keeping two million blocks barely solved my current dilemma.
@0xStrobe
gm, did you get it resolved? my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
I did not solve the problem, and I gave up using erigon in favor of geth-bsc. Pruning the archive node of geth-bsc and keeping two million blocks barely solved my current dilemma.
i think i figured it out!
i used the arg --no-downloader
to bootstrap a new data dir, then stopped erigon, replaced the mdbx.dat we got from here, and restarted erigon.
now it's syncing blocks from 7 days ago, so seems to be working
@0xStrobe
gm, did you get it resolved? my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
I did not solve the problem, and I gave up using erigon in favor of geth-bsc. Pruning the archive node of geth-bsc and keeping two million blocks barely solved my current dilemma.
i think i figured it out!
i used the arg
--no-downloader
to bootstrap a new data dir, then stopped erigon, replaced the mdbx.dat we got from here, and restarted erigon.now it's syncing blocks from 7 days ago, so seems to be working
Thank you for your help. I will decompress the package and try your method again later.
@0xStrobe
gm, did you get it resolved? my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
I did not solve the problem, and I gave up using erigon in favor of geth-bsc. Pruning the archive node of geth-bsc and keeping two million blocks barely solved my current dilemma.
i think i figured it out! i used the arg
--no-downloader
to bootstrap a new data dir, then stopped erigon, replaced the mdbx.dat we got from here, and restarted erigon. now it's syncing blocks from 7 days ago, so seems to be workingThank you for your help. I will decompress the package and try your method again later.
i might have bad news - the node finished syncing to head overnight, but it seems that this is not an archive node or my method of bootstrapping from that snapshot was incorrect, since i can't query traces from before about 10 days ago or transactions from a little further back 😭
cc @calmbeing, hopefully u have more ideas, thanks in advance! :)
@0xStrobe
gm, did you get it resolved? my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
I did not solve the problem, and I gave up using erigon in favor of geth-bsc. Pruning the archive node of geth-bsc and keeping two million blocks barely solved my current dilemma.
i think i figured it out! i used the arg
--no-downloader
to bootstrap a new data dir, then stopped erigon, replaced the mdbx.dat we got from here, and restarted erigon. now it's syncing blocks from 7 days ago, so seems to be workingThank you for your help. I will decompress the package and try your method again later.
i might have bad news - the node finished syncing to head overnight, but it seems that this is not an archive node or my method of bootstrapping from that snapshot was incorrect, since i can't query traces from before about 10 days ago or transactions from a little further back 😭
cc @calmbeing, hopefully u have more ideas, thanks in advance! :)
@0xStrobe
I seem to only be able to get data after 22,800,000. still using erigon-0410.tar.lz4
. Which API are you using? I'm using the following RPC:
curl --location --request POST '127.0.0.1:8545' \
--header 'Content-Type: application/json' \
--data-raw '{
"jsonrpc": "2.0",
"method": "debug_traceBlockByNumber",
"params": [
"0x15be680",
{"tracer": "callTracer", "timeout": "200s"}
],
"id": 1
}'
Here is the current log of my node:
[INFO] [06-07|05:01:02.929] [p2p] GoodPeers eth66=8
[INFO] [06-07|05:01:13.966] [5/15 Bodies] No block bodies to write in this log period block number=27558174
[INFO] [06-07|05:01:33.974] [5/15 Bodies] No block bodies to write in this log period block number=27558174
[INFO] [06-07|05:01:53.968] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=104.1KB wasted/sec=0B remaining=1322450 delivered=41013 cache=256.0MB alloc=509.8MB sys=885.0MB
[INFO] [06-07|05:02:13.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=208.1KB wasted/sec=0B remaining=1322450 delivered=41146 cache=256.0MB alloc=557.3MB sys=885.0MB
[INFO] [06-07|05:02:33.964] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=308.4KB wasted/sec=0B remaining=1322450 delivered=41372 cache=256.0MB alloc=396.9MB sys=885.0MB
[INFO] [06-07|05:02:53.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=414.7KB wasted/sec=0B remaining=1322450 delivered=41674 cache=256.0MB alloc=457.1MB sys=885.0MB
[INFO] [06-07|05:03:02.930] [p2p] GoodPeers eth66=10
[INFO] [06-07|05:03:13.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=1.0MB wasted/sec=0B remaining=1322450 delivered=42375 cache=256.0MB alloc=581.6MB sys=885.0MB
[INFO] [06-07|05:03:33.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=206.7KB wasted/sec=0B remaining=1322450 delivered=42515 cache=256.0MB alloc=639.5MB sys=885.0MB
[INFO] [06-07|05:03:53.968] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=313.7KB wasted/sec=0B remaining=1322450 delivered=42724 cache=256.0MB alloc=693.9MB sys=885.0MB
[INFO] [06-07|05:04:13.965] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=153.4KB wasted/sec=54.7KB remaining=1322387 delivered=42808 cache=254.9MB alloc=739.8MB sys=885.0MB
[INFO] [06-07|05:04:33.973] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=53.7KB wasted/sec=48.9KB remaining=1322387 delivered=42852 cache=255.9MB alloc=402.9MB sys=885.0MB
[INFO] [06-07|05:04:53.964] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=390.8KB wasted/sec=24.5KB remaining=1322387 delivered=43112 cache=256.0MB alloc=482.8MB sys=885.0MB
[INFO] [06-07|05:05:02.929] [p2p] GoodPeers eth66=10
[INFO] [06-07|05:05:13.967] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=215.5KB wasted/sec=96.0KB remaining=1322387 delivered=43253 cache=256.0MB alloc=531.9MB sys=885.0MB
[INFO] [06-07|05:05:33.965] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=624.3KB wasted/sec=104.1KB remaining=1322387 delivered=43665 cache=256.0MB alloc=627.8MB sys=885.0MB
[INFO] [06-07|05:05:53.965] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=413.1KB wasted/sec=0B remaining=1322387 delivered=43909 cache=256.0MB alloc=700.3MB sys=885.0MB
[INFO] [06-07|05:06:13.963] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=206.0KB wasted/sec=0B remaining=1322387 delivered=44038 cache=256.0MB alloc=747.7MB sys=885.2MB
[INFO] [06-07|05:06:33.963] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=315.8KB wasted/sec=0B remaining=1322387 delivered=44206 cache=256.0MB alloc=421.6MB sys=885.2MB
[INFO] [06-07|05:06:53.963] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=311.4KB wasted/sec=0B remaining=1322387 delivered=44417 cache=256.0MB alloc=477.9MB sys=885.2MB
[INFO] [06-07|05:07:02.929] [p2p] GoodPeers eth66=10
[INFO] [06-07|05:07:13.964] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=104.6KB wasted/sec=0B remaining=1322387 delivered=44467 cache=256.0MB alloc=528.2MB sys=885.2MB
[INFO] [06-07|05:07:33.975] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=0B wasted/sec=103.3KB remaining=1322387 delivered=44467 cache=256.0MB alloc=567.6MB sys=885.2MB
[INFO] [06-07|05:07:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:08:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:08:33.964] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:08:53.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:09:02.930] [p2p] GoodPeers eth66=9
[INFO] [06-07|05:09:13.978] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:09:33.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:09:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:10:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:10:33.974] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:10:53.988] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:11:02.938] [p2p] GoodPeers eth66=9
[INFO] [06-07|05:11:13.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:11:33.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:11:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:12:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:12:33.968] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:12:53.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:13:02.929] [p2p] GoodPeers eth66=9
[INFO] [06-07|05:13:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:13:33.967] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:13:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:14:13.967] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:14:33.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:14:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:15:02.930] [p2p] GoodPeers eth66=8
[INFO] [06-07|05:15:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
[INFO] [06-07|05:15:33.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
Here is the current startup config of my node:
apiVersion: apps/v1
kind: StatefulSet
metadata:
name: erigon-bsc-archive-1
namespace: fullnode
labels:
app: erigon-bsc-archive-1
component: core
spec:
serviceName: "erigon-bsc-archive-1"
replicas: 1
selector:
matchLabels:
app: erigon-bsc-archive-1
component: core
template:
metadata:
labels:
app: erigon-bsc-archive-1
component: core
spec:
terminationGracePeriodSeconds: 600
affinity:
podAntiAffinity:
requiredDuringSchedulingIgnoredDuringExecution:
- labelSelector:
matchExpressions:
- key: kubernetes.io/hostname
operator: In
values:
- "worker-04-192.168.224.75"
topologyKey: "kubernetes.io/hostname"
priorityClassName: system-cluster-critical
hostNetwork: false
dnsPolicy: ClusterFirstWithHostNet
initContainers:
- args:
- -c
- mkdir -p /data && chown -R 1000:1000 /data
command:
- /bin/sh
image: harbor.local/ops/centos:latest
imagePullPolicy: IfNotPresent
name: init
securityContext:
privileged: true
volumeMounts:
- mountPath: /data
name: erigon-bsc-archive-data-1
imagePullSecrets:
- name: harbor-auth
containers:
- name: erigon
image: harbor.local/da/erigon-bsc:v1.1.0 # node-real bsc-erigon https://github.com/node-real/bsc-erigon
args:
- "--chain=bsc"
- "--http"
- "--http.api=eth,debug,net,trace,web3,erigon"
- "--private.api.addr=0.0.0.0:9090"
- "--http.port=8545"
- "--http.addr=0.0.0.0"
- "--txpool.disable"
- "--db.pagesize=16k"
- "--datadir=/data"
- "--sentry.drop-useless-peers"
- "--p2p.protocol=66"
- "--no-downloader"
ports:
- name: api
containerPort: 9090
- name: rpc
containerPort: 8545
volumeMounts:
- name: erigon-bsc-archive-data-1
mountPath: /data
volumeClaimTemplates:
- metadata:
name: erigon-bsc-archive-data-1
spec:
accessModes: ["ReadWriteOnce"]
storageClassName: erigon-bsc-archive-pv-1
resources:
requests:
storage: 4000Gi
@0xStrobe
gm, did you get it resolved? my erigon also was trying to download all snapshots via torrents. my mdbx.dat is also at around 5.5T and i dont think mine was corrupted.
I did not solve the problem, and I gave up using erigon in favor of geth-bsc. Pruning the archive node of geth-bsc and keeping two million blocks barely solved my current dilemma.
i think i figured it out! i used the arg
--no-downloader
to bootstrap a new data dir, then stopped erigon, replaced the mdbx.dat we got from here, and restarted erigon. now it's syncing blocks from 7 days ago, so seems to be workingThank you for your help. I will decompress the package and try your method again later.
i might have bad news - the node finished syncing to head overnight, but it seems that this is not an archive node or my method of bootstrapping from that snapshot was incorrect, since i can't query traces from before about 10 days ago or transactions from a little further back 😭 cc @calmbeing, hopefully u have more ideas, thanks in advance! :)
@0xStrobe
I seem to only be able to get data after 22,800,000. still using
erigon-0410.tar.lz4
. Which API are you using? I'm using the following RPC:curl --location --request POST '127.0.0.1:8545' \ --header 'Content-Type: application/json' \ --data-raw '{ "jsonrpc": "2.0", "method": "debug_traceBlockByNumber", "params": [ "0x15be680", {"tracer": "callTracer", "timeout": "200s"} ], "id": 1 }'
Here is the current log of my node:
[INFO] [06-07|05:01:02.929] [p2p] GoodPeers eth66=8 [INFO] [06-07|05:01:13.966] [5/15 Bodies] No block bodies to write in this log period block number=27558174 [INFO] [06-07|05:01:33.974] [5/15 Bodies] No block bodies to write in this log period block number=27558174 [INFO] [06-07|05:01:53.968] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=104.1KB wasted/sec=0B remaining=1322450 delivered=41013 cache=256.0MB alloc=509.8MB sys=885.0MB [INFO] [06-07|05:02:13.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=208.1KB wasted/sec=0B remaining=1322450 delivered=41146 cache=256.0MB alloc=557.3MB sys=885.0MB [INFO] [06-07|05:02:33.964] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=308.4KB wasted/sec=0B remaining=1322450 delivered=41372 cache=256.0MB alloc=396.9MB sys=885.0MB [INFO] [06-07|05:02:53.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=414.7KB wasted/sec=0B remaining=1322450 delivered=41674 cache=256.0MB alloc=457.1MB sys=885.0MB [INFO] [06-07|05:03:02.930] [p2p] GoodPeers eth66=10 [INFO] [06-07|05:03:13.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=1.0MB wasted/sec=0B remaining=1322450 delivered=42375 cache=256.0MB alloc=581.6MB sys=885.0MB [INFO] [06-07|05:03:33.965] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=206.7KB wasted/sec=0B remaining=1322450 delivered=42515 cache=256.0MB alloc=639.5MB sys=885.0MB [INFO] [06-07|05:03:53.968] [5/15 Bodies] Downloading block bodies block_num=27558174 delivery/sec=313.7KB wasted/sec=0B remaining=1322450 delivered=42724 cache=256.0MB alloc=693.9MB sys=885.0MB [INFO] [06-07|05:04:13.965] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=153.4KB wasted/sec=54.7KB remaining=1322387 delivered=42808 cache=254.9MB alloc=739.8MB sys=885.0MB [INFO] [06-07|05:04:33.973] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=53.7KB wasted/sec=48.9KB remaining=1322387 delivered=42852 cache=255.9MB alloc=402.9MB sys=885.0MB [INFO] [06-07|05:04:53.964] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=390.8KB wasted/sec=24.5KB remaining=1322387 delivered=43112 cache=256.0MB alloc=482.8MB sys=885.0MB [INFO] [06-07|05:05:02.929] [p2p] GoodPeers eth66=10 [INFO] [06-07|05:05:13.967] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=215.5KB wasted/sec=96.0KB remaining=1322387 delivered=43253 cache=256.0MB alloc=531.9MB sys=885.0MB [INFO] [06-07|05:05:33.965] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=624.3KB wasted/sec=104.1KB remaining=1322387 delivered=43665 cache=256.0MB alloc=627.8MB sys=885.0MB [INFO] [06-07|05:05:53.965] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=413.1KB wasted/sec=0B remaining=1322387 delivered=43909 cache=256.0MB alloc=700.3MB sys=885.0MB [INFO] [06-07|05:06:13.963] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=206.0KB wasted/sec=0B remaining=1322387 delivered=44038 cache=256.0MB alloc=747.7MB sys=885.2MB [INFO] [06-07|05:06:33.963] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=315.8KB wasted/sec=0B remaining=1322387 delivered=44206 cache=256.0MB alloc=421.6MB sys=885.2MB [INFO] [06-07|05:06:53.963] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=311.4KB wasted/sec=0B remaining=1322387 delivered=44417 cache=256.0MB alloc=477.9MB sys=885.2MB [INFO] [06-07|05:07:02.929] [p2p] GoodPeers eth66=10 [INFO] [06-07|05:07:13.964] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=104.6KB wasted/sec=0B remaining=1322387 delivered=44467 cache=256.0MB alloc=528.2MB sys=885.2MB [INFO] [06-07|05:07:33.975] [5/15 Bodies] Downloading block bodies block_num=27558237 delivery/sec=0B wasted/sec=103.3KB remaining=1322387 delivered=44467 cache=256.0MB alloc=567.6MB sys=885.2MB [INFO] [06-07|05:07:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:08:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:08:33.964] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:08:53.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:09:02.930] [p2p] GoodPeers eth66=9 [INFO] [06-07|05:09:13.978] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:09:33.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:09:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:10:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:10:33.974] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:10:53.988] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:11:02.938] [p2p] GoodPeers eth66=9 [INFO] [06-07|05:11:13.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:11:33.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:11:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:12:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:12:33.968] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:12:53.962] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:13:02.929] [p2p] GoodPeers eth66=9 [INFO] [06-07|05:13:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:13:33.967] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:13:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:14:13.967] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:14:33.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:14:53.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:15:02.930] [p2p] GoodPeers eth66=8 [INFO] [06-07|05:15:13.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237 [INFO] [06-07|05:15:33.963] [5/15 Bodies] No block bodies to write in this log period block number=27558237
Here is the current startup config of my node:
apiVersion: apps/v1 kind: StatefulSet metadata: name: erigon-bsc-archive-1 namespace: fullnode labels: app: erigon-bsc-archive-1 component: core spec: serviceName: "erigon-bsc-archive-1" replicas: 1 selector: matchLabels: app: erigon-bsc-archive-1 component: core template: metadata: labels: app: erigon-bsc-archive-1 component: core spec: terminationGracePeriodSeconds: 600 affinity: podAntiAffinity: requiredDuringSchedulingIgnoredDuringExecution: - labelSelector: matchExpressions: - key: kubernetes.io/hostname operator: In values: - "worker-04-192.168.224.75" topologyKey: "kubernetes.io/hostname" priorityClassName: system-cluster-critical hostNetwork: false dnsPolicy: ClusterFirstWithHostNet initContainers: - args: - -c - mkdir -p /data && chown -R 1000:1000 /data command: - /bin/sh image: harbor.local/ops/centos:latest imagePullPolicy: IfNotPresent name: init securityContext: privileged: true volumeMounts: - mountPath: /data name: erigon-bsc-archive-data-1 imagePullSecrets: - name: harbor-auth containers: - name: erigon image: harbor.local/da/erigon-bsc:v1.1.0 # node-real bsc-erigon https://github.com/node-real/bsc-erigon args: - "--chain=bsc" - "--http" - "--http.api=eth,debug,net,trace,web3,erigon" - "--private.api.addr=0.0.0.0:9090" - "--http.port=8545" - "--http.addr=0.0.0.0" - "--txpool.disable" - "--db.pagesize=16k" - "--datadir=/data" - "--sentry.drop-useless-peers" - "--p2p.protocol=66" - "--no-downloader" ports: - name: api containerPort: 9090 - name: rpc containerPort: 8545 volumeMounts: - name: erigon-bsc-archive-data-1 mountPath: /data volumeClaimTemplates: - metadata: name: erigon-bsc-archive-data-1 spec: accessModes: ["ReadWriteOnce"] storageClassName: erigon-bsc-archive-pv-1 resources: requests: storage: 4000Gi
same rpc method. also not working for the debug_
namespace
i asked around in the erigon discord tho and was informed that the "snapshots" directory should not be ignored, since they are actually not the "snapshots" in the backup snapshots sense, but are external immutable databases where a lot of the data erigon needs for the historical stuff is stored
i restarted a sync, this time using all default settings aka start up with torrenting, then i exited the node and copypasta'ed the 5.5 TB mdbx.db into the data dir after the 1st stage (snapshots stage) was completed
now it's still syncing but it went through stage 7 (execution) very quickly, and i haven't seen any errors yet, so likely this is the right way to sync it
@0x1un i got it! the ppl in the erigon discord were very helpful
after trying so many times, my node finally started working and i believe this is the best workflow to sync a bsc erigon node so far:
bsc-erigon
repo: https://github.com/node-real/bsc-erigondevel
branchgo.mod
file, find the line https://github.com/node-real/bsc-erigon/blob/ae2aad5040801a463d2ca272169d37a95b06158a/go.mod#LL305C34-L305C34 and set the version there to main
instead of v1.0.0
hope its helpful! spent several days on this lol
@0xStrobe
Thank you very much for your response. I will proceed with the approach you suggested, but I must mention that my internet connection is extremely poor, so it may take a significant amount of time. Once I have completed the process, whether successful or not, I will provide an update here.
The problem is solved, as @0xStrobe says
erigon-0410.tar.lz4
snapshot and decompress then;Why does it still download snaphosts ? Below is my log:
K8S deploy yaml:
Thank you~