Pcornel
Windows · Storage

Partitions

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

Back to the Topic

Answer

A partition is a defined range of sectors on a disk. Its offset, size, type and role are partition-table metadata; a partition can exist without a mounted or usable filesystem.

Remember

  • Partition ≠ volume ≠ filesystem.
  • Partition numbers are scoped to a disk and can change after layout operations.
  • GPT can identify partition types with GUIDs; MBR uses legacy type metadata and primary/extended/logical concepts.
  • Free space inside a filesystem is different from unallocated disk space outside partitions.
  • Extension normally requires suitable contiguous/unallocated layout as required by the specific operation and storage model.

First checks

  • Get-Disk — disks, partition style, health
  • Get-Partition — partitions
  • Get-Volume — volumes, filesystem, free space
  • Get-PhysicalDisk | Select FriendlyName,HealthStatus,OperationalStatus — physical disk health
  • diskmgmt.msc — Disk Management

Verify in this order

partition table → partitions → volumes

Where it usually breaks

First mismatch in device/provider → Windows storage mapping/pool → volume/filesystem/encryption → share/namespace/access policy → client/process read-back; preserve identity/native error/pre-state before mutation.

Storage → Partitions reference map

BoundaryMeaningEvidence limit
DiskNumberOwning diskverify disk identity first
PartitionNumberPartition index on disknot durable across all edits
Offset/SizePhysical extent metadatadoes not prove content
Type/GPT typePartition role metadatanot filesystem health
AccessPathsMapped mount pathscan be absent for valid system partitions

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

Confirmation

Confirm action

Continue?