In ESX3i deleting a larger snapshot from the VI Client takes so long that the client times out and appears to block all connected VI Clients. Is there a way I can delete snapshots from the (unsupported) console?
Yes you can, just know it's unsupported but works, take a look here:
vim-cmd vmsvc/snapshot.removeall [VmId] vim-cmd vmsvc/snapshot.remove [VmId] [removeChildren] [snapshotLevel] [snapshotIndex]
You can also take a look at the vCLI/RCLI Utility snapshotmanager.pl
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
If you find this information useful, please award points for "correct" or "helpful".
Yes you can, just know it's unsupported but works, take a look here:
vim-cmd vmsvc/snapshot.removeall [VmId] vim-cmd vmsvc/snapshot.remove [VmId] [removeChildren] [snapshotLevel] [snapshotIndex]
You can also take a look at the vCLI/RCLI Utility snapshotmanager.pl
=========================================================================
William Lam
VMware vExpert 2009
VMware ESX/ESXi scripts and resources at:
If you find this information useful, please award points for "correct" or "helpful".
Cool I am going to try that now!
Looks like I get a list of the VmIds by running the vmsvc/getallvms command. cool....
To list out the Vmids for all your VMs:
vim-cmd vmsvc/getallvms
Then take the Vmid of the machine you want to delete all snapshots from and run:
vim-cmd vmsvc/snapshot.removeall [VmId]
Thank you lamw !