--private vs --root [message #45236] |
Thu, 16 February 2012 16:23 |
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
|
|
|