OpenVZ Forum


Home » General » Support » difference between /vz/private/ and /vz/root/ ? [Solved]
Re: difference between /vz/private/ and /vz/root/ ? [Solved] [message #23690 is a reply to message #23688] Thu, 22 November 2007 10:50 Go to previous messageGo to previous message
RobinVossen is currently offline  RobinVossen
Messages: 36
Registered: November 2007
Member
Well I mount the Private since else the program just doesnt work...
if I run vzctl start 1 it says it cant find /vz/private/1
So thats why I mount that one.. And well I thanks for that script. But I already got that Razz the thing is, it doesnt work. Since I mount it when the system already started With Running. (I dont want users to be able to use portage. Only when I want to run portage I want to be able to) so I mount the portage tree to /vz/root/1/usr/portage when 1 is running.
The /vz/root/ folder is mounted from the /var/lib/vz/root/ so thats CrossMounting in case you arnt known with that term.
Example of Cross-Mounting:
mount -o bind /var /home/user
mount -o bind /etc /home/user/etc
Now you can write to the etc folder using 3 Folders.
/etc /home/user/etc /var/etc

thats cross mounting
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: I get OpenVZ now, but what about NFS support?
Next Topic: FTP login problem
Goto Forum:
  


Current Time: Sun Jul 06 01:52:35 GMT 2025

Total time taken to generate the page: 0.02601 seconds