This article provides steps to configure ESXi to generate coredump as a file on VMFS.
Note: ESXi 7.0 creates a VMFS-L based ESX-OSData volume and configures a coredump file to be stored in it if the volume is larger than 4GB. If ESXi is installed on a USB/SDCard device, then the boot option allowCoreDumpOnUsb=TRUE will also need to be set before ESXi starts. A larger or alternative coredump file can be configured using the steps described in this article.
VMware vSphere ESXi 8.x
VMware vSphere ESXi 7.x
VMware vSphere ESXi 6.x
Warning: No coredump target has been configured. Host core dumps cannot be saved
If the size of your available core dump partition is insufficient, you can configure ESXi to use a file on a VMFS datastore for diagnostic information.
# esxcli system coredump file add -d <datastore_UUID> -f <File Name>
The command takes the following options, but they are not required and can be omitted:
Option |
Description |
|
If not provided, the system selects a datastore of sufficient size. The Datastore can be a VMFS or VMFS-L volume. |
|
If not provided, the system specifies a unique name for the core dump file. |
|
If not provided, the system creates a file of the size appropriate for the memory installed in the host. |
# esxcli system coredump file list
You can see the output similar to the following:
Path Active Configured Size
------------------------------------------------ ------ ---------- ---------
/vmfs/volumes/52b021c3-.../vmkdump/test.dumpfile false false 104857600
# esxcli system coredump file set
The command takes the following options:
Option |
Description |
|
The path of the core dump file to use. The file must be pre-allocated. |
|
This flag can be used only with --enable | -e=true. It causes the file to be selected using the smart selection algorithm. For example,
|
# esxcli system coredump file list
The output similar to the following indicates that the core dump file is active and configured:
Path Active Configured Size
------------------------------------------------ ------ ---------- ---------
/vmfs/volumes/52b021c3-.../vmkdump/test.dumpfile True True 104857600
Note: For more information on configuring the coredump file, see Setting Up ESXi Core Dump on a VMFS Datastore.