i’ve upgraded few vmware esxi 4.1 servers with the latest patches and… obviously something got broken. i use ghettoVCB script to take weekly snapshots of the vms. scripts hanged last night on all servers.
first thing i decided to do was to upgrade to the newest release of ghettovcb. that did not help – backup script still hanged after performing actual backup with the message: “info: Removing snapshot from hostName”. after few minutes of frantic googling i found this thread. solution provided there – changing
${VMWARE_CMD} vmsvc/snapshot.remove ${VM_ID} > /dev/null 2>&1
into
${VMWARE_CMD} vmsvc/snapshot.removeall ${VM_ID} > /dev/null 2>&1
resolved the problem. i just had to manually remove earlier created snapshots and backups went fine.
Thank you!