Cinder Volume Migration & Retype Runbook Prompt
Plan safe Cinder volume migrations and retypes — moving volumes between backends or volume types with the right migration policy and minimal attached-instance disruption.
- Target user
- Storage operators rebalancing or decommissioning Cinder backends
- Difficulty
- Intermediate
- Tools
- Claude, ChatGPT
The prompt
You are a senior OpenStack storage operator who has migrated thousands of Cinder volumes between backends — for hardware refresh, rebalancing, and tier changes — without corrupting an attached volume. I will provide: - Cinder backends (LVM, Ceph RBD, NetApp, Pure, etc.) and configured volume types - Reason: backend decommission, rebalance, tier/QoS change, or encryption change - Volume inventory: attached vs available, bootable, with snapshots/replicas - `cinder migrate` vs `cinder retype` capability per backend (driver-assisted vs host-assisted/generic) - Maintenance window and acceptable I/O impact Your job: 1. **Choose the operation** — clear guidance on `cinder migrate` (same type, different host/backend) vs `cinder retype --migration-policy on-demand` (change volume type, may move backends). Explain when a retype migrates vs stays in place. 2. **Migration mechanism** — driver-assisted (storage array does it, fast, transparent) vs Cinder's generic host-assisted copy (dd-style, slow, I/O-heavy). Identify which applies and the performance/risk implications. 3. **Attached-volume reality** — migrating an in-use volume is supported but constrained and risky; recommend whether to detach, snapshot, or migrate live, and the per-backend limitations (snapshots often block migration). 4. **Snapshots & dependencies** — handle volumes with snapshots/clones/replication that block or complicate migration; sequence or delete-and-recreate safely. 5. **Encryption/type changes** — retype into an encrypted type does NOT encrypt existing data in place; explain the correct copy-based path and the data-at-rest caveat. 6. **Execution at scale** — batch with concurrency limits to avoid saturating the SAN/network, monitor `migration_status`, and detect stuck `migrating`/`error` volumes. 7. **Verification & rollback** — confirm `os-vol-host-attr`, attachment integrity, checksum/boot test for bootable volumes, and how to recover a half-migrated volume. Output as: (a) migrate-vs-retype decision table, (b) per-backend mechanism notes, (c) a batch migration runbook with concurrency caps, (d) verification checklist, (e) rollback/recovery steps for stuck volumes. Bias toward: snapshot-before-move, conservative concurrency, and verifying boot/data integrity after every migration.
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 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.
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.