Removing a LUN containing a datastore/dead path from VMware ESXi/ESX 4.0 and 4.1
First find Dead Path Link esxcfg-mpath -L | more List which drive are used by server and naa.xx nubmer. esxcfg-scsidevs –vmfs Rescan vmhba in my case vmhba37 esxcfg-rescan vmhba37 — To shutdown the VM vim-cmd vmsvc/getallvms | grep <vm name> vim-cmd vmsvc/power.getstate <vmid> vim-cmd vmsvc/power.off <vmid> — List all world id vm-support -x To Kill […]