Showing results for 
Search instead for 
Do you mean 

Delete a VM from Host and disk


Delete a VM from Host and disk

I i'm new to hpux and i just want to know hot to remove a hpvm from the host and the disk which is associated to, i have two commands ready i just dont know which one to use:


hpvmremove -P (vm name)




dd if=/dev/zero of=/dev/rdisk/cXtXd bs=1M


let me know




Acclaimed Contributor Acclaimed Contributor

Re: Delete a VM from Host and disk

With the first command you remove the HPVM definition for this guest system.

The second is just writing zeros on a specific disk device.

You can do this or leave it. But it always depends if your virtual machine is using a real disk, an LVM LVOL or even a file as backing storage.

Hope this helps!


There are only 10 types of people in the world -
those who understand binary, and those who don't.


No support by private messages. Please ask the forum!

If you feel this was helpful please click the KUDOS! thumb below!