VMware Cloud Community
JulianMilano
Contributor
Contributor

When installing ESXi, how can I partition the disk before installation

I just finished installing ESXi 6.5 on my new Gigabyte BRIX GB-BRi5H-8250 which has an Intel i5 processor, 32GB RAM and 240GB WD SSD. I noticed that when ESXi 6.5.0 installed, it repartitioned the whole drive into one 240GB datastore. Is this OK or should I re-partition it to a smaller amount? Ideally most of our production ESXi hosts have a 20GB boot drive.

The purpose of this installation is so that I can setup a test lab environment. My final step is to create 2 or 3 virtual machines in the lab, install ESXi on each one, and use that setup as a 3-host vCenter cluster.

0 Kudos
5 Replies
rsave
Contributor
Contributor

hey JulianMilano​,

One physical device - only one VMFS datastore.Your virtual ESXi VMs will use their own virtual disks(5,2 GB enough). If you want cluster, you need shared storage. You can deploy another VM for example with FreeNAS  and share its virtual disk through iscsi or nfs for your virtual ESXi VMs.

0 Kudos
a_p_
Leadership
Leadership

I noticed that when ESXi 6.5.0 installed, it repartitioned the whole drive into one 240GB datastore

The repartitioning is expected, and unless you've installed ESXi on e.g. an USB/SD device, the disk has more partitions than just the VMFS datatore.

You can see the partitions in either the GUI when you select the disk, or from the command line using the partedUtil getptbl /vmfs/devices/disks/DeviceName command.

Ideally most of our production ESXi hosts have a 20GB boot drive

I assume that's achieved by creating/presenting multiple logical volumes from the hardware RAID controller.

André

0 Kudos
JulianMilano
Contributor
Contributor

So, would it be better if I scrub the existing (new) installation of the lab and go out and buy a 120GB USB stick, plug it into the BRIX and then install ESXi on that?

I would assume that I could then use the USB stick to hold the virtual ESXi hosts vmdks then when I install vCenter server, I can then use the installed 240GB SSD as the shared storage for the ESXi hosts?

My goal is to use the BRIX as the platform which houses 3 ESXi hosts (which will be created as virtual machines). i will then install vCenter server on one of the hosts, create a virtual cluster and add the ESXi hosts to that cluster, thus achieving a VMware clustered test lab. I hope to then add the SSD to the hosts as shared storage. Will this work?

0 Kudos
daphnissov
Immortal
Immortal

My goal is to use the BRIX as the platform which houses 3 ESXi hosts (which will be created as virtual machines).

Let me just save you some time here since I've worked with these systems. What you're wanting to do, although it makes perfect sense, is really, really not going to work well. That BRIX system is a miniaturized PC, like the Intel NUC platform. As a result of that compact form factor, the CPUs used within have to drastic reign it in to the tune of only about 15W TDP. Even though you get 4 cores, they're very tuned down. Now you're sharing that with a parent ESXi host plus others in nested mode (each of which requires 2 cores to install). The results are going to just plain suck, I'm sorry to say.

It's much more common and far more performant to have 3 BRIX/NUCs and run a lab on that (i.e., non-nested) and, while this obviously costs more, it'll at least run half-way decent.

In short, what you want--even if you achieve it--is going to run terrible and will result in a lab which isn't capable of much at all and in which performance across the board will be abysmal. Save yourself some hassle and either upsize to a full workstation tower, or plan to buy multiple miniature systems to cluster for a complete lab setup.

0 Kudos
JulianMilano
Contributor
Contributor

Thank you for your reply Daphissov. The reason I am setting this up on a BRIX is that I am replicating the hardware setup from a training video from LinkedIn where the traininer, Brandon Neill, shows how to setup ESXi on the BRIX then how to create the virtual ESXi hosts.

So, to get back on track, I will retry the installation this time installing the ESXi OS on a USB drive and hopefully use the SSD as a shared datastore.

0 Kudos