Re: Umount action script problem [message #10903 is a reply to message #10842] |
Tue, 06 March 2007 23:23  |
mcarreira
Messages: 30 Registered: February 2007
|
Member |
|
|
Thanks to Vasily precious help, the problem is corrected!
There are two critical points:
The script /vz/sysconfig/vz-scripts/120.mount must have the "-n" option, like:
#!/bin/bash
/bin/mount -n --bind /nova /vz/root/120/teste
exit $?
But the unmount script (/vz/sysconfig/vz-scripts/120.umount) MUST_NOT_EXIST!
I forgot that everything is unmounted during a shutdown.
Even with the "mount -n" option if the unmount script is used, we have problems after some more "start/stop".
M.Carreira
|
|
|