Storage · Windows Storage
Volumes
Cheat sheet · https://pcornel.dk/topic.php?topic=3981
Answer
A Windows volume is a formatted area of a disk with a file system and a drive letter or mount point. Manage volumes with Disk Management, diskpart or Get-Volume, Resize-Partition and Format-Volume.
Remember
- A volume has a file system and drive letter or mount point.
- Resize with Resize-Partition.
- Format with Format-Volume.
First checks
Get-Volume— volumesGet-Partition | ft DiskNumber,PartitionNumber,DriveLetter,Size— partition mappingResize-Partition -DriveLetter D -Size (Get-PartitionSupportedSize -DriveLetter D).SizeMax— extend
Verify in this order
partition → volume → filesystem
Where it usually breaks
First mismatch in provider/pool → virtual/logical disk → host/guest mapping → partition/filesystem → mount/drive → workload; preserve identity/pre-state before mutation.
Read-only verification commands unless stated otherwise. Confirm syntax for your platform and release. Full reference: https://pcornel.dk/topic.php?topic=3981