Interview Prep/Linux/Migrations, performance and fleet operations

Your team must capacity-plan for a server whose disk grows 4% per week. How do you predict when it fills?

IntermediateScenarioMigrations, performance and fleet operations
Answer

Situation read → Use historical metrics and alert on trends, not thresholds.

What I'd do →

  1. Collect disk usage with node_exporter into Prometheus.
  2. Alert when the forecast says the disk will fill within a week:
predict_linear(node_filesystem_avail_bytes{mountpoint="/data"}[7d], 7*24*3600) < 0
  1. Plan the expansion before the date, and investigate why growth is 4% weekly (retention?).

Why → A fixed 90% threshold alerts too late on fast-growing disks and too early on stable ones.

Interview tip → predict_linear is a great specific detail to mention.

All Linux questions Roadmap: Linux

More on Migrations, performance and fleet operations