OpenVZ Forum


Home » General » Support » Why umount script runs on VE start?
Re: Why umount script runs on VE start? [message #37802 is a reply to message #37801] Thu, 22 October 2009 16:47 Go to previous messageGo to previous message
kir is currently offline  kir
Messages: 1645
Registered: August 2005
Location: Moscow, Russia
Senior Member

cray wrote on Thu, 22 October 2009 20:42
What about the -n option, I doesn't use it in both scripts.


From another topic by you I see that you have used it, see this message.

Quote:
exit 0 didn't help me.


What do you mean «didn't help»? Can you describe one more time what problem are you having?

Quote:
I assume that mount/umount scripts should work this way:

start VE
mount /path/from /path/to
-------------------------
umount /path/to
stop VE


They do not work this way -- mount is happening *before* CT start, while umount is happening *after* CT stop. Plus, as I described above, umount is run on start if CT is mounted.


Kir Kolyshkin
http://static.openvz.org/userbars/openvz-developer.png
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* OpenVZ mount script works incorrectly
Next Topic: routing tables with openvz container
Goto Forum:
  


Current Time: Sat Oct 04 22:50:21 GMT 2025

Total time taken to generate the page: 0.08170 seconds