I got a SSD new harddrive and successfully moved my root partition to it. I am using LVM. It is booting fast, and all the performance is much better than with classic hdd. But I am not sure about the partition alignment.
There is another thread here on askubuntu helping to determine, if the partitions are aligned properly using parted. Issuing the commands I get following results:
sudo parted /dev/sda (my ssd hdd)
p
Number Start End Size Type File system Flags
1 32,3kB 502MB 502MB primary ext4 boot
2 502MB 54,5GB 54,0GB primary lvm
align-check opt
partition 1 not aligned
partition 2 not aligned
however when issuing commands
sudo parted /dev/ssd/root_ssd (my root logical volume)
partition 1 aligned
The "ssd" volume group is the one I created for my SSD harddrive only, so it exists directly above /dev/sda.
I am confused about the "not aligned" output from /dev/sda, because I guess it "should" be aligned in order to work properly, because it is a physical drive where the LVM is on. But on the other hand, the logical volume itself reports "aligned".
Which of those two informations is more correct? If /dev/sda is "not aligned", can I somehow get it aligned without reinstall? Am I missing something? Thanks alot!