Directory
Cheat sheet · https://pcornel.dk/topic.php?topic=3725
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— usagedf -h /var/lib/vz— filesystemls /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
| Boundary | What to verify | Evidence limit |
|---|---|---|
| Configured state | Expected Directory configuration is present | Configuration alone does not prove runtime behavior |
| Runtime state | Relevant Directory service/object is active and error-free | Runtime state does not prove dependencies |
| Dependency | Backing network, storage, cluster or host dependency is healthy | Local success does not prove end-to-end outcome |
| Acceptance | Original VM/container/workload test succeeds | Required 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