Virtualization · Virtual Storage
Local Storage
Cheat sheet · https://pcornel.dk/topic.php?topic=3507
Answer
Local Storage is VM backing storage attached to or owned by a single virtualization host rather than natively accessible as the same storage object from peer hosts.
Remember
- Local storage can be fast without being resilient to host failure.
- A VM on local storage cannot assume another host can start it without replication or storage migration.
- RAID or mirror inside one host does not make the storage shared.
- Host free space and individual VM disk growth must be monitored together.
First checks
df -h /var/lib/vz— local storage usagelvs— local LVMsmartctl -H /dev/sda— disk health
Verify in this order
VM disk → local disk → that host only
Where it usually breaks
First mismatch in guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back; preserve identity/native error/pre-state before mutation.
Virtual Storage → Local Storage reference map
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Ownership | single host | Placement constraint |
| Performance | local path | Can be low latency |
| Availability | host dependent | No implicit shared access |
| Mobility | copy/replicate required | Separate mechanism |
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3507