Search the VMware Knowledge Base (KB)
View by Article ID

Configuring ESXi coredump to file instead of partition (2077516)

  • 21 Ratings

Purpose

This article provides steps to configure ESXi to generate coredump as a file on VMFS. 

On ESXi\ESX hosts that are upgraded to ESXi 5.5 and later, the core file size is limited to 100 MB. In most cases this is not enough to handle the coredump file size. VMware recommends to configure the ESXi host to generate coredumps as a file.

Resolution

Note: Software iSCSI and Software FCoE are not supported for coredump locations.
 
To configure ESXi to generate the coredump as a file on VMFS: 
  1. Connect to the ESXi host using the SSH.
  2. Run this command to add a new file, used as coredump:

    esxcli system coredump file add

    -d can be used to specify the vmfs datastore used for the coredump file. If it is not provided, a datastore of sufficient size is automatically selected.
    -f can be used to specify a file name for the coredump file. If it is not provided, a unique name is created.

    For Example:

    esxcli system coredump file add -d VMFS_VOLUME -f test 

  3. Run this command to get the list of all dump files that have an access:

    esxcli system coredump file list

    You see output similar to:

    Path                                                                     Active Configured Size
    ------------------------------------------------------------------------ ------ ---------- ---------
    /vmfs/volumes/52b021c3-f6b3da50-4c76-001d0904c5a5/vmkdump/test.dumpfile  false  false      104857600

    Note: If no coredump file is specified, no output is displayed from running the command.

  4. Run this command to set the dump file for the host:

    esxcli system coredump file set -p /vmfs/volumes/DATASTORE_UUID/vmkdump/FILENAME

    For Example:

    esxcli system coredump file set -p /vmfs/volumes/52b021c3-f6b3da50-4c76-001d0904c5a5/vmkdump/test.dumpfile

  5. Run this command to verify that the dump file is active and configured:

    esxcli system coredump file list

    You see output similar to:

    Path                                                                     Active Configured Size
    ------------------------------------------------------------------------ ------ ---------- ---------
    /vmfs/volumes/52b021c3-f6b3da50-4c76-001d0904c5a5/vmkdump/test.dumpfile  True   True                   
    104857600


    The output indicates that the active and configured status of the file is True.
Note: For more information on configuring the coredump file, see Creating a Diagnostic Partition.

See Also

Request a Product Feature

To request a new product feature or to provide feedback on a VMware product, please visit the Request a Product Feature page.

Feedback

  • 21 Ratings

Did this article help you?
This article resolved my issue.
This article did not resolve my issue.
This article helped but additional information was required to resolve my issue.

What can we do to improve this information? (4000 or fewer characters)




Please enter the Captcha code before clicking Submit.
  • 21 Ratings
Actions
KB: