31
edits
Changes
no edit summary
=== Filesystems ===
It is recommended to use a separate partion partition for VEs private directories (by default /vz/private/<veid>). The reason why you should do so is that if you wish to use OpenVZ per-VE disk quota, you won't be able to use usual Linux disk quotas on the same partionpartition. Bear in mind, that per-VE quota in this context includes not only pure per-VE quota, but also usual Linux disk quota used in VE, not on HN.
At least try to avoid using root partion partition for VEs, because the root user of VE will be able to overcome 5% disk space barrier in some situations. This way HN root partion partition can be completely filed filled and it will brake break the system.
OpenVZ per-VE disk quota is supported only for ext2/ext3 filesystems. So use one of these filesystems (ext3 is recommended) if you need per-VE disk quota.
initrd /initrd-2.6.8-022stab029.1.img
</pre>
Change <tt>Fedora Core</tt> to <tt>OpenVZ</tt> (just for clarity reasons, so the OpenVZ kernels will not be mixed up with non -OpenVZ ones). Remove extra arguments from the kernel line, leaving only the <tt>root=...</tt> parameter. The modifed portion of <tt>/etc/grub.conf</tt> should look like this:
<pre>
</pre>
{{Note|in In kernels later than 2.6.8, connection tracking is enabled by default.}}
== Rebooting into OpenVZ kernel ==