| Prevent unmount inside VE [message #10137] | 
			Fri, 09 February 2007 10:50   | 
		 
		
			
				
				
				
					
						  
						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 ? 
		
		
		
 |  
	| 
		
	 | 
 
 
 |