|
Re: VE Cloned but the mysqld timed out in cloned VE [message #8481 is a reply to message #8478] |
Mon, 20 November 2006 20:28 |
zenny
Messages: 48 Registered: November 2006
|
Member |
|
|
The problem is copying the VE using the cp with -r and -a flag which does not preserve the permssions and ownership of the files.
Therefore I did the following to copy.
#mkdir /vz/private/new_VEid
#cd /vz/private/old_VEID
#tar cf - * | ( cd /vz/private/new_VEid tar xfp -)
#cp old_VEID.conf new_VEID.conf
And it works smoothly.
Hope this input does not get hijacked as it happened with the clone VE in the openvz wiki. :/)
[Updated on: Tue, 21 November 2006 06:20] Report message to a moderator
|
|
|
|
|
Re: SOLVED* Cloned but the mysqld timed out in cloned VE [message #8494 is a reply to message #8484] |
Tue, 21 November 2006 06:13 |
zenny
Messages: 48 Registered: November 2006
|
Member |
|
|
Dear dev:
Of course, the entire VE to be cloned needs to be stopped before cloning. So I did accordingly. cp -a and cp -r didn't help.
However the tar command as I said earlier helped and it worked flawlessly.
I am posting here it could be helpful to someone who encounters similar problem. All the best.
|
|
|