Automation · Storage Automation
Storage Provisioning
Cheat sheet · https://pcornel.dk/topic.php?topic=5743
Answer
Storage provisioning automation creates and presents storage — LUNs, volumes, shares or cloud disks — with the right size, protection and access, through APIs or modules instead of consoles.
Remember
- Provision with the right size, protection and access.
- Follow naming standards.
- Document what was created.
First checks
- Array/storage API or CLI — provisioning interface
- Naming and tagging standards — consistency
- Capacity check before provisioning — safety
Commands
lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS- Read-only/validation observation for block-device hierarchy, type, size, filesystem and mount attachment.
lsblk -o NAME,SIZE,TYPE,FSTYPE,MOUNTPOINTS,UUID
Verify in this order
request → API → volume → mapping
Where it usually breaks
Input/desired state → request accepted → job/task terminal status → target object read-back → effective runtime state → original workload → regression/rollback readiness.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=5743