# Track disk space as your Rust world grows

[Rust server guides](https://rustsc.com/learn/index.html.md) / [Server management](https://rustsc.com/learn/management/index.html.md)

Measure the free space on the drive that holds the active world before and after a routine save. Repeat at similar points in the wipe cycle so one busy save does not become a long-term estimate.

## Track the drive and the world separately

Find the active world through the server identity in the startup settings. On Linux, `df -h` against that folder shows the space left on its filesystem, while `du -sh` against the folder estimates the space its files occupy. Measure the backup destination separately, especially when it sits on another drive.

## Work out the room a backup needs

This backup used another 8 GB at its peak and left 5 GB of new files behind. Use the peak when checking whether the next job fits, then leave extra room for growth. A growing server can need more room next time.

If the drive loses room faster than the active world grows, measure the other directories before removing saves. After making room, watch one complete save and backup and check the space left afterward.

| When you looked | Free space |
| --- | --- |
| Before the backup | 30 GB |
| Lowest reading during the backup | 22 GB |
| After the backup finished | 25 GB |

## Sources

- [Facepunch Rust dedicated server setup](https://wiki.facepunch.com/rust/Creating-a-server)
- [GNU df manual](https://man7.org/linux/man-pages/man1/df.1.html)
- [GNU du manual](https://man7.org/linux/man-pages/man1/du.1.html)

## Related resources

- [Free disk space](https://rustsc.com/support/guides/free-disk-space/index.html.md)

---

HTML version: https://rustsc.com/learn/management/measure-rust-save-growth-before-disk-fills/
