Open main menu

OpenVZ Virtuozzo Containers Wiki β

Changes

User Guide/Installation and Preliminary Operations

221 bytes added, 18:39, 6 January 2012
Disk Partitioning
|}
Many of the historical specifications for partitioning are outdated in an age where hard drives and SSD drives are well above 20GB. So all minimums can be increased without any impact if you have plenty of drive space. It is suggested to use the ext3 or ext4 file system for the /vz partition. This partition is used for holding all data of the Virtual Private Servers existing on the Hardware Node. Allocate as much disk space as possible to this partition. It is not recommended to use the reiserfs file system as it is proved to be less stable than the ext3, and stability is of paramount importance for OpenVZ-based computers.
The root partition will host the operating system files. Fresh CentOS 6 install with basic server packages + OpenVZ kernel occupies approximately 2 GB of disk space, so 4 GB is a good minimal size of the root partition. If you have plenty of drive space and think you may add additional software to the Node such as monitoring software then consider using more. The size of the swap partition shall be two times the size of physical RAM installed on the Hardware Node however, above 2GB RAM and if HD space is limited consider using RAM + 2GB to conserve space.
32
edits