Proxmox advanced install settings

Proxmox advanced install settings

Get Social!

proxmox logo gradInstalling Proxmox is quick and easy – the installer GUI takes care of everything, such as installing the correct packages and partitioning the root hard disk.

You can download Proxmox from the Proxmox download page as an ISO which you will need to boot your server from.

See my  Install guide blog post for the basics on installing Proxmox.

On more advanced installs, there may be a need to override some of these options. For example, you may want to specify how much swap space is created, or the size of the root partition. On one of my installs using a 120GB disk as the install device, 28GB is used for my root (/) partition on a default install. As I only run the basic, required packages on the host this size is far too large. With larger disks the problem gets worse.

When installing proxmox, the first screen of the installer is the Boot menu. At this prompt, we can specify arguments to override the defaults.

Proxmox boot install screen

The above example linux ext4 maxroot=10 swapsize=20 sets the partition format to ext4 (ext3 is the default), creates a root partition of 10GB providing the disk is large enough and swapsize of 20GB.

The options available at the boot menu are:

  • 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 instillation.

Related posts:


8 Comments

Arnaud

17-Jan-2014 at 5:06 pm

very good tip ! no wasted disk space now.

but they could have make a little formular in the installation wizard to let user choose sizes, no ?

    james.coyle

    17-Jan-2014 at 8:47 pm

    It would be nice to have a GUI to choose sizes, but at least this way gives us the option.

      kotakomputer

      16-Sep-2016 at 4:27 pm

      I see at least Proxmox 4.1 has GUI for this, but don’t know since which version supported.

Brian

13-Nov-2014 at 1:11 pm

Hi James,

Stupid question – why should hdsize be < hdd size?

Thanks!

    james.coyle

    14-Nov-2014 at 10:29 am

    To avoid any errors. I’ve had mixed success when setting this value to the exact size of the hard disk.

    And no such thing as a stupid question! ;)

    Jasond

    24-Aug-2015 at 4:10 am

    There needs to be some unallocated space on hdd in order for lvm snapshots to function.

RH

3-Jan-2015 at 4:31 pm

Hello,

thank you for info!

I have one question – do you use ext4 on production servers? Proxmox forum says there could be problem with performance, but on other side, when you want to do fsck sometimes, its very fast on ext4, on ext3 fsck on 3,5TB array takes about 30-40 minutes (!) when half of array is filled, so i think i will take about an hour when full On ext4 it will be minutes…

    james.coyle

    5-Jan-2015 at 10:39 am

    EXT3 is still recommended above EXT4.

Leave a Reply

Visit our advertisers

Search

Quick Poll

Do you use GlusterFS in your workplace?

Visit our advertisers