OpenVZ Forum


Home » General » Support » Prevent unmount inside VE
Prevent unmount inside VE [message #10137] Fri, 09 February 2007 10:50 Go to previous message
Kakihara is currently offline  Kakihara
Messages: 6
Registered: January 2007
Junior Member
Hi

I run several VE`s and mount some Directorys outside the VE via mount --bind to access them.
Inside the VE the Root could unmount this.

Example:

root@hn:/# mount --bind /mnt/ /vz/root/100/mnt/
root@hn:/# vzctl enter 100
root@ve:/# cat /proc/mounts
simfs / simfs rw 0 0
ext3 /mnt ext3 rw,data=ordered 0 0
root@ve:/# umount /mnt/ <---- Works
root@ve:/# exit
root@hn:/# mount
/dev/sda1 on / type ext3 (rw,errors=remount-ro)
/mnt on /var/lib/vz/root/100/mnt type none (rw,bind) <-- This Information is not updated.

How could I prevent this ?
 
Read Message
Read Message
Previous Topic: VPS dies
Next Topic: 2.6.18-ovz028test015.1-enterprise
Goto Forum:
  


Current Time: Sat Oct 12 07:56:35 GMT 2024

Total time taken to generate the page: 0.07256 seconds