How to manually regenerate core dump files in VMware ESX and ESXi

To regenerate a core dump file on ESX and ESXi 4.x:
  1. Log into the ESX host:
  2. Determine the device identifiers for the core partition(s) by running the command:

    esxcfg-dumppart -t

    The output appears similar to:

    mpx.vmhba2:C0:T0:L0:2      /dev/sda2

  3. Change to a directory with sufficient space to store the core dump file. For example:

    cd /vmfs/volumes/DatastoreName/

  4. Dump the partition contents to a file by running the command:

    esxcfg-dumppart --copy --devname "/vmfs/devices/disks/<identifier>"

    Where <identifier> is the value recorded in step 2. For example:

    esxcfg-dumppart --copy --devname "/vmfs/devices/disks/mpx.vmhba2:C0:T0:L0:2"

12558 Total Views 2 Views Today

Leave a Reply