Pcornel
Virtualization · Proxmox VE › Storage

Directory

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

Back to the Topic

Answer

The storage plugin trusts the host filesystem/mount beneath the configured path; if a network or block mount disappears, the directory path can still exist while pointing at the wrong local filesystem.

Remember

  • Directory exists ≠ intended filesystem mounted.
  • Filesystem free space ≠ guest filesystem free space.
  • Image file present ≠ image chain healthy.
  • Local directory storage is not shared merely because names match on multiple nodes.

First checks

  • pvesm status --storage local — usage
  • df -h /var/lib/vz — filesystem
  • ls /var/lib/vz/images/<vmid> — disk files

Verify in this order

qcow2/raw file → filesystem → disk

Where it usually breaks

First mismatch in management intent → host/cluster capability → hypervisor runtime/task → virtual resource/device → guest state → workload-visible read-back; preserve identity/native error/pre-state before mutation.

Proxmox VE → Storage → Directory reference map

BoundaryWhat to verifyEvidence limit
Configured stateExpected Directory configuration is presentConfiguration alone does not prove runtime behavior
Runtime stateRelevant Directory service/object is active and error-freeRuntime state does not prove dependencies
DependencyBacking network, storage, cluster or host dependency is healthyLocal success does not prove end-to-end outcome
AcceptanceOriginal VM/container/workload test succeedsRequired to close the incident

Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3725

Confirmation

Confirm action

Continue?