title | excerpt | updated |
---|---|---|
Dedicated Servers - ESXi Partitioning |
Use the OVHcloud Control Panel or the OVHcloud API to customise ESXi system partitions |
2025-02-25 |
Warning
The ESXi hypervisor is no longer supported by OVHcloud. Find more information on this dedicated page.
With OVHcloud dedicated servers, you can freely configure partitioning. This gives customers a wide range of options when installing an operating system. ESXi is an exception because it is a UNIX-based, proprietary system with a proprietary installer.
OVHcloud installations of ESXi are therefore compliant with the configuration set by the software publisher. Since ESXi 7.0, it is possible to choose between 4 different predefined partitioning layouts. This guide will show you how to select a partitioning layout in the OVHcloud Control Panel or via the OVHcloud API.
[!primary]
ESXi 7.0 is often used as an example but this documentation is valid for any further versions of ESXi as well.
- A dedicated server ready to be installed/reinstalled in your OVHcloud account that is compatible with ESXi
- Access to the OVHcloud Control Panel and/or the OVHcloud API
[!alert]
Reinstalling a dedicated server deletes all data currently stored on it.
ESXi 7.0 introduced a boot option to configure the size of ESXi system partitions because the increased size of the system partition could cause issues, especially on systems with small disks. OVHcloud includes this feature in the OVHcloud Control Panel and the OVHcloud API.
Even with multiple disks available on a server, the ESXi OS installation uses only the first disk of the targeted disk group (see OVHcloud API and OS Installation - Disk Groups). Other disks may be configured afterwards to be used for virtual machines (see How to add a datastore).
There are 4 different values:
Value | System size¹ | Datastore³ |
---|---|---|
default |
130 GiB | All remaining space² |
min |
32 GiB | All remaining space² |
small |
64 GiB | All remaining space² |
max |
All available space² | ❌⁴ |
¹ On the first disk of the targeted disk group for the OS installation.
² Space on the disk on which the OS will be installed.
³ A datastore is a disk partition (sometimes also called "container") that ESXi will use to store the virtual machines. More details.
⁴ Customers can still add a datastore afterwards on the other disks.
As you can see, no datastore is created on the first disk with the max
partitioning layout.
[!primary]
Did you know?
VMware on OVHcloud solutions are based on ESXi with the partitioning layout
small
.
The default
partitioning scheme will be used unless another one is selected.
[!primary]
The procedure is very similar to other operating systems, with the exception that you cannot tick the checkbox
Customise the partitioning configuration
{.action} and that you have a dropdown menu to choose the partitioning layout at the fourth and final step.
Log in to the OVHcloud Control Panel. From the General information
{.action} tab, click the ...
{.action} button next to the operating system and then click Install
{.action}.
In the popup window, select Install from an OVHcloud template
{.action}
Click Next
{.action} to continue.
Then choose Virtualisation
{.action}, UNIX
{.action} and select the version of ESXi you want to install on your dedicated server.
[!primary]
The
Customise the hardware RAID configuration
{.action} option is only available if your dedicated server has a hardware RAID controller.
[!primary]
The
Customise the partition configuration
{.action} option is not available, for the above reasons.
Choose the disk group on which you want ESXi to be installed. Note that only the first disk of this group will be used to install the OS. Find more information in this guide.
Click Next
{.action} to continue.
In the Partitioning scheme
{.action} dropdown menu, select the desired partitioning scheme. The overview is updated as soon as you select another partitioning scheme, so you can get an idea of how the partitioning will look like on your dedicated server.
Fill in the other details and click Confirm
{.action} to start the ESXi installation on your dedicated server.
[!primary]
The
Number of disks partitioned
{.action} field is greyed out and set to 1, even if your server has more than 1 disk on the target disks group for OS installation, as explained above.
When triggering an OS installation, the customer can optionally provide a partitionSchemeName
in order to specify which partitioning layout must be used:
[!api]
@api {v1} /dedicated/server POST /dedicated/server/{serviceName}/reinstall
Example of payload:
{
"operatingSystem": "esxi70_64",
"storage": [
{
"partitioning": {
"schemeName": "small"
}
}
]
}
To list the different available partitioning schemes for an OVHcloud template, you can use the following API call:
[!api]
@api {v1} /dedicated/installationTemplate GET /dedicated/installationTemplate/{templateName}/partitionScheme
For example, for esxi70_64
it will return:
[
"default"
"max"
"small"
"min"
]
In order to get the details of the partitioning scheme dynamically, you can use the following API call:
[!api]
@api {v1} /dedicated/installationTemplate GET /dedicated/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition
You can use the following API call to get the details for each partition:
[!api]
@api {v1} /dedicated/installationTemplate GET /dedicated/installationTemplate/{templateName}/partitionScheme/{schemeName}/partition/{mountpoint}
Boot option to configure the size of ESXi system partitions
Getting started with a dedicated server
Getting started with a Kimsufi, So You Start or Rise dedicated server
OVHcloud API & OS installation
Join our community of users.