Automation
Storage Automation
Cheat sheet · https://pcornel.dk/topic.php?topic=5742
Answer
Storage automation provisions and manages volumes, LUNs, shares, snapshots and replication through storage array APIs, CLIs, Ansible modules or PowerShell, avoiding manual console work.
Remember
- Use stable identifiers (UUIDs, WWNs).
- Check capacity before creating volumes.
- Snapshots need retention.
First checks
- Storage provisioning automation (API/Ansible/Terraform) — tools
- Capacity pre-checks — safety
- Post-provision verification — results
Commands
zfszpoolceph
Verify in this order
request → capacity check → provision → verify
Where it usually breaks
Automation/controller success is not target-state proof; target config/state is not effective-runtime proof; effective state is not workload proof.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5742