When you start a file copy on a VMware ESXi machine by using vSphere client, you will find that you cannot "stop” (Cancel this task) it.
The workaround is SSH to the ESXi host and run the following command from the vCLI
# /sbin/services.sh restart
It will restart the management agent (Include All management services, including: hostd, ntpd, sfcbd, slpd, wsman, vodb), the vSphere client connection will be disconnected.
I disabled 'Start and Stop Virtual Machines with the system' in vSphere (host > Configuration > Virtual Machine Startup/Shutdown > Properties).
ReplyDeleteI logged into the ESXi host via SSH and ran: /etc/init.d/hostd restart
I then logged back into vSphere and the file copy process was gone.
I then re-enabled 'Start and Stop Virtual Machines with the system'.
Thanks /sbin/services.sh restart worked for me
ReplyDeleteThank you to comment by Temp, that worked great!
ReplyDeleteStopped the copy. And no service interruption. Gave it 10 mins then re-logged into vsphere client, started the VM i was copying. Up and running again
/sbin/services.sh restart worked for me too.
ReplyDeleteTHANKS!!