Managing Disk Space - Teranode
Key considerations and strategies:
-
Monitoring Disk Usage:
- Regularly check available disk space using tools like
df -h
or through the Grafana dashboard. - Set up alerts to notify you when disk usage reaches certain thresholds (e.g., 80% or 85% full).
- Regularly check available disk space using tools like
-
Understanding Data Growth:
- The blockchain data, transaction store, and subtree store will grow over time as new blocks are added to the network.
- Growth rate depends on network activity and can vary significantly.
-
Pruning Strategies:
- Teranode implements regular pruning of old data that's no longer needed for immediate operations.
- While retention policies for different data types are configurable, this is not documented in this guide.
-
Log Management:
- Consider offloading logs to a separate storage system or log management service.
-
Backup and Recovery:
- Implement a backup strategy that doesn't interfere with disk space management.
- Ensure backups are stored on separate physical media or cloud storage.
-
Performance Impact:
- Be aware that very high disk usage (>90%) can negatively impact performance.
- Monitor I/O performance alongside disk space usage.