I had an admin trying to install linux on a guest using a cd and floppy connected from her local machine. She had some issues and so we disconnected the floppy and the cd and hit the "shut down" button. The guest then hung in shutdown. VC showed the task time out, but we cannot initiate any further actions to it (stop restart migrate etc) because it says it is busy. Any ideas on how I can kill this process without taking down the whole host? Is there a way to identify the offending process and kill it?
Log into your COS as root and list currently running processes:
ps -ef | grep <vm name>
..or just ps -ef and run down the list looking for your VM.
After you have found it record it's PID (Process ID).
Then kill it with a kill -9 command
kill -9 <PID no>
Log into your COS as root and list currently running processes:
ps -ef | grep <vm name>
..or just ps -ef and run down the list looking for your VM.
After you have found it record it's PID (Process ID).
Then kill it with a kill -9 command
kill -9 <PID no>
That did it, thanks! I needed to use ps -ef | more in order to see which guests were associated with the pids. Once I got that straight - the kill process did the trick.
Sure - the list can get pretty long. Glad it worked out. Thanks for the points.