Operating System - HP-UX
1748195 Members
3513 Online
108759 Solutions
New Discussion

Re: Delete a VM from Host and disk

 
ANDYIBM
Visitor

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)

 

or

 

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

 

let me know

 

thanks 

=]

1 REPLY 1
Torsten.
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!
Regards
Torsten.

__________________________________________________
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!