Advanced format partition alignment

7,254

You can use diskpart. Use an elevated command prompt and list disk. Then select disk 0 or whatever disk it is.

list partition. The last column should be the partition offsets.

edit

I've added a different method for more accuracy. In general, the diskpart method will work if you see 1024 in the offset. But the numbers are rounded.

Enter this command for a more accurate display:

wmic partition get Name, StartingOffset

Take the offsets and divide them by 4096. There should be no remainder. If there is a remainder, then your offsets are wrong and your clusters are not ending the same boundary as your 4K sectors.

BTW, the 31KB on your first partition is the typical offset a non AF aware OS will set the offset as.

edit2

Question 2

Realigning the partition surmounts to moving a partition. If you just correct the offset, it amounts to the same as a full reinstall. As always, you run the risk of losing your data if something goes haywire. Reinstall is a bit much, but it also solves the issue.

Share:
7,254

Related videos on Youtube

Moab
Author by

Moab

Updated on September 18, 2022

Comments

  • Moab
    Moab almost 2 years

    I cloned a non Advanced Format drive (W7 64bit) to a new hard drive (Seagate) that was AF, the software I used supposedly does not support 4k very well (Todo Backup Free 3.5).

    1. Is there a Windows utility to check alignment? I know of the Western Digital tool but not sure if it works on Seagate brand drives.

    2. If the partitions are not aligned, Am I better to clean install W7 64bit or do the partition alignment procedure? If so, Why?

    It seems to be running fine so far. From what I have read Seagate drives use "Smart Align" technology to help with misaligned partitions on the fly, might explain why it runs well for me, but would still like to have the partitions aligned properly.

    EDIT: Here is the diskpart output for my disk partitions

    DISKPART> list partition
    
      Partition ###  Type              Size     Offset
      -------------  ----------------  -------  -------
      Partition 1    Primary            188 MB    31 KB
    
      Partition 2    Primary            698 GB   188 MB
    
    • Psycogeek
      Psycogeek over 12 years
      I used paragon align utitlity. there is a big difference between 4k sectors presented to the system as 512b sectors , and 4K used on the disk and presented to the system itself. win7, paragon and other partition software aligns properly as needed. some other free partition programs do not. in my uses I have not seen these large changes in speed via alignment, when i went through the bs to do it. but most of my data often crosses many clusters. I really cant be sure that the software even knew what it was doing :-) why would it take 2Meg shift for 32K clusters, and same ~2M shift for 4k ?
    • surfasb
      surfasb over 12 years
      @Psychogeek: Hint, 32 and 4 have a common factor.
    • Psycogeek
      Psycogeek over 12 years
      @Surfasb thanks, so whats with the quantity? if they only need to keep from starting the cluster arrangment in the center of a sector, then why a whole meg or 2? And what was the point of aligning the end of the partition also? there would be zero effect that the last chunk was not all aligned perfect?
  • Moab
    Moab over 12 years
    I would not know what looks right or not. I will post the output.
  • Moab
    Moab over 12 years
    check my edit...
  • surfasb
    surfasb over 12 years
    I added a more accurate display. But a little math will tell you that the offset is wrong.
  • Moab
    Moab over 12 years
    Yep, first partition has a remainder. Thanks man. Now if someone will chime in on question #2
  • surfasb
    surfasb over 12 years
    Ah didn't even see that.
  • Psycogeek
    Psycogeek over 12 years
    @moab 2, the alignment with paragon alignment on installed system disks did its work at boot, requiring a lenghty procedure of moving the data around also. It seemed very similar to moving or resizing a partition that has data/system on it, for other partition adjusting operations. (because it probably is)
  • Moab
    Moab over 12 years
    @Psycogeek is there a certain amount of free space needed to move the data in a timely manner?
  • Psycogeek
    Psycogeek over 12 years
    @moab I do not know. less is better when moving partitions in general, I have even temporarily moved loose stuff off a partition to move or adjust its size . A simple align should just have to move the data that is in the way to resize, then it would have to realign all the data, Ohh, I got it.
  • surfasb
    surfasb over 12 years
    @Moab: To realign the partition, you are going to have to realign every file cluster. That's the whole point.
  • Moab
    Moab over 12 years
    Thanks to all who helped. I wish I had usb 3.0, would make it easier to move data off the drive...