OpenVZ Forum


Home » General » Support » How to remove VZ
How to remove VZ [message #35733] Sun, 19 April 2009 09:04 Go to next message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
Hi folks,

Host - Ubuntu 8.04 workstation
Guest (VZ) - Ubuntu 8.04, base OS

I have 2 VZ running on this box. Both are base OS without X. They are working. Network connection established. They can be ping on their IP address.


root@vz0:/home/satimis# ls -al /var/lib/vzctl/veip/
total 16
drwxr-xr-x 2 root root 4096 2009-04-18 21:40 .
drwxr-xr-x 3 root root 4096 2008-09-24 18:54 ..
-rw-r--r-- 1 root root   14 2009-04-19 14:47 101
-rw-r--r-- 1 root root   14 2009-04-19 14:47 102


Now I want to remove 102 completely. Whether run following command after stopping 102;

# rm /var/lib/vzctl/veip/102

?

Any further action is needed? Please advise. TIA


Edit:

I found it running;

$ sudo vzctl destroy 102
Destroying VE private area: /var/lib/vz/private/102
VE private area was destroyed


$ sudo vzctl start 102
VE config file does not exist


Any further action?


B.R.
satimis

[Updated on: Sun, 19 April 2009 10:39]

Report message to a moderator

Re: How to remove VZ [message #35757 is a reply to message #35733] Tue, 21 April 2009 05:04 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
# vzctl destroy 102

should be enough.
Please notice that 102.conf file is renamed to 102.conf.destroyed
Re: How to remove VZ [message #35762 is a reply to message #35757] Tue, 21 April 2009 07:32 Go to previous messageGo to next message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
maratrus wrote on Tue, 21 April 2009 13:04

# vzctl destroy 102

should be enough.
Please notice that 102.conf file is renamed to 102.conf.destroyed

Hi maratrus,


Thanks for your advice.

Shall I delete it?


B.R.
satimis
Re: How to remove VZ [message #35763 is a reply to message #35762] Tue, 21 April 2009 07:36 Go to previous messageGo to next message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
It's up to you.
If you don't need it, of course you may.
Re: How to remove VZ [message #35765 is a reply to message #35763] Tue, 21 April 2009 07:56 Go to previous message
satimis is currently offline  satimis
Messages: 39
Registered: August 2008
Member
maratrus wrote on Tue, 21 April 2009 15:36

It's up to you.
If you don't need it, of course you may.

Noted and thanks

satimis
Previous Topic: IO Limiting (Priorities)
Next Topic: How to address disk device with rootfs inside ve?
Goto Forum:
  


Current Time: Fri Oct 18 01:05:09 GMT 2024

Total time taken to generate the page: 0.05380 seconds