Alignment
Cheat sheet · https://pcornel.dk/topic.php?topic=3945
Answer
Partition alignment starts partitions on boundaries that match the disk's physical sectors and RAID stripes, normally 1 MiB. Misaligned partitions split I/O across blocks and cut performance, especially on SSDs and 4K disks.
Remember
- Start partitions at 1 MiB.
- Misalignment splits I/O across blocks.
- SSD and 4K disks suffer most.
First checks
parted /dev/sdX align-check optimal 1— alignment checkcat /sys/block/sdX/queue/physical_block_size— sector sizeGet-Partition | ft PartitionNumber,Offset— Windows offsets
Commands
pvs -o +pe_start
Verify in this order
partition start → physical block/stripe boundary
Where it usually breaks
First mismatch in media/provider → controller/pool → logical object → path/protocol → filesystem/share/object namespace → consumer 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=3945