Migrating VMDK to VVOL fails, logs error ‘Requested size is not a 1MB multiple’

I am in the middle of a storage migration and hit a snag while trying to storage vMotion a VM from a VMFS datastore onto a VVOLs.  When I started the storage vMotion, it would quickly error out.   As a troubleshooting method, I decided to migrate only the VMX and base OS disk files, leaving the large data disk file on its original datastore.  Those worked.  But every time I tried to move its data disk, it failed with a generic error in the UI

A fatal internal error occurred. See the virtual machine’s log for more details.

Investigating the virtual machine’s logs, I see entries for the storage vMotion attempting to begin, but then it logs these errors:

OBJLIB-VVOLOBJ : VVolObjCheckSize: Requested size (######) is not an MB multiple.

VVolObjDetermineSizeInMB: Requested size (#####) is not a MB multiple.

Mirror: scsi0:1: SVMotionLocalDiskCreate: Failed to create destination disk: The requested size is not a multiple of 1MB.  

Solution

After seeing those 3 errors, I decided to look at the VM’s disk configuration.  Within the Edit Settings window, the data file showed size of 1,740.7999992370605 MB.  That decimal and odd sizing is what was causing my migration to fail.

I increased the disk size to an even MB size, saved the VM configuration and then retried the storage vMotion.  This time, it moved the disk without any issue.  Apparently with VVOLs, the disk sizing must be full 1MB sizes – so any oddly sized disks will fail to move.

A quick piece of PowerCLI can help you identify these odd shaped disks in your environment:

Get-Datastore | Get-HardDisk | Select Parent, Filename, @{N="Remainder";E={$_.CapacityKB % 1024}} | Where {$_.Remainder -ne 0}

This post over at Nimble’s community site describes the same issue: https://connect.nimblestorage.com/thread/14391

Tags: , , , ,

 

About the Post

Author Information

Philip is a IT solutions engineer working for AmWINS Group, Inc., an insurance brokerage firm in Charlotte, NC. With a focus on data center technologies, he has built a career helping his customers and his employers deploy better IT solutions to solve their problems. Philip holds certifications in VMware and Microsoft technologies and he is a technical jack of all trades that is passionate about IT infrastructure and all things Apple. He's a part-time blogger and author here at Techazine.com.

No comments yet.

Leave a Reply

%d bloggers like this: