Skip to content

Howto

Unattended ESXi Installation from an USB Flash Drive

I was asked if it is possible to create an USB Flash Drive that can install ESXi on a server automatically. ESXi has a Scripted Install feature which allows to put all installation parameters into a Kickstart file to run unattended Installations. This post explains how to create an USB Flash Drive that does unattended ESXi installations. You can plug it into a Server, power it on and ESXi will be installed automatically.

Read More »Unattended ESXi Installation from an USB Flash Drive

Customized ESXi Image for 4th Gen Intel NUC

Intel NUCs are small, silent, transportable and have a very low power consumption, making it a great server for your homelab. Unfortunately ESXi does not work out of the box on these small nice systems. This post describes how you can create a customized ESXi Image for a 4th Intel NUC in about 5 minutes.

4th Generation Intel NUC Models:

  • D54250WYK
  • D54250WYKH
  • D54250WYB
  • D34010WYK
  • D34010WYKH
  • D34010WYB

vsphere-esxi-on-intel-nuc-BOXD54250WYKH

Read More »Customized ESXi Image for 4th Gen Intel NUC

Identify Virtual Machine Locks & Find ESXi Hosts by its MAC Address

I recently had an issues where a virtual machine crashed. VM Monitoring (VM HA) tried to restart it, but did not succeed. The virtual machine was greyed out in the inventory and could not be started because it was locked. Unfortunately, it was not possible to identify which ESXi host holds the lock. This post explains how to quickly identify which server is blocking the Virtual Machine.

Read More »Identify Virtual Machine Locks & Find ESXi Hosts by its MAC Address

Reuse VSAN Claimed Disks as VMFS Datastore

During a test I used an old disk that has been previously used by Virtual SAN. The disk did not appear during the datastore creation process. I miss a flash drive here:

datastore-creationThe problem is that the disk has not been cleared from it's VSAN configuration. It has still valid VSAN partitions, so the ESXi "claims it for VSAN" what makes it impossible to create a VMFS filesystem.

Read More »Reuse VSAN Claimed Disks as VMFS Datastore

Howto Shrink a Thin Provisioned Virtual Disk (VMDK)

Thin provisioned disks are a great feature to save capacity as you virtual machines filesystem will never use the full capacity. I do not know a single system where you do not have at least 10GB of free space for OS disks. I am not considering databases, applications or fileservers which will grow constantly. Having thin provisioned disk is usually no longer a performance problem so it is a valid design choice even in production.

A common issue with thin disks is that the size will grow when required, but never shrink. When you require the capacity only once you might want to get it back from the virtual machine. This post describes how to reclaim unused space from the virtual machine.

Read More »Howto Shrink a Thin Provisioned Virtual Disk (VMDK)