Pcornel
Automation

Storage Automation

Cheat sheet · https://pcornel.dk/topic.php?topic=5742

Back to the Topic

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

zfs
zpool
ceph

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

Confirmation

Confirm action

Continue?