I dunno why parted gives you an error like “The resulting partition is not properly aligned for best performance.” but doesn’t just tell you how to align correctly.
Funny thing is I was doing
mkpart primary ext4 0% 100% and getting the error but when I changed 100% to be the disk size instead (which you can get from
mkpart primary ext4 0% 1000GB works fine. And
align-check optimal 1 has no complaints either.
Not sure what the difference is! 🤷🏻♂️