Is my partition table properly aligned?

proxmoxrks

Member
Apr 14, 2020
35
1
13
53
I installed using ZFS RAID0 on my nvme using the proxmox installer.
Is my partition table properly aligned?

Code:
Disk /dev/nvme0n1: 465.8 GiB, 500107862016 bytes, 976773168 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: gpt

Device           Start       End   Sectors   Size Type
/dev/nvme0n1p1      34      2047      2014  1007K BIOS boot
/dev/nvme0n1p2    2048   1050623   1048576   512M EFI System
/dev/nvme0n1p3 1050624 976773134 975722511 465.3G Solaris /usr & Apple ZFS
 
The starts of your second and third partition are aligned on 1MB borders . The first is not but this one is never written to, so it does not really matter.
The end of the third partition is not aligned on a 1MB border (it is 13 sectors too large). The 1MB alignment is a modern standard. I don't know which is best for your drive.
You can check this by testing if the Start*Sector size is divisible by 1024*1024 (which is the same as checking whether Start is divisible by 2048 without remainder, in this case).
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!