file:///Users/Tintri/Downloads/crappppp/VMware%20KB%20%20Storage%20vMotion%20on%20ESXi%205.x%20fails%20with%20the%20error%20%20Cannot 1/5 Knowledge Base The VMware Knowledge Base provides support solutions, error messages and troubleshooting guides (http://kb.vmware.com) (http://kb.vmware.com/kb/878) Search the VMware Knowledge Base (KB)
View by Article ID Products >
Storage vMotion on ESXi 5.x fails with the error: Cannot allocate memory (2000026) Details You are unable to complete Storage vMotion You see an error in the vSphere Client similar to: Failed to create destination disk /vmfs/volumes/datastore/vm/vm1.vmdk (Cannot allocate memory). In the virtual machine's vmware.log file, you see messages similar to: Worker#0| SVMotionMirroredModeThread: Failed to create destination disks Worker#0| Msg_Post: Error Worker#0| [msg.svmotion.destdisk.createfail] Storage vMotion failed to create the destination disk /vmfs/volumes/UUID/Folder/vmdkname.vmdk (Cannot allocate memory). Worker#0| [msg.svmotion.disk.createphase.fail] Failed to create one or more destination disks. Canceling Storage vMotion. In the /var/log/hostd.log file, you see messages similar to: Datastore Accessibility cannot be inferred from relative filepath: ./VMname-1- 07380855.hlog [26181B90 warning 'vm:/vmfs/volumes/UUID/VMname.vmx' opID=698D82DE-00028DFC-bd- da] CannotRetrieveCorefiles: VM disk access is turned off [26181B90 warning 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx' opID=698D82DE- 00028DFC-bd-da] PopulateCache failed: _diskAccess : false, _storageAccessible : true [26181B90 info 'Libs' opID=698D82DE-00028DFC-bd-da] Vix: [9114 6/17/2014 VMware KB: Storage vMotion on ESXi 5.x fails with the error: Cannot allocate memory file:///Users/Tintri/Downloads/crappppp/VMware%20KB%20%20Storage%20vMotion%20on%20ESXi%205.x%20fails%20with%20the%20error%20%20Cannot 2/5 foundryPollWorker.c:624]: FoundryPollWorker_AssignVMToWorker: Assign VM:/vmfs/volumes/UUID/Folder/VMname.vmx to worker 26757B90. [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Close Handle called [26581B90 info 'GuestFileTransferImpl'] VmOperationListener succeeded [26581B90 info 'Hbrsvc'] Replicator: UnregisterListener triggered for config VM 27 [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Shutting down VMDB service... [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Unregistering callback... [26581B90 verbose 'Statssvc'] EntityRemovedListener: Deleting stats for entity 27 [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] ...done [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Unsubscribed from events. [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Canceled outstanding Foundry operations. [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Released VM handle. [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Closed VM handle. [26A14B90 warning 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Failed to find activation record, event user unknown. [26A14B90 info 'ha-eventmgr'] Event 732 : Removed VMname on Hostname.domainname.com from ha-datacenter [26A14B90 info 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] State Transition (VM_STATE_UNREGISTERING -> VM_STATE_GONE) [26A14B90 verbose 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] Unregister completed [26A14B90 info 'vm:/vmfs/volumes/UUID/Folder/VMname.vmx'] VMotion cleanup and unregistration completed [26A14B90 verbose 'VMotionDst (1339428524937345)'] Migration changed state from UNREGISTERING to DONE Solution This problem can occur due to a memory addressing problem on the host attempting the Storage vMotion migration. To work around this issue, attempt the Storage vMotion operation from another host in the environment: 1. Perform a standard vMotion migration to move the running state of the virtual machine to another compatible host in the environment. 2. Once the host has been moved, attempt a Storage vMotion migration to the desired datastore again. If you are unable to use vMotion to migrate the virtual machine to another host: Power off and then power on the virtual machine again. Retry the Storage vMotion migration. Power off the virtual machine, remove it from inventory and then manually add it to inventory on another host. Retry the Storage vMotion migration. Restart the host that the virtual machine is registered on. 6/17/2014 VMware KB: Storage vMotion on ESXi 5.x fails with the error: Cannot allocate memory file:///Users/Tintri/Downloads/crappppp/VMware%20KB%20%20Storage%20vMotion%20on%20ESXi%205.x%20fails%20with%20the%20error%20%20Cannot 3/5 Note: If the Storage vMotion operation fails on other hosts in the environment, a cold migration can be used to move the virtual machine. Note that a cold migration requires that the virtual machine be powered off. Request a Product Feature To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature (http://www.vmware.com/contact/contactus.html?department=prod_request) page. Feedback 1 (javascript:void( rate(1,this) )) 2 (javascript:void( rate(2,this) )) 3 (javascript:void( rate(3,this) )) 4 (javascript:void( rate(4,this) )) 5 (javascript:void( rate(5,this) )) 3 Ratings Did this article help you? This article resolved my issue. This article did not resolve my issue. This article helped but additional information was required to resolve my issue. What can we do to improve this information? (4000 or fewer characters) Email/ Twitter ID Permalink to: Storage vMotion on ESXi 5.x fails with the error: Cannot allocate memory (http://kb.vmware.com/kb/2000026) Read our blog (http://blogs.vmware.com/kb/) Watch KBTV (http://blogs.vmware.com/kbtv/) Follow us (http://www.twitter.com/vmwarekb) Request New Content (http://www.vmware.com/landing_pages/knowledgebase-content-request.html) 1 (javascript:void( rate(1,this) )) 2 (javascript:void( rate(2,this) )) 3 (javascript:void( rate(3,this) )) 4 (javascript:void( rate(4,this) )) 6/17/2014 VMware KB: Storage vMotion on ESXi 5.x fails with the error: Cannot allocate memory file:///Users/Tintri/Downloads/crappppp/VMware%20KB%20%20Storage%20vMotion%20on%20ESXi%205.x%20fails%20with%20the%20error%20%20Cannot 4/5 5 (javascript:void( rate(5,this) )) 3 Ratings Actions Bookmark Document (javascript:addBookmark(actionBoxUtil.docURL, actionBoxUtil.docTitle);) Email Document (javascript:emailDoc(actionBoxUtil.extId, actionBoxUtil.sliceId, actionBoxUtil.docTitle, actionBoxUtil.cpplayer, actionBoxUtil.bbid)) Print Document (javascript:window.print()) Subscribe to Document (/selfservice/microsites/microsite.do? cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2000026&format=rss) (http://www.addthis.com/bookmark.php?v=250&username=xa-4b5f42f36e60a29e) KB: 2000026 Updated: Mar 25, 2013 Categories: Troubleshooting Languages: English Product(s): VMware ESXi VMware vCenter Server Product Version(s): VMware ESXi 5.0.x VMware ESXi 5.1.x VMware vCenter Server 5.0.x VMware vCenter Server 5.1.x VMware Technology Virtualization (//www.vmware.com/virtualization/) Data Center Virtualization (//www.vmware.com/products/datacenter-virtualization/) Desktop Virtualization (//www.vmware.com/products/desktop-virtualization.html) Virtualizing Enterprise Applications (//www.vmware.com/business-critical-apps/index.html) Cloud Computing (//www.vmware.com/cloud-computing/overview.html) Hybrid Cloud (//www.vmware.com/products/vcloud-hybrid-service/) Private Cloud Computing (//www.vmware.com/cloud-computing/private-cloud.html) 6/17/2014 VMware KB: Storage vMotion on ESXi 5.x fails with the error: Cannot allocate memory file:///Users/Tintri/Downloads/crappppp/VMware%20KB%20%20Storage%20vMotion%20on%20ESXi%205.x%20fails%20with%20the%20error%20%20Cannot 5/5 Software-Defined Data Center (//www.vmware.com/software-defined-datacenter/index.html) End-User Computing (//www.vmware.com/end-user-computing.html) Company Information Leadership (//www.vmware.com/company/leadership/) Careers at VMware (//www.vmware.com/company/careers/) Acquisitions (//www.vmware.com/company/acquisitions/) Office Locations (//www.vmware.com/company/office_locations/) Contact VMware (//www.vmware.com/company/contact/) Investor Relations (http://ir.vmware.com/) VMware Foundation (//www.vmware.com/company/foundation.html) Why Choose VMware? (//www.vmware.com/why-choose-vmware/) News & Events Newsroom (//www.vmware.com/company/news/) Articles (//www.vmware.com/company/news/articles/) Events (//www.vmware.com/events/) Awards (//www.vmware.com/company/news/awards.html) Media Resource Center (//www.vmware.com/company/news/mediaresource/index.html) Media & Contacts (//www.vmware.com/company/news/releases/pr_contacts.html) Community VMTN Communities (http://communities.vmware.com/community/vmtn/) VMware Blogs (http://blogs.vmware.com/) VMware on Twitter (http://communities.vmware.com/community/twitter) VMware on Facebook (http://communities.vmware.com/community/facebook) VMware on YouTube (http://communities.vmware.com/community/youtube) Community Terms of Use (//www.vmware.com/community_terms.html) Copyright 2014 VMware, Inc. All rights reserved.