Best way to clear disk space? #7680
-
Hello, im using lotus wallet on my VPS and its took 160+GB ssd for now, what the best way to clear space and keep it used like 100GB for chain data store? Thanks, |
Beta Was this translation helpful? Give feedback.
Replies: 4 comments
-
Hey 😄 You can prune the chain by following this guide: https://docs.filecoin.io/get-started/lotus/chain/#compacting-the-chain-data |
Beta Was this translation helpful? Give feedback.
-
@rjan90 yes its works i think but i do not have any free space on the server right now and i can not do anything, can i delete part of all chain data? |
Beta Was this translation helpful? Give feedback.
-
@eskrano Then I would stop the daemon, remove the content in |
Beta Was this translation helpful? Give feedback.
-
To be honest. 160Gb is really not enough for running a lotus node. you'll have to prune the chain constantly. if so, you should write a script to do this job. |
Beta Was this translation helpful? Give feedback.
Hey 😄 You can prune the chain by following this guide: https://docs.filecoin.io/get-started/lotus/chain/#compacting-the-chain-data