Partition alignment
lastmod 2020-07-04created 2020-07-0412 edits
Partition alignment is the proper alignment of partitions to the boundaries available in a data storage device.
Categories
How to use
fdisk, gdisk and parted handle alignment automatically. See parted#Check alignment if you want to verify your alignment after partitioning.
For certain drives Advanced Format might be able to provide a better-performing alignment.
Examples
- DiskPartitioning:Example:UEFI_with_GPT: How to partition for UEFI with GPT using fdisk.
- Wikipedia (en) Partition alignment
Examples include the following:
- 4KB sector alignment with hard disk drives supporting Advanced Format (AF)
- Track partition alignment, partitions starting on track boundaries on hard disk drives
- Cylinder partition alignment, partitions starting on logical or physical cylinder boundaries on hard disk drives
- SSD page partition alignment, partitions starting on NVM page boundaries (with pages typically 4 to 16KB in size) on SSDs and other flash-based memory devices
- SSD block partition alignment, partitions starting on NVM block boundaries (typically blocks of 128 to 512 pages) on SSDs and other flash-based memory devices
- 1MB partition alignment, partitions starting on 1MB boundaries
- RAID stripe alignment, partition alignment based on stripe boundaries
See also
Favorite site
- What's the point of hard drives reporting their physical sector size?
- (Use it like this!) Disk I/O latency after replacing a disk? Do some "partition alignment" before you go! 1
References
Pages that link here