Results 1 to 3 of 3

Thread: Is My HDD Properly Aligned?

  1. #1
    Join Date
    Dec 2012

    Is My HDD Properly Aligned?

    and how do you check if it's properly aligned? I did some Google search and people say that if it's divisible 512 or 8 and you get a whole number then it's properly aligned, but what exactly is it divided by? Is it the first sector?

  2. #2
    Join Date
    Jun 2009
    SW Forida
    Ubuntu 16.04 Xenial Xerus

    Re: Is My HDD Properly Aligned?

    Welcome to the forums.

    The first sector of every writable partition. The extended partition does not count, but each logical in it does.

    First, understand that most partitioning tools have moved to a policy of aligning partitions on 1 MiB (2048-sector) boundaries as a way of improving performance with some types of arrays and some types of new hard disks (those with 4096-byte physical sectors). See article by srs5694:
    Post on 8-sector boundaries alignment by srs5694's 8-sector (4096-byte) alignment - post 8
    Alignment issues on 4K drives
    srs's to show 8 sector alignment
    sudo parted /dev/sda unit s print
    For more info on UEFI boot install & repair - Regularly Updated :
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jul 2005

    Re: Is My HDD Properly Aligned?

    In a terminal, type

    sudo fdisk -lu
    Here's my drive's first partition:

       Device Boot      Start         End      Blocks   Id  System
    /dev/sda1   *          63    71296469    35648203+   7  HPFS/NTFS
    Mine isn't aligned because it starts at sector 63 - but my drive is an older 512K sector drive so no problem. If it were aligned, it would probably start at 2048.

    I think starting with Ubuntu 11.04, Gparted (if you use that to partition) will automatically align new partitions. Did for me on my advanced format drives. Yes, it makes a huge difference in performance.


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts