Use this branch to reason about how a guest-visible disk maps to host storage, how provisioning and image formats affect allocation and features, and where storage latency or capacity failures can occur.
Virtual Storage
Virtual Storage is the virtualization layer that presents storage to a VM while mapping guest I/O through a virtual disk/controller or paravirtualized block device to a host-side image, raw device, volume, datastore or other backend.
1. Know where every VM disk lives: local, shared block, file or distributed storage.
2. Check capacity and thin overcommit.
3. Latency matters more than throughput for most VMs.
4. Use PV controllers and the right format.
5. Back up disks consistently.
guest → controller → disk format → storage pool/datastore → physical storage
Verify capacity headroom, persistence/flush behavior and representative latency under normal and failure conditions.
Continue only after interpreting the current observation.Context & applicabilityCommon mistakes · platform/version boundaries
It does not show all capacity is physically reserved, all paths are redundant, every workload meets latency targets, or backup/snapshot recovery is valid.
Next check: Verify capacity headroom, persistence/flush behavior and representative latency under normal and failure conditions.
Operational reference
Fast context before you go deeper.
Verification & Troubleshooting
Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.
Use the operational verification above to establish the expected state.
Capture the concrete output, symptom, packet, log or counter before changing anything.
Step 1 Verification path Verify boundary
guest workload → guest filesystem/block layer → virtual device/controller → image/raw mapping → host/datastore layer → storage backend → completion/flush → workload
Step 2 Verification path Verify boundary
Exercise one safe negative or boundary case implied by inaccessible datastore, stale lock, broken snapshot chain, path loss, thin-capacity exhaustion, controller mismatch, inconsistent backup or failed restore read-back.
Step 3 Where it fails Narrow the fault
Walk guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back and stop where observed state diverges.
Common failure classes are inaccessible datastore, stale lock, broken snapshot chain, path loss, thin-capacity exhaustion, controller mismatch, inconsistent backup or failed restore read-back.
Evidence · 1 on this Topic
Expected observations and documentation recipes are reference material. Record actual output, device identity, scope and time before claiming a verified result.
Subtopics
Go one level deeper into this subject.
A Virtual Disk is a guest-visible block device whose sectors are provided by a hypervisor-managed backing object such as an image file, logical volume, raw device or remote block volume.
Subtopic Thick ProvisioningThick Provisioning allocates or reserves storage capacity for a virtual disk according to the platform’s thick-allocation model instead of growing only as guest blocks are written.
Subtopic Thin ProvisioningThin Provisioning presents a virtual disk with a logical capacity larger than the storage blocks currently allocated, growing physical consumption as data is written or allocated.
Subtopic Raw DiskA Raw Disk mapping exposes an underlying block device, LUN, partition or similar host storage object to a VM with little or no disk-image format layer between the virtual device and that backing block resource.
Subtopic Block StorageBlock Storage provides addressable blocks or logical volumes to the virtualization host, which can be used directly or formatted/pooled to back virtual disks and datastores.
Subtopic File StorageFile Storage backs virtual disks with files stored in a host-mounted or hypervisor-accessed filesystem or network file share, with the file layer mediating allocation, locking and metadata.
Subtopic Shared StorageShared Storage is storage that multiple virtualization hosts can access under a design that coordinates identity, locking and concurrency so VM disks or datastores can be available beyond one host.
Subtopic Local StorageLocal 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.
Subtopic Storage PoolsA Storage Pool is a virtualization or storage abstraction that aggregates one or more backing resources and exposes capacity from which virtual disks, volumes or datastores can be allocated.
Subtopic DatastoresA Datastore is a hypervisor-facing storage namespace or allocation container used to hold VM files, disks, metadata or related objects on top of one or more storage resources.
Subtopic Disk ImagesA Disk Image is a file or structured storage object that represents virtual disk blocks and may add metadata for allocation, snapshots, checksums, compression or other format-specific features.
Subtopic VHD / VHDXVHD and VHDX are Microsoft virtual hard disk image formats; VHDX is the newer format with larger-capacity and resilience/features compared with legacy VHD, subject to platform support.
Subtopic VMDKVMDK is a VMware virtual disk descriptor/data format family used to represent VM block storage, with exact layout and feature behavior depending on VMware product and disk type.
Subtopic QCOW2QCOW2 is a QEMU Copy-On-Write virtual disk image format that supports sparse allocation and metadata-driven features such as backing files and snapshots, depending on tooling and usage.
Subtopic RAWRAW is a virtual disk image representation with a simple byte-for-byte block layout and little or no image-format metadata beyond the storage object that contains the blocks.
Subtopic VirtIO BlockVirtIO Block is a paravirtualized block-device interface used by virtualization stacks such as QEMU/KVM to present efficient guest block I/O through a virtio driver rather than emulating a physical disk controller protocol.
Subtopic IOPSIOPS is the number of I/O operations completed per unit time, usually per second, and must be interpreted together with block size, read/write mix, concurrency and latency.
Subtopic LatencyStorage Latency is the elapsed time between submitting an I/O and receiving completion, with total guest-observed time potentially containing guest queueing, virtualization, host, network/fabric and backend service time.
Subtopic Queue DepthQueue Depth is the number of I/O requests outstanding or waiting at a storage boundary, and multiple queues can exist independently in the guest, virtual device, host and backend.
Subtopic Storage TroubleshootingVirtual Storage Troubleshooting isolates VM I/O failures by tracing the exact operation from guest application and filesystem through virtual device, image/provisioning and host storage layers to the backend and completion path.
- A guest-visible virtual disk is not the same object as its backing image, block device, datastore or physical media.
- Configured virtual capacity is not proof of physically allocated capacity or backend free space.
- A healthy hypervisor storage attachment does not prove the guest filesystem or application I/O is healthy.
- Measure the original guest I/O path end to end before assigning blame to the backend.
pvesm status— Proxmox storage status and usagevirsh pool-list --all --details— libvirt poolsGet-VMHardDiskDrive -VMName * | ft VMName,Path— Hyper-V disk locations
ReferenceWhy it matters1 section · depth on demand
In depth
Virtual storage is how a hypervisor gives each VM its disks. A VM sees a simple virtual disk on a virtual controller, while the hypervisor stores it as a file (VMDK, VHDX, qcow2) on a datastore, or maps it to a raw LUN or a block device from software-defined storage.
| Format / backing | Platform | Notes |
|---|---|---|
| VMDK | VMware | Thin, lazy-zeroed or eager-zeroed thick |
| VHDX | Hyper-V | Fixed or dynamic; up to 64 TB |
| qcow2 / raw | KVM, Proxmox | qcow2 supports snapshots; raw is fastest |
| RDM / pass-through | VMware, Hyper-V | Direct LUN access for special cases |
| vSAN, S2D, Ceph RBD | Software-defined | Storage pooled from hosts' local disks |
Virtual controller choice matters: paravirtual controllers (VMware PVSCSI, Hyper-V SCSI, virtio-scsi/virtio-blk) give much better performance than emulated IDE/SATA. Thin disks save space but need pool monitoring so the datastore does not fill and pause VMs.
ReferenceImportant terms & boundaries2 sections · depth on demand
What this shows and what it does not
Success at one storage layer shows only that layer accepted or completed the tested operation, but it does not show adjacent layers, persistence semantics or application correctness.
Mechanics
The responsible chain spans guest virtual disk, controller, hypervisor mapping and backing datastore/storage.
The bounded target is expected virtual disk availability, persistence and recoverability.
Follow the path in order: guest block/filesystem view → virtual controller/disk → hypervisor mapping → datastore/path → storage backend → durability/read-back.
The operating invariants are: guest and hypervisor agree on capacity/attachment; backing path is healthy; writes/read-back and recovery semantics are explicit.
Important negative cases include inaccessible datastore, stale lock, broken snapshot chain, path loss, thin-capacity exhaustion, controller mismatch, inconsistent backup or failed restore read-back.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Verification history & basis
When and against what this Topic was checked. Later text edits do not count as a new check.
Authoritative/upstream documentation reviewed for bounded claims in Virtual Storage. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://libvirt.org/storage.html · confidence 94%What changed and what may be affected
Recent technical edits are separated from ordinary page timestamps. Relationship impact is advisory: it identifies nearby canonical references to review, not automatic breakage.
Terms & aliases
Hover a linked term for a quick definition; click it to open its glossary entry. Aliases are other names that find this Topic in search.
Quick lookup tables
Virtual Storage reference map
Fast virtual-storage boundaries for Virtual Storage.
| Boundary | Meaning | Evidence limit |
|---|---|---|
| Guest | filesystem/block device | Guest-visible state |
| Virtualization | controller + virtual disk/image | Mapping state |
| Host | datastore/pool/file/block object | Host allocation/path |
| Backend | media/network/storage system | Persistence/performance |