Re: Delete a VM from Host and disk (148 Views)
Reply
Visitor
ANDYIBM
Posts: 1
Registered: ‎07-08-2013
Message 1 of 2 (150 Views)

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 

=]

Acclaimed Contributor
Torsten.
Posts: 23,367
Registered: ‎10-02-2001
Message 2 of 2 (148 Views)

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!   
The opinions expressed above are the personal opinions of the authors, not of HP. By using this site, you accept the Terms of Use and Rules of Participation.