Boot option to configure the size of ESXi system partitions in 9.0
search cancel

Boot option to configure the size of ESXi system partitions in 9.0

book

Article ID: 394420

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

ESXi 7.0 introduced a system-storage boot media layout designed to ensure new features and capabilities could be added in future releases. The partition layout can consume up to 138 GB of disk space, which limits the usable space to create a VMFS datastore on a small server with finite hardware resources.

ESXi 7.0 Update 1c  release adds the boot option systemMediaSize to customize the space used by system-storage during installation and better match the purpose and size of the server.

Environment

VMware vSphere ESXi 9.0

 

Resolution

ESXi 9.0 System storage consumes a default of 138 GB if systemMediaSize is not provided. It is the recommended size for most servers. For more information refer to vSphere 9.0 ESX System Storage Overview

The systemMediaSize boot option accepts the following parameters with the corresponding size used for ESXi system partitions:

  • default 138GB
  • max      all available space, recommended for multi-terabyte servers

Note: min and small options previously available in 7.x and 8.x are no longer options
Note: GB units specified are in storage device sizes, i.e. 1,000,000,000 byte multiples
 Boot options can be provided to the installer in various ways depending on what install method is used (refer to the links in the Related Information section for more detail). There are two methods below for providing the boot option at startup and apply to any chosen installer media.

Entering the boot option at boot media startup:

  • Start the host with the install image and when the ESXi installer window appears, press Shift+O within 5 seconds to edit the boot options.


For example, add the following prompt:
systemMediaSize=max

Modifying boot.cfg to have the boot option:


Edit the boot.cfg file in the install image and add the boot options to the kernelopt line.

For example, kernelopt=runweasel systemMediaSize=max