Results 1 to 3 of 3

Thread: Is My HDD Properly Aligned?

  1. #1
    Join Date
    Dec 2012
    Beans
    1

    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
    Location
    SW Forida
    Beans
    Hidden!
    Distro
    Kubuntu

    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:
    http://www.ibm.com/developerworks/li...-sector-disks/
    Post on 8-sector boundaries alignment by srs5694
    http://ubuntuforums.org/showthread.php?tit's 8-sector (4096-byte) alignment - post 8
    http://ubuntuforums.org/showthread.php?t=1768635
    Alignment issues on 4K drives
    http://ubuntuforums.org/showthread.php?t=1635018
    srs's to show 8 sector alignment
    sudo parted /dev/sda unit s print
    UEFI boot install & repair info - Regularly Updated :
    https://ubuntuforums.org/showthread.php?t=2147295
    Please use Thread Tools above first post to change to [Solved] when/if answered completely.

  3. #3
    Join Date
    Jul 2005
    Beans
    2,047

    Re: Is My HDD Properly Aligned?

    In a terminal, type

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

    Code:
       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.

Bookmarks

Posting Permissions

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