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

Attempts to upgrade ESXi with coredump partition fails (2144074)

  • 0 Ratings
Language Editions

Details

This issue occurs under these conditions:

  • ESXi was pre-installed by the OEM
  • You are upgrading from 5.5 GA or later
  • The ESXi host has not been upgraded
  • Upgrading to:
    • 5.5: Patch 1, U1, Patch 2, U2, Patch 3, U3, Patch 4, Patch 5, Patch 6, Patch 7, Patch 8 
    • 6.0: Genernal Availability, Patch 1, U1, Patch 2, U2.
This issue will not occur when upgrading to 5.5 Patch 9 or 6.0 Patch 3, and 6.5 General Availability or later releases as long as the workaround below has been applied previously.  If the coredump has not been recreated, follow the steps in the Resolution to recreate it.

Solution

This issue is resolved in ESXi 6.0 Patch 3. For more information, see VMware ESXi 6.0, Patch Release ESXi600-201608001 (2145663).

To work around this issue if you do not want to upgrade:

Remove the coredump partition

  1. Run this command to determine the start and end sectors for partition 2:

    fdisk -l

    Note: If fdisk reports the the partition table type as GPT, this issue does not apply to the host.

  2. Run these commands to set coredump partition from partition 2 to partition 7:
    • esxcli system coredump partition set -p="mpx.vmhba32:C0:T0:L0:7"
    • esxcli system coredump partition set --enable true
    • esxcli system coredump partition get

      KernelDumpParition:
      Active: mpx.vmhba32:C0:T0:L0:7
      Configured: mpx.vmhba32:C0:T0:L0:7


  3. Run this command to delete partition 2:

    partedUtil delete "/vmfs/devices/disks/mpx.vmhba32:C0:T0:L0" 2

  4. Run this command to confirm partition is removed:

    fdisk -l

  5. Perform the upgrade.
Recreate the coredump partition

  1. Run this command and record the GUID:

    esxcli system boot device get

  2. Run this command using the GUI from Step 1:

    vmkfstools -P /dev/disks/GUID

  3. Run this command using the GUID without the :X  to enter fdisk:

    fdisk /dev/disks/device from vmkfstools GUID_without_:X

  4. Switch units to sectors with the u command.
  5. Create a new partition with the n command with partition number 2.

    Note: Start sector by default should be 1843200 with end sector of 7086079. This should match the information from the previous section in Step 1.

  6. Press t to change the partion to FC.
  7. Press p to verify the changes and check the size of the new partition. In blocks it should be 2621440.
  8. Press w to write the partition.
  9. Press q command to quit fdisk.

Additional Information

For translated versions of this article, see:

Tags

ESXi partition table, ESXi coredump partition

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

  • 0 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.
  • 0 Ratings
Actions
KB: