On Wed, 2008-01-09 at 13:07 +0100, Thorsten Schifferdecker wrote: > > please read the OpenVZ User Guide, at page 88 "OpenVZ Action Scripts". >
Yes! - sorry for not seeing this on first read.. Bind mounting works fine during start, but umounting on stop fails. umount just boils down to a 'umount -v <mountpt>'. See transcript and full mount/umount script below. What am I missing here ? I'm using 2.6.18-ovz-028stab051.1 (x86_64) with vzctl version 3.0.22-1dso1 /Jakob HN:~# vzctl start 222 Starting VE ... /bin/mount -v --bind /mnt/test /var/lib/vz/root/222/mnt/bindmpt /mnt/test on /var/lib/vz/root/222/mnt/bindmpt type none (rw,bind) VE is mounted Adding IP address(es): 172.16.4.9 Setting CPU units: 1000 Configure meminfo: 35000 Set hostname: test1 VE start in progress... HN:~# mount [snip] /mnt/test on /var/lib/vz/root/222/mnt/bindmpt type none (rw,bind) HN:~# vzctl stop 222 Stopping VE ... VE was stopped /bin/umount -v /var/lib/vz/root/222/mnt/bindmpt could not umount /var/lib/vz/root/222/mnt/bindmpt - trying /mnt/test instead umount: /mnt/test: not mounted could not umount /var/lib/vz/root/222/mnt/bindmpt - trying /mnt/test instead umount: /mnt/test: not mounted Error executing umount script /etc/vz/conf/222.umount HN:~# vzlist -a VEID NPROC STATUS IP_ADDR HOSTNAME 222 - mounted 172.16.4.9 test1 _______________________________________________ Users mailing list [email protected] https://openvz.org/mailman/listinfo/users
