$ parted /dev/nvme1n1 -- mkpart primary linux-swap -8GiB 100% Warning: The resulting partition is not properly aligned for best performance: 3108850352s % 2048s != 0s Ignore/Cancel? Information: You may need to update /etc/fstab. When using GB than parted seems to round up itself.