Use this when creating virtual disks in Storage Spaces.
Virtual Disks
Virtual disks in Windows Storage Spaces are created from a pool with a resiliency type, size and provisioning (New-VirtualDisk). Windows then initializes, partitions and formats them like any disk.
1. Get-VirtualDisk.
2. Resiliency type and columns.
3. Degraded → Repair-VirtualDisk.
4. Detached → Connect-VirtualDisk.
5. Volume on top.
virtual disk from pool with resiliency
Context & applicabilityCommon mistakes · platform/version boundaries
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 Common mistakes Narrow the fault
- Thin virtual disks larger than the pool with no capacity alert.
- Removing a physical disk without
RetireandRepair-VirtualDisk.
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.
- Choose resiliency, provisioning and size at creation.
- Column count affects expansion.
- Windows then partitions it like any disk.
Get-StoragePool -IsPrimordial $false— pools and healthGet-PhysicalDisk | Select FriendlyName,Usage,HealthStatus,OperationalStatus— physical disks in poolsGet-VirtualDisk | Select FriendlyName,ResiliencySettingName,HealthStatus,OperationalStatus— virtual disksGet-StorageJob— repair/rebuild jobs
ReferenceWhy it matters1 section · depth on demand
What it is
A virtual disk (storage space) is carved from a storage pool. You choose resiliency (simple, mirror, parity), provisioning (thin or fixed) and size. Windows presents it as a normal disk, which you then initialise, partition and format. Its health depends on the physical disks in the pool.
ReferenceImportant terms & boundaries2 sections · depth on demand
In depth
Creating virtual disks (spaces):
New-VirtualDisk -StoragePoolFriendlyName Pool1 -FriendlyName Data -ResiliencySettingName Mirror -NumberOfDataCopies 2 -ProvisioningType Fixed -UseMaximumSize
Get-VirtualDisk | ft FriendlyName,ResiliencySettingName,NumberOfDataCopies,NumberOfColumns,OperationalStatus,HealthStatus,Size
Resize-VirtualDisk -FriendlyName Data -Size 4TB
Get-VirtualDisk Data | Get-Disk | Get-Partition | ? Type -eq Basic | Resize-Partition -Size (...)
After resizing a virtual disk, also extend the partition. Resiliency, columns and interleave are fixed at creation.
Commands
Get-VirtualDisk | Select FriendlyName,ResiliencySettingName,Size,HealthStatus,OperationalStatus
Resize-VirtualDisk -FriendlyName Data -Size 6TB
Repair-VirtualDisk -FriendlyName Data
Documented example, not captured output.
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 Storage Spaces → Virtual Disks. Documentation verification only; this is not observed lab or production Evidence.
Basis: https://learn.microsoft.com/en-us/windows-server/storage/ · confidence 94%