Wednesday, May 13, 2015

some days i wonder why diskspace is not being monitored on a bunch of esx boxes but that is none of my business not today

 sigh. vm is hung. no space on esx store for snapshots.  
   
 [root@esxhell esxhell:storage1]# find . -name *-0000[0-9][0-9]*.vmdk  
 ./jerkvm/jerkvm-000001-delta.vmdk  
 ./jerkvm/jerkvm-000001.vmdk  
   
 [root@esxhell esxhell:storage1]# vmware-cmd /vmfs/volumes/esxhell\:storage1/jerkvm/jerkvm.vmx getstate  
 getstate() = stuck  
   
 [root@esxhell esxhell:storage1]# vmware-cmd /vmfs/volumes/esxhell\:storage1/jerkvm/jerkvm.vmx stop hard  
 VMControl error -999: Unknown error: SoapError: ServerFaultCode(0) : (The attempted operation cannot be performed in the current state (Powered On).)  
   
 [root@esxhell esxhell:storage1]# ps auxwww |grep -i jerkvm.vmx  
   
 root   7881 0.0 0.2 2032 616 ?    S<  Apr09  0:48 /usr/lib/vmware/bin/vmkload_app /usr/lib/vmware/bin/vmware-vmx -ssched.group=host/user -# name=VMware ESX Server;version=3.5.0;licensename=VMware ESX Server;licenseversion=2.0 build-317866; -@ pipe=/tmp/vmhsdaemon-0/vmx924c12c8b40a85b6; /vmfs/volumes/493d14d8-ede9a876-2c4c-001ec9f21c8c/jerkvm/jerkvm.vmx  
 root   20231 0.0 0.2 3684 684 pts/0  S  07:50  0:00 grep -i vm6-rh9.vmx  
   
 [root@esxhell esxhell:storage1]# kill -9 7881  
   
 [root@esxhell esxhell:storage1]# vmware-cmd /vmfs/volumes/esxhell\:storage1/jerkvm/jerkvm.vmx getstate  
 getstate() = off  
   
 [root@esxhell esxhell:storage1]# vmware-cmd /vmfs/volumes/esxhell\:storage1/jerkvm/jerkvm.vmx removesnapshots  
 removesnapshots() = 1  
   

No comments: