Pcornel
Virtualization · Virtual Storage

Local Storage

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

Back to the Topic

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 usage
  • lvs — local LVM
  • smartctl -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

BoundaryMeaningEvidence limit
Ownershipsingle hostPlacement constraint
Performancelocal pathCan be low latency
Availabilityhost dependentNo implicit shared access
Mobilitycopy/replicate requiredSeparate mechanism

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

Confirmation

Confirm action

Continue?