Re: vzctl stop kills glusterfs? [message #41496 is a reply to message #37872] |
Tue, 01 February 2011 13:30  |
Xabi
Messages: 1 Registered: February 2011
|
Junior Member |
|
|
Hi,
I don't know what does vzctl do exactly when you are stopping the container, but through testing I've seen there is a way of making sure glusterfsd is not killed by it, that is unmounting it from within the guest before stopping.
If your mount file is like this:
mount -n --bind /local/glusterfs/mountpoint /var/lib/vz/root/VEID/path/to/directory
Easiest solution is including this command in the stop script:
umount /path/to/directory
The stop script is run before any force umount happens from within the host.
I still would be interested in knowing why does vzctl kill glusterfs if you don't do that prior to stopping the vm.
|
|
|