Changes

Jump to: navigation, search

Creating OpenVZ LiveCD based on Centos 4.4

805 bytes added, 10:08, 3 July 2007
Install all these finally: /vz/private creation for tmpfs on it later
<pre>
# rm root/root/.bash_history
</pre>
Here we have to make one step to workaround [[Checkpointing and live migration]] problem. The thing is that at the moment
chekpointing isn't supported on <tt>unionfs</tt> filesystem ([http://bugzilla.openvz.org/show_bug.cgi?id=606 Bug #606]).
But we want of course checkpoiting to work on LiveCD. If we mount <tt>tmpfs</tt> on <tt>/vz/private/</tt> on '''booted''' LiveCD,
then all newly created VEs reside on <tt>tmpfs</tt> and checkpointing works. Moreover we do not introduce any additional memory usage,
because even without <tt>tmpfs</tt> all VEs reside in RAM (they contain new/updated files for <tt>unionfs</tt>).
 
Create <tt>/vz/private</tt> directory, later, while modifying initrd image we will add the line that will mount <tt>tmpfs</tt>
on this directory:
<pre>
mkdir root/vz/private/
</pre>
'''Booted''' LiveCD filesystem is ready, congratulations!
172
edits

Navigation menu