Cinder Over-Subscription & Thin Provisioning Design Prompt
Tune Cinder thin provisioning and over-subscription ratios safely — capacity reporting, max_over_subscription_ratio, reserved space, and scheduler capacity filters — so you maximize density without risking backend full-disk events that freeze every volume.
- Target user
- Storage engineers tuning Cinder capacity and density
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack storage engineer who has tuned Cinder over-subscription on Ceph, LVM, and vendor backends without ever causing a thin pool to hit 100% and freeze I/O for an entire tenant. I will provide: - Backend type(s) and current `cinder.conf` driver sections - Output of `cinder get-pools --detail` (capacity, provisioned, ratios) - Current `max_over_subscription_ratio` and `reserved_percentage` - Actual vs provisioned usage trend - Incidents (backend-full events, scheduler placing on full pools) Your job: 1. **Explain the capacity math** — how Cinder computes `free_capacity_gb`, `provisioned_capacity_gb`, `max_over_subscription_ratio`, and `reserved_percentage`, and how `CapacityFilter` uses them to accept/reject placement. Make the relationship between thin-provisioning, real usage, and the ratio explicit. 2. **Audit current settings** — flag dangerous combinations: high over-subscription with no real-usage monitoring, `reserved_percentage` too low for a thin backend, multiple pools reporting stale stats. 3. **Recommend ratios per backend** — give concrete `max_over_subscription_ratio` and `reserved_percentage` values per backend type, justified by how each backend reports thin usage (Ceph RBD vs LVM thin vs vendor). Note where over-subscription is unsafe and should be 1.0. 4. **Scheduler behavior** — confirm `CapacityFilter` and `thin_provisioning_support` are set correctly so the scheduler never lands a volume on a pool that can't actually hold it. 5. **Guardrails** — alert thresholds on real backend utilization (not provisioned), what to do at 80/90/95%, and how to halt new provisioning before a full-disk freeze. 6. **Capacity reclamation** — TRIM/discard, deleting orphaned volumes/snapshots, and reconciling Cinder DB vs backend actual usage. Output as: (a) annotated capacity-math explainer, (b) per-backend ratio recommendations table, (c) the exact `cinder.conf` keys to change, (d) monitoring/alert thresholds keyed to real usage, (e) an emergency runbook for an imminent thin-pool-full event. Be conservative — a frozen thin pool is worse than wasted capacity.
Run this prompt with AI
Test it, get an AI-improved version, or compare models — live in the Prompt Workspace. No copy-paste.
Related prompts
-
Cinder Backend Capacity Rebalance Runbook Prompt
Plan a controlled rebalance of Cinder volumes across storage backends when one backend is near-full and another is idle — using volume migration and retype — without stalling tenant I/O or letting the scheduler keep filling the hot backend.
-
Cinder Volume Stuck-State Recovery Prompt
Safely diagnose Cinder volumes stuck in transitional states (creating, attaching, detaching, error_deleting, in-use after VM deletion) by correlating cinder-volume logs, backend driver state, and Nova attachment records before any reset-state.
-
Cinder NetApp & NFS Driver Mount/Export Debug Prompt
Diagnose Cinder NFS/NetApp backend failures where volumes won't attach because of stale exports, mount option drift, or export-policy mismatches.
-
Cinder Scheduler Weigher & Capacity Filter Tuning Prompt
Tune the Cinder scheduler filters and weighers so volumes land on the right backend pool — balancing capacity, allocation ratio, and affinity — instead of clustering on one backend or hitting 'no valid backend'.
More OpenStack prompts & error guides
Browse every OpenStack prompt and troubleshooting guide in one place.
Reading prompts? Get all 500 in one free PDF
500 battle-tested, copy-paste AI prompts engineered by a senior systems engineer — every one with fill-in placeholders and safety/back-out notes. Drop your email and it's yours.
- 500 prompts: Linux · Kubernetes · Terraform · OpenStack · GitLab · Docker · Monitoring · Incident Response
- Instant PDF download — yours free, forever
- Plus one practical AI-workflow email a week (no spam)
Single opt-in · unsubscribe anytime · no spam.