Pcornel
Automation · Storage Automation

Storage Automation Troubleshooting

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

Back to the Topic

Answer

Troubleshoot storage automation by checking device names (prefer UUIDs or WWNs), permissions, whether volumes are already in use, free space in the VG or pool, and command output and exit codes at each step.

Remember

  • Use stable identifiers like UUIDs or WWNs.
  • Check devices are not already in use.
  • Check free space in the VG or pool.

First checks

  • Automation logs — errors
  • dmesg | grep -i -e 'I/O error' -e 'No space' — storage errors
  • API responses from array/cloud — causes

Commands

lsblk -o NAME,TYPE,SIZE,FSTYPE,MOUNTPOINTS
Read-only/validation observation for block-device hierarchy, type, size, filesystem and mount attachment.
lsblk

Verify in this order

automation → storage API/tool → error

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=5754

Confirmation

Confirm action

Continue?