Thursday, November 8, 2012

How to stop file copy on a VMware ESXi 5.0 which is started by vSphere client

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.

image

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.

Print Friendly and PDF
Share/Bookmark

4 comments:

  1. I disabled 'Start and Stop Virtual Machines with the system' in vSphere (host > Configuration > Virtual Machine Startup/Shutdown > Properties).
    I 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'.

    ReplyDelete
  2. Thanks /sbin/services.sh restart worked for me

    ReplyDelete
  3. Thank you to comment by Temp, that worked great!

    Stopped 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

    ReplyDelete
  4. /sbin/services.sh restart worked for me too.

    THANKS!!

    ReplyDelete