vCenter Troubleshooting TIPS: ESXi: After ESXi 5.5 patches - No coredump target has been configured. Host core dumps cannot be saved

Luciano PatrãoICT Senior Infraestructure  Engineer  
CERTIFIED EXPERT
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard, Virtual Backups, and Storage design, and an active blogger.
Published:
After we apply, or update, ESXi 5.5 we can get this warning in ESXi host: No coredump target has been configured. Host core dumps cannot be saved
Note: After long time away from EE I will try to start writing some articles and TIPs.

Applying VMware update in 8 ESXi 5.5 HP DL360 Gen9, after the reboot we can have same issue in the ESXi hosts

Warning: No coredump has been configured. Host core dumps cannot be saved
Screen-2BShot-2B02-27-16-2Bat-2B01.2.PNG
Try investigate the updates and check any VMware KB information and don't see anything that could cause this issue. Or if is an hidden issue, or the issue was already in this hosts and never been discover.

So we try to find where was the issue here.

Starting to check the partition and look for the partition coredump state.
List all coredump partitions: # esxcli system coredump partition list

Screen-2BShot-2B02-27-16-2Bat-2B01.1.PNG
It seems there is no coredump partition.
Then check heck the devices in the host: # esxcfg-scsidevs -c

Screen-2BShot-2B02-27-16-2Bat-2B01.2.PNG
I see the the SD Flash card where the ESXi is installed.

So lets check all partitions in this device and see if there is any partition for the coredump(call vmkDiagnostic) using partedUtil.

List all partitions: # partedUtil getptbl /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0

Screen-2BShot-2B02-27-16-2Bat-2B01.2.PNG
There is the #7(normally the vmkDiagnostic and coredump partition) but also #9.
So we need to set the coredump into the proper partition and enable and delete the other.

This type of issues(2 coredump partitions) normally happen in ESXi hosts that were upgraded(these hosts were upgraded from 5.0 to 5.5 some time ago)

First bind the coredump to the right partition: # esxcli system coredump partition set --partition='mpx.vmhba32:C0:T0:L0:7'
Then set the to coredump to true: # esxcli system coredump partition set --enable true
Then just list the coredump partitions again to check if now is set: # esxcli system coredump partition list

Screen-2BShot-2B02-27-16-2Bat-2B01.3.PNG
As we can see, now the partition #7 is enable and active for coredump, but we still have a second one. So lets just delete the #9 partition.

To delete the partition we need to use the partedUtil again: # partedUtil delete /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0 9

After we delete the partition, lets check if is already remove from the partition table and check if there is only one active coredump partition.

# partedUtil getptbl /vmfs/devices/disks/mpx.vmhba32:C0:T0:L0

Screen-2BShot-2B02-27-16-2Bat-2B01.4.PNG
All partitions are correct and now only one coredump partitions is visible.

After this coredump is again active and enable and we don't see any warning anymore in the host(in vSphere Client)

Hope this help you correcting your coredump issues.

This is the part of my "TIP Articles". So, please vote "Helpful" on this Article. And I encourage your comments and feedback.
0
830 Views
Luciano PatrãoICT Senior Infraestructure  Engineer  
CERTIFIED EXPERT
vExpert vSAN, NSX, Cloud Provider, Veeam Vanguard, Virtual Backups, and Storage design, and an active blogger.

Comments (0)

Have a question about something in this article? You can receive help directly from the article author. Sign up for a free trial to get started.