|
|
Re: Clone VPS [message #8425 is a reply to message #4749] |
Mon, 20 November 2006 08:11 |
zenny
Messages: 48 Registered: November 2006
|
Member |
|
|
Thanks Vasily for the invaluable tip.
However I cannot copy the /vz/priate/200 to /vz/private/201 using the cp command. Of cource, I did mkdir /vz/root/201 /vz/private/201.
Is there any specific way to do it? Please elaborate on what should be the specific command to clone VPSes in the same HN (hardware node).
Thanks in advance.
[Updated on: Mon, 20 November 2006 08:45] Report message to a moderator
|
|
|
|
Re: Clone VPS [message #8433 is a reply to message #8432] |
Mon, 20 November 2006 09:23 |
zenny
Messages: 48 Registered: November 2006
|
Member |
|
|
I did exactly as you stated but didn't work, but reported 'omitting directories' error.
I rebooted the HN and did the same and copying worked.
But the new problem after starting the coped VPS.
#vzctl start 202 gives an error message:
"Unable to start init, probably incorrect template,
VE start failed"
I created and destroyed the 202 earlier with a different distro and also the 202.conf.destroyed has also been removed.
However, when I copied to something new like 211 the ID which was not used before, it worked perfectly.
Could you elaborate what could be the reason or where to tweak in the cases like 202 as stated above?
Thank you for your continued coooperation,
[Updated on: Mon, 20 November 2006 09:33] Report message to a moderator
|
|
|
|
Re: Clone VPS [message #8437 is a reply to message #8435] |
Mon, 20 November 2006 09:47 |
zenny
Messages: 48 Registered: November 2006
|
Member |
|
|
With the new VE, the above ls command outputs "No such file or Directory"
With the old VE, the first command (sbin dir) shows three files, init, initlog and telinit linked to init
the second command (bin dir) simply executes without any outputs.
And the cp went well without any glitches.
[Updated on: Mon, 20 November 2006 09:52] Report message to a moderator
|
|
|
|
|
|
|