OpenVZ Forum


Home » General » Support » --private vs --root
--private vs --root [message #45236] Thu, 16 February 2012 16:23 Go to previous message
jampa
Messages: 4
Registered: February 2012
Junior Member
If we want to make available a partition from host node (HN) to a container which option, private or root, to use and how?

I have a /root1 and /root2 partitions available in HN that I want to use for containers 101 and 102. I tried using as:
vzctl create 101 --root /root1 ...
it didn't work (ie the install proceeded on the usual /vz/private/101), then I tried to use it as:
vzctl create 101 --private /root1 ...
That seemed to have created the container's file system on HN's /root1, but for some reason either during a poweroff or reboot I lost the file system from /root1.

It is not clear as to how these options can be used and how are they related to each other, specially in regard to making a HN partition available for a container's root file system use.

Thanks
 
Read Message
Read Message
Previous Topic: Server Inaccessible
Next Topic: Is the NFS buffer cache shared between OpenVZ containers
Goto Forum:
  


Current Time: Thu Oct 17 12:22:52 GMT 2024

Total time taken to generate the page: 0.05163 seconds