OpenVZ Forum


Home » General » Support » bug in vzctl 3.0.23-1pve3
Re: bug in vzctl 3.0.23-1pve3 [message #38325 is a reply to message #38263] Mon, 07 December 2009 11:25 Go to previous messageGo to previous message
fdef is currently offline  fdef
Messages: 6
Registered: November 2009
Junior Member
Ok thx for your explaination.

But, do you see any errors in my vps scripts?

root@test:/etc/vz/conf# cat vps.*
#!/bin/bash
source /etc/vz/vz.conf
source ${VE_CONFFILE}
mount --bind /home ${VE_ROOT}/home
mount --bind /vz/backups ${VE_ROOT}/backups
#!/bin/bash
source /etc/vz/vz.conf
source ${VE_CONFFILE}
umount ${VE_ROOT}/home
umount ${VE_ROOT}/backups


Cause i don't understand.

Nothings is mounted..
root@test:/etc/vz/conf# mount | grep 102


I start 102 contener, and nothings will be mount even vps.umount script start before vps.mount. And i'm not realy shure, vps.mount script start.
root@test:/etc/vz/conf# vzctl start 102
Starting container ...
umount: /var/lib/vz/root/102/home: not mounted
umount: /var/lib/vz/root/102/backups: not mounted
Error executing umount script /etc/vz/conf/vps.umount
Setting CPU units: 1000
Setting CPUs: 1
Configure meminfo: 262144
Set hostname: test
File resolv.conf was modified
Setting quota ugidlimit: 0
Configure veth devices: veth102.0 
Adding interface veth102.0 to bridge vmbr1 on CT0 for CT102
Container start in progress...

root@test:/etc/vz/conf# mount | grep 102


Do you think, if vps.umount exit with error status, the vps.mount script didn't start ?

root@test:/etc/vz/conf# vzctl stop 102
Stopping container ...
Container was stopped
umount: /home: not mounted
umount: /home: not mounted
umount: /var/lib/vz/backups: not mounted
umount: /var/lib/vz/backups: not mounted
Error executing umount script /etc/vz/conf/vps.umount


Thx fdef
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: modprobe ip_vs
Next Topic: LSB init script for each VPS
Goto Forum:
  


Current Time: Fri Oct 10 19:57:16 GMT 2025

Total time taken to generate the page: 0.16043 seconds