OpenVZ Forum


Home » General » Support » vzctl stop kills glusterfs? (umount: /media/glusterfs/var/www: Transport endpoint is not connected)
Re: vzctl stop kills glusterfs? [message #41496 is a reply to message #37872] Tue, 01 February 2011 13:30 Go to previous message
Xabi is currently offline  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.
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: *SOLVED* Zaptel - ztdummy - kernel install help
Next Topic: Custom Kernel slackware13.1 with Amazon
Goto Forum:
  


Current Time: Tue Oct 14 06:20:44 GMT 2025

Total time taken to generate the page: 0.22560 seconds