There is a requirement to migrate the BOOTLUN from one storage model to another (e.g., Hitachi to Pure).
The LUN size configured as BOOTLUN is less than 32GB.
The BOOTLUN was originally configured on ESXi 6.7 and later the hosts were upgraded to ESXi 7.0.
During the BOOTLUN migration, the LUNs are not cloned at the storage level. Instead, LUNs from the new storage array are presented and the ESXi hosts are reinstalled.
After reinstalling the ESXi hosts, the local datastore previously present on the BOOTLUN is missing.
Run the following command to check the partition details of the BOOTLUN: partedUtil getptbl /vmfs/devices/disks/naa.xxxxxxxxxxxxxxxxxxxx
Observe the output:
• There is no VMFS partition present.
• The entire LUN capacity is allocated to the vmfsl partition.
Sample output:
partedUtil getptbl /vmfs/devices/disks/naa.624axxxxxxxxxxxxxxxxxxxxxxxxxxgpt4177 255 63 419430401 64 204863 C12A7328F81F11D2BA4B00A0C93EC93B systemPartition 1285 208896 8595455 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 06 8597504 16984063 EBD0A0A2B9E5443387C068B6B72699C7 linuxNative 07 16986112 41943040 4EB2EA3978554790A79EFAE495E21F8D vmfsl 0On the vSphere client, this device shows as Not Consumed under Hosts>Configure>Storage Devices
It is listed when attempting to create a new datastore. However, no free space is available to create the vmfs partition.
VMware vSphere ESXi 7.x
With the introduction of ESXi 7.0, a new system-storage boot media layout was implemented. This layout can consume up to 138GB of disk space, leaving insufficient free space for a VMFS datastore on smaller boot LUNs.
This is an expected behaviour if the size of the BOOTLUN is less than 142GB. You can consider the following options: