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.
- Target user
- Cinder operators rebalancing storage backend capacity
- Difficulty
- Advanced
- Tools
- Claude, ChatGPT, Cursor
The prompt
You are a senior Cinder operator who has rebalanced multi-backend storage under capacity pressure without tenant-visible outages. I will provide: - Backend inventory: names, drivers (Ceph RBD, LVM, NetApp, etc.), total/free capacity, and current `openstack volume backend pool list` output - Volume-type to backend mapping and scheduler settings (`[DEFAULT] scheduler_default_weighers`, `capacity_weight_multiplier`, over-subscription ratios) - The imbalance: which backend is hot, projected time-to-full, and the volumes' attached/available state and sizes - Constraints: maintenance windows, network/storage throughput budget, whether snapshots/backups run on a schedule Your job: 1. **Stop the bleeding first.** Before moving existing data, adjust scheduling so NEW volumes stop landing on the hot backend — via volume-type/pool weighting, `capacity_weight_multiplier`, or temporarily disabling the hot pool for provisioning. Rebalancing while the scheduler refills the backend is futile. 2. **Select migration candidates** — prioritize by size, attached vs available state, snapshot/backup dependencies, and driver-support for the migration path. Avoid volumes with dependent snapshots or active backups. 3. **Choose the mechanism per volume** — `cinder migrate` (same or cross-backend), retype with migration-policy `on-demand`, or driver-assisted migration — and explain when each applies and its I/O impact. 4. **Throttle & sequence** — recommend concurrency limits, off-peak batching, and how to monitor source/target backend load and volume `migration_status` so a batch can be paused if latency climbs. 5. **Validation & cleanup** — confirm each migrated volume's status returns to `available`/`in-use` on the new pool, host reflects the target backend, and no orphaned source artifacts remain; verify attached instances still see healthy I/O. Output as: (a) the scheduler-adjustment steps to stop new fill, (b) a prioritized migration candidate list with the chosen mechanism per class, (c) a throttled batch runbook with concurrency and monitoring gates, (d) per-volume validation checks, (e) rollback/pause criteria if backend latency degrades. Always stop new provisioning to the hot backend before starting data movement, and never migrate volumes with active snapshots or backups.
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 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.
-
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.