OpenVZ Forum


Home » General » Support » "vzctl stop" - hangs
Re: "vzctl stop" - hangs [message #23273 is a reply to message #23229] Thu, 15 November 2007 07:36 Go to previous messageGo to previous message
vaverin is currently offline  vaverin
Messages: 708
Registered: September 2005
Senior Member
1) 2 minutes is "vzctl stop" timeout, it waits until VE will be stopped completely. Obviously initscripts iniside your VE are not finished correctly.
Some time ago we have disabled ability to kill init process from inside VE. Now VE's initscripts should call halt or reboot (or any another application that calls sys_reboot syscall) to kill VE's init process and stop it completely.

2) umount problem
Are you sure that external mounts are leaves really? It should be umounted automaticaly on VE stop.

Please take a look at the following Vasily Tarasov's comment:
http://forum.openvz.org/index.php?t=msg&goto=13453&& amp;srch=mount+%2Fetc%2Fmtab#msg_13453:
"The thing is that when you produce mount command on HN (e.g. from .mount script), the entry in /etc/mtab on HN appears. Later when VE stops all mount points in VE are umounted automatically even _without_ umount script. But the entry in /etc/mtab is still there! It makes mount a bit crazy...

So, you should use `mount -n` in mount script and don't use umount script at all."
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* VE connect with physical interface
Next Topic: Cannot Start VE - Unable to set capability: Operation not permitted
Goto Forum:
  


Current Time: Wed Jul 10 01:56:03 GMT 2024

Total time taken to generate the page: 0.02418 seconds