How do I check whether partitions on my SSD are properly aligned?

Posted by elementz on Ask Ubuntu See other posts from Ask Ubuntu or by elementz
Published on 2011-06-24T22:20:15Z Indexed on 2011/06/25 0:32 UTC
Read the original article Hit count: 199

Filed under:
|

I just installed ubuntu on my new intel SSD. Now I am not sure, whether paritions are properly aligned in respect to my specific SSD.

Here's my fdisk output.

$ fdisk -l

    Platte /dev/sda: 120.0 GByte, 120034123776 Byte
255 Köpfe, 63 Sektoren/Spur, 14593 Zylinder
Einheiten = Zylinder von 16065 × 512 = 8225280 Bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disk identifier: 0x000a6294

   Gerät  boot.     Anfang        Ende     Blöcke   Id  System
/dev/sda1   *           1        1913    15360000   83  Linux
/dev/sda2            1913       14058    97558528   83  Linux
/dev/sda3           14058       14594     4300800   82  Linux Swap / Solaris

Also, do I still need to align my SSD at all, since I am using TRIM on the ext4 partitions by mounting them with the discard flag.

If it is the case, that my partitions are not properly aligned, what could I do to fix this without having to reinstall everything?

© Ask Ubuntu or respective owner

Related posts about partitioning

Related posts about ssd