Duplicating working VPS with tar/cp [message #29627] |
Sat, 19 April 2008 00:34 |
dranch
Messages: 33 Registered: August 2007
|
Member |
|
|
Hello Everyone,
I've had good luck with OpenVZ for my lab environment but I have a question on creating new VEs from existing ones. Specifically, say I have /vz/private/100 that has various levels of customization, etc. I realize that the proper way to do customizations is via modifying the VZ OS template and it's post-install script but that can be very time consuming.
As an experiment, I tared up /vz/private/100 and put it into /vz/private/101 with maintaining all the various permissions, etc. I then modified the various VZ and VPS config files and the new 101 VPS comes up fine.
What are the drawbacks to adding new VEs this way? As I understand it, the hardlinking isn't maintained so is this just a matter of disk use for the VE's files? Is there a way to get my cake and eat it too?
|
|
|