OpenVZ Forum


Home » General » Support » openvz on rhel5 crash (openvz on rhel5 crash during vzctl stop with mount --bind)
openvz on rhel5 crash [message #38908] Thu, 18 February 2010 16:40 Go to next message
tgraves is currently offline  tgraves
Messages: 4
Registered: February 2010
Junior Member
I just recently starting using openvz. I'm using version 2.6.18-164.10.1.el5.028stab067.4. When I run vzctl stop on a vps that was /dev mounted --bind, the openvz kernel crashes.

Has anyone seen this issue before?

I'm not able to unmount it before doing the stop as it says it busy. I tried adding a unmount script into /etc/vz/conf/CTID.umount but that doesn't help, it still crashes. The only way I found to work around is to kill the init process and then umount it.

any ideas?

Thanks.
Re: openvz on rhel5 crash [message #38910 is a reply to message #38908] Thu, 18 February 2010 17:27 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
why do you need mount /dev from HN
Re: openvz on rhel5 crash [message #38912 is a reply to message #38910] Thu, 18 February 2010 17:54 Go to previous messageGo to next message
tgraves is currently offline  tgraves
Messages: 4
Registered: February 2010
Junior Member
to share a kernel module since vps can't load its own kernel modules.
Re: openvz on rhel5 crash [message #38913 is a reply to message #38912] Thu, 18 February 2010 18:57 Go to previous messageGo to next message
tgraves is currently offline  tgraves
Messages: 4
Registered: February 2010
Junior Member
Maybe I don't need to mount it --bind if I use the sudo vzctl set 200 --devnodes command?

Re: openvz on rhel5 crash [message #38916 is a reply to message #38913] Thu, 18 February 2010 20:02 Go to previous messageGo to next message
Paparaciz
Messages: 302
Registered: August 2009
Senior Member
what exactly kernel module you want to be available in vps?
for some guide how to give access to devices for vps:
http://wiki.openvz.org/VPN_via_the_TUN/TAP_device

for the note
in any way mounting and unmounting /dev always will lead to crash

[Updated on: Thu, 18 February 2010 20:03]

Report message to a moderator

Re: openvz on rhel5 crash [message #38921 is a reply to message #38908] Sat, 20 February 2010 09:09 Go to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hello Tom,

I was trying to reproduce your situation but was not able to do it.
So, don't you mind to provide us with information concerning the crash? It would be extremely nice to get all logs that may shed light on that problem. Serial console could help you to gather all needed logs.
http://wiki.openvz.org/Oops
http://wiki.openvz.org/Remote_console_setup#Serial_console

Could you also provide us with the exact steps which led to such a problem i.e. the way to reproduce the issue would be a good piece of news.

At last, don't hesitate to create a new bug report.
Moreover, I strongly recommend you to do it because it's the only way to make sure your problem is solved.
http://bugzilla.openvz.org/
Previous Topic: 2.6.27-chistyakov.1 and cpulimit/cpus questune
Next Topic: vzcfgvalidate --> 9223372036854775807
Goto Forum:
  


Current Time: Sat Nov 16 14:20:47 GMT 2024

Total time taken to generate the page: 0.03053 seconds