Saturday, June 7, 2014

Install Proxmox VE with custom partition size and format

Purpose:

Proxmox will be installed with default settings.
Like 8GB for swap and much more for the root directory.

In this case i want a bigger swap of 20GB and the root of 10GB (more then enough for default proxmox VE installation, my default installation takes only 1GB of space)

When doing this you will also have more storage left to use for local storage.

Also Proxmox is using EXT3 as default but can use EXT4.
We are going to change it from EXT3 to EXT4 but if you want as default you can leave that part out.



Used Software:

Proxmox VE 3.2 or 3.3


Necessary:


Installation:

Put the CD in the server and wait untill the Proxmox VE boot logo appears with the command line under it: "Boot:"

Type the following line and press ENTER
Linux ext4 maxroot=10 swapsize=20

Proxmox will now start the installation and using the partition settings you defined.


Command options:

linux ext4 – sets the partition format to ext4. The default is ext3.
hdsize=nGB – this sets the total amount of hard disk to use for the Proxmox installation. This should be smaller than your disk size.
maxroot=nGB – sets the maximum size to use for the root partition. This is the max size so if the disk is too small, the partition may be smaller than this.
swapsize=nGB – sets the swap partition size in gigabytes.


maxvz-nGB – sets the maximum size in gigabytes that the data partition will be. Again, this is similar to maxroot and the final partition size may be smaller.
minfree=nGB – sets the amount of free space to remain on the disk after the Proxmox installation.

No comments: