Pcornel
Browse topics
Options
Recent
Favorites
Virtualization · Technical reference

Virtual Disks

Direct answer

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.

When to use this

Use it to separate what the guest sees from where the data is actually stored and to troubleshoot attachment, capacity, format and backend mapping problems.

First 30 seconds

1. A virtual disk is a file or volume presented as a block device.

2. Check virtual vs allocated size.

3. Know the format and backing chain.

4. Extend safely: grow disk, then partition/filesystem in guest.

5. Shrinking is risky.

Operational verification

virtual disk → backing file/volume → storage

Evidence · next step

Check provisioning/allocation, backing-store health and latency for the same disk under representative load.

Continue only after interpreting the current observation.
Context & applicabilityCommon mistakes · platform/version boundaries
Common mistakes
Common traps

It does not show thin capacity headroom, snapshot-chain health, redundancy or workload performance under load.

Next check: Check provisioning/allocation, backing-store health and latency for the same disk under representative load.

Platform / version applicability
virtualization-storage
applies
Structured applicability is explicit Topic metadata; it does not infer compatibility beyond the stored rows.
At a glance

Operational reference

Fast context before you go deeper.

Platformvirtualization-storage
Scope / prerequisiteUse it to separate what the guest sees from where the data is actually stored and to troubleshoot attachment, capacity,…
What next?3 suggested next steps
Evidence1
On this pageJump to a specific section
Operational workflow

Verification & Troubleshooting

Start with the observed symptom, prove the nearest boundary, and move outward only when the current state is understood.

1 steps Observe → verify → isolate → change minimally → repeat the original test.
ObservedRecord what the original test actually shows

Capture the concrete output, symptom, packet, log or counter before changing anything.

Step 1 Verification path Verify boundary

guest disk enumeration → controller attachment → virtual disk config → backing object existence/access → backend I/O → guest read/write verification

Evidence references

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.

observation · 1
Key points
  • Virtual disk size is logical capacity presented to the guest, not necessarily physical allocation.
  • The guest disk identity can remain stable while the backing object or storage location changes.
  • A virtual disk being attached does not prove the guest has partitioned, formatted or mounted it.
  • A backend object being healthy does not prove the guest device driver or filesystem is healthy.
Key checks
  • virsh domblklist <vm> --details — VM disks
  • qemu-img info <disk> — format, virtual and actual size
  • Get-VHD -Path <vhdx> — VHDX details
ReferenceWhat it is1 section · depth on demand

Provisioning choices

TypeProsCons
ThinSaves space, fast to createCan overfill storage; first-write cost
Thick (lazy)Space reservedZeroing on first write
Thick (eager) / fixedPredictable performanceSlow to create, uses full space

Grow disks with platform tools (qm resize, Resize-VHD, vSphere disk edit), then extend the partition and file system inside the guest.

ReferenceImportant terms & boundaries2 sections · depth on demand

What this shows and what it does not

Attached ≠ guest-usable ≠ backend-healthy ≠ data-integrity confirmed.

In depth

A VM disk has three settings that decide most of its behaviour: the format (VMDK, VHDX, qcow2, raw/zvol/RBD), the allocation (thin or thick) and the bus/controller it is attached to. Per-disk options add caching mode, discard/UNMAP, IO threads and I/O limits.

qm config 120 | grep -E '^(scsi|virtio|sata|ide)[0-9]'
virsh domblklist vm1 --details; virsh domblkinfo vm1 vda --human
Get-VMHardDiskDrive vm1 | Get-VHD | ft Path,VhdType,Size,FileSize

Separate OS and data disks: it lets you size, snapshot, back up and move data independently, and keeps OS reinstalls from touching data.

Source basisSource attribution states what this section is based on; it is not independent proof that the current environment matches it.
Additional reference context Scope · expected state · examples · history · terminology Open only when you need the supporting context
Technical verification history

Verification history & basis

When and against what this Topic was checked. Later text edits do not count as a new check.

2026-09-14 · vendor docvirtualization-storage current

Authoritative/upstream documentation reviewed for bounded claims in Virtual Storage → Virtual Disks. Documentation verification only; this is not observed lab or production Evidence.

Basis: https://libvirt.org/storage.html · confidence 94%
Terminology layer

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.

Aliases that resolve here
vm virtual diskvirtual hard diskguest diskvirtual block device
Embedded reference data

Quick lookup tables

Virtual Storage → Virtual Disks reference map

Fast virtual-storage boundaries for Virtual Storage → Virtual Disks.

BoundaryMeaningEvidence limit
Guest disklogical block deviceGuest view
Virtual diskhypervisor mappingVirtualization view
Backingimage/LV/raw objectHost view
Backendactual storagePersistence view
Confirmation

Confirm action

Continue?