Hello,
Quote: |
However I cannot copy the /vz/priate/200 to /vz/private/201 using the cp command. Of cource, I did mkdir /vz/private/201.
|
Why can't you?
Quote: |
Is there any specific way to do it? Please elaborate on what should be the specific command to clone VPSes in the same server.
|
In current distribution of OpenVZ there is no specific tool. I guess this is so 'cause of it's very easy to do it by hand:
# vzctl stop 101
Stopping VE ...
VE was stopped
VE is unmounted
# cp -r /vz/priate/101 /vz/private/202
# cp /etc/vz/conf/101.conf /etc/vz/conf/202.conf
# vzctl start 202
Starting VE ...
Initializing quota ...
VE is mounted
Setting CPU units: 1000
VE start in progress...
This can easily be disgned as a shell script.
HTH,
Vasily.