Unable to configure ESXi coredump partition: WARNING: Start offset less than header size!
search cancel

Unable to configure ESXi coredump partition: WARNING: Start offset less than header size!

book

Article ID: 434998

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

You are unable to successfully configure a dedicated local coredump partition on an ESXi host. When attempting to create or copy the diagnostic dump file to the local disk, the configuration fails and you receive the following error message in the command line interface:

WARNING: Start offset less than header size!

Environment

  • VMware ESXi
  • VMFS Datastores

Cause

This issue occurs when the local disk selected for the coredump partition contains pre-existing partitions. Because the disk is not blank and the existing data cannot be safely verified or overwritten, the ESXi host rejects it for use as a dedicated diagnostic partition.

Resolution

If a suitable, unpartitioned local disk is not available, you can resolve this by configuring a coredump file on a shared network file system (VMFS datastore) instead of using a dedicated local partition.

Follow these steps to configure and activate a core dump file on a VMFS datastore:

  1. Open a command-line session (SSH) to the affected ESXi host.

  2. Navigate to the disks directory:

    cd /dev/disks
    
  3. List the available storage file systems to identify the specific UUID of the shared network storage datastore you intend to use:

    esxcli storage filesystem list
    
  4. Add the coredump file to the selected datastore using the UUID identified in the previous step:

    esxcli system coredump file add -d <UUID>
    
  5. Verify that the core dump file has been successfully created:

    esxcli system coredump file list
    
  6. Activate the core dump file for the host. Using the smart selection algorithm will automatically enable the newly created file:

    esxcli system coredump file set --smart --enable true
    
  7. Verify that the core dump file is active and configured. Both the "Active" and "Configured" columns should display true:

    esxcli system coredump file list

Additional Information

For further details on configuring and managing core dump files and partitions, please refer to the following official documentation: