VM Disk Alignment scripts

Table of Contents

VM Disk Alignment scripts

 

  • Get Partition starting offset –
    • http://support.microsoft.com/kb/929491
    • [source]wmic partition get BlockSize, StartingOffset, Name, Index[/source]
  • Uber Aligh – http://nickapedia.com/2011/11/03/straighten-up-with-a-new-uber-tool-presenting-uberalign/
  • dmdiag -v
  • fsutil fsinfo ntfsinfo c:
  • diskpart /script

    [source]Diskpart
    list disk
    select disk <DiskNumber>
    create partition primary align=<Offset_in_KB>
    assign letter=<DriveLetter>
    format fs=ntfs unit=64K label="<label>" nowait[/source]

  • NetApp mbralign command – http://support.netapp.com/NOW/knowledge/docs/hba/esx/esxhu521/html/software/install/index.html
  • [source]# /opt/netapp/santools/mbralign –scan all

    /opt/netapp/santools/mbralign [filename].vmdk[/source]

Leave a Reply