OpenVZ Forum


Home » General » Support » Why umount script runs on VE start?
Why umount script runs on VE start? [message #37795] Thu, 22 October 2009 15:15 Go to previous message
cray is currently offline  cray
Messages: 11
Registered: October 2009
Junior Member
I have followed the instruction from wiki (http://wiki.openvz.org/Bind_mounts) and set up the mount and umount scripts. When I start the system I see the following error message:

vzctl start 101
Starting VE ...
umount: /home/vz/root/101/mnt: not mounted
Error executing umount script /etc/vz/conf/101.umount


Here are my scripts:
cat 101.mount
#!/bin/bash
mount --bind /test /home/vz/root/$VEID/mnt

cat 101.umount
#!/bin/bash
umount /home/vz/root/$VEID/mnt


Thanks for helping.
 
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: Mon May 13 19:21:38 GMT 2024

Total time taken to generate the page: 0.01366 seconds