Re: [Users] post-start and stop scripts

2008-01-09 Thread Jakob Goldbach
> Bind mounting works fine during start, but umounting on stop fails. I found the problem. The mountpoint in the VE got umounted by Debians umountfs script during shutdown of the VE. I didn't realize that a VE had permission to umount. /Jakob ___ Us

Re: [Users] post-start and stop scripts

2008-01-09 Thread Jakob Goldbach
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

Re: [Users] post-start and stop scripts

2008-01-09 Thread Thorsten Schifferdecker
Hello Jakob, please read the OpenVZ User Guide, at page 88 "OpenVZ Action Scripts". Bye, Thorsten Am Mi, 9.01.2008, 11:55, schrieb Jakob Goldbach: > Hi, > > I've seached the docs in vain on executing scripts on start or stop of > the VE. > > I'm doing a bind mount on the HN to the mounted VE >

[Users] post-start and stop scripts

2008-01-09 Thread Jakob Goldbach
Hi, I've seached the docs in vain on executing scripts on start or stop of the VE. I'm doing a bind mount on the HN to the mounted VE ($VZROOT/root/101/mnt/..) as descriped in http://wiki.openvz.org/Mounting_filesystems. I want to automate this during start and stop of the VE. Ideally the s