VISuite Longhorn Disk Capacity Planner

Calculates Longhorn schedulable capacity and PVC allocation impact. Shows Max Elastic (Per‑Node) and Max Elastic (Cluster Avg) plus an adjustable Safe % recommendation (slider + number).

Added: Safe % Slider

Inputs

Disk size
Enter in T (TB) or Gi. Example: 2.5 T or 2328 Gi
Disk Minimal Available (%)
Longhorn reservation. Default often 25%.
%

Replica count
Longhorn replicas per volume (1/2/3).
replicas
Longhorn nodes
Number of nodes with schedulable Longhorn disks.
nodes
Capacity view mode
Per-Node: checks if this disk can schedule volumes locally.
Cluster-Total: multiplies usage by replica count and uses average per node for warnings.

PN count
How many PN PVCs on this node
PNs
PN PVC size (each)
Example: 500 or 700 (Gi)
Gi
PN model PVC (each)
Example: 20 Gi per PN
Gi
PN video PVC (each)
Example: 2 Gi per PN
Gi

Elastic ingest PVC
Usually 20 Gi
Gi
Elastic master PVC
Usually 20 Gi
Gi
RabbitMQ PVC
Example: 10 Gi
Gi

Elastic data PVC (optional)
Enter your planned Elastic data PVC
Gi
Max Elastic formulas
MaxElastic (Per‑Node) = SchedulableGi − BaselineGi
MaxElastic (Cluster Avg) = (SchedulableGi × nodeCount / replicaCount) − BaselineGi

Safe recommendation
SafeElastic = (Safe% / 100) × MaxElastic

Results

Disk size (Gi)
Longhorn schedulable (Gi)
Baseline PVCs (Gi)
Max Elastic (Per‑Node) (Gi)
Max Elastic (Cluster Avg) (Gi)
Mode-based planned usage
Safe Elastic Recommendation
Adjust Safe % (slider or number). Applies to both max values.
Safe %: 80%
50% 95%
Safe % (50–95)

Per‑Node safe target:
Cluster Avg safe target:

Replica placement sanity

Reminder
Even if Cluster Avg looks fine, a single node can still fail if replicas concentrate or a node is tight.
``