OpenVZ Forum


Home » General » Support » mount --bind Bug in OpenVZ?
Re: mount --bind Bug in OpenVZ? [message #35800 is a reply to message #35793] Thu, 23 April 2009 06:53 Go to previous messageGo to previous message
maratrus is currently offline  maratrus
Messages: 1495
Registered: August 2007
Location: Moscow
Senior Member
Hi,

Quote:


umount /home /var/lib/vz/root/${VEID}/home


This is a wrong syntax.
Invoking such command from HN tells your system to umount home. No wonder that /home is umounted.

Don't put anything in umount script in such situation because /home directory will be properly umounted from inside a VE when a VE is stopped.
Look at /proc/mounts output inside VE. The information about bind mount can be obtained from it, so you can umount this directory from inside the VE and init scripts actually do this.
 
Read Message
Read Message
Read Message
Previous Topic: IPsec with rebuilt kernel possible?
Next Topic: Mysql Sockets?
Goto Forum:
  


Current Time: Thu Oct 17 10:18:05 GMT 2024

Total time taken to generate the page: 0.06816 seconds