how to keep pruning the chain store,it grows so fast ! #5665
-
the chain store grows so fast,my disk is going to be full~ |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 1 reply
-
Yeah, the chain grows pretty fast, you can compact the chain and pull down a pruned chain though to get it back under control. I've been doing it every 4-6 weeks. Link below has directions on how to do it, just be prepared that it's going to take a few hours at least for it to download the new chain and the daemon will be down during that time, so do it as part of maintenance or something. https://docs.filecoin.io/get-started/lotus/chain/#compacting-the-chain-data |
Beta Was this translation helpful? Give feedback.
-
The snapshots can be downloaded in advance while the old chain is still running. Then import the snapshot from the local disk |
Beta Was this translation helpful? Give feedback.
Yeah, the chain grows pretty fast, you can compact the chain and pull down a pruned chain though to get it back under control. I've been doing it every 4-6 weeks. Link below has directions on how to do it, just be prepared that it's going to take a few hours at least for it to download the new chain and the daemon will be down during that time, so do it as part of maintenance or something.
https://docs.filecoin.io/get-started/lotus/chain/#compacting-the-chain-data