- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm running a Move-VM command to move a VM from an NFS mount to a VSAN datastore and I'm getting this error.
Move-VM The request channel timed out while waiting for a reply after
00:05:00. Increase the timeout value passed to the call to Request or increase the SendTimeout value on the Binding.
The time allotted to this operation may have been a portion of a longer timeout.
The task still continues and completes fine in vCenter, just PowerCLI times out. Environment is PowerCLI 6.5 and PowerShell 5.0. ESXi 6.5 GA.
Anyone know how to increase this timeout?
BTW, Previously when I've ran this migration it worked fine with PowerCLI 5.5 and PowerShell 4.0. Also, in that scenario I was migrating from an NFS mount to a regular VMFS datastore.
Here's the actual syntax of the command.
$DestDS = get-vmhost "vmhostname" | Get-Datastore -Name "*vsan*"
$vmobj = get-vm "vmname"
$vmobj | Move-VM -Datastore $DestDS -ErrorAction:Stop