The transition to NetApp MS Azure AD B2C is complete. If you missed the pre-registration, you will be invited to reigister at next log in.
Please note that access to your NetApp data may take up to 1 hour.
To learn more, read the FAQ and watch the video.
Need assistance? Complete this form and select “Registration Issue” as the Feedback Category.

Microsoft Virtualization Discussions

ConvertTo-NaVmdk : Source and destination offsets are not WAFL block-aligned.


We try to convert multiple Hyper-V harddisk to VMware .vmdk disks. We are unable to convert some of the windows 2003 misalgned virtual harddisks. Fixing the disk alignment with Repair-NaVirtualDiskAlignment did not help?


ConvertTo-NaVmdk -SourceVhd "harddisk01"


Mode                LastWriteTime     Length Name                                                                                                                                                                

----                -------------     ------ ----                                                                                                                                                                

-a---         2/17/2016   2:58 PM        337 Harddisk01.vmdk                                                                                                                                                     

ConvertTo-NaVmdk : Source and destination offsets are not WAFL block-aligned.

At line:1 char:1

+ ConvertTo-NaVmdk -SourceVhd "harddisk01"  ...

+ ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~

    + CategoryInfo          : NotSpecified: (:) [ConvertTo-NaVmdk], ArgumentException




What is the size of the vhd file? If it's not a multiple of 4kb, would it be possible to resize it to the nearest multiple of 4096 and retry?


Hi Aparajita,


Many thanks for your help.


the size of the vhd was 21,484,431,872 bytes after resizing it to a multiple of 4k (21,484,433,408 bytes) i was able to convert this vhd to vmk.


Problem solved!





NetApp on Discord Image

We're on Discord, are you?

Live Chat, Watch Parties, and More!

Explore Banner

Meet Explore, NetApp’s digital sales platform

Engage digitally throughout the sales process, from product discovery to configuration, and handle all your post-purchase needs.

NetApp Insights to Action
I2A Banner