esxcli
command line utility. A diagnostic partition can also be created using the vSphere Client. For more information, see:
esxcli
command line utility:esxcli system coredump partition get
Active: mpx.vmhba2:C0:T0:L0:7
Configured: mpx.vmhba2:C0:T0:L0:7
To create a new diagnostic coredump partition on disk:
partedUtil
command line utility to create a new partition, 100 MB in size, with type 0xFC
= 252
. Ensure that other existing partitions on the same disk are not affected. For more information, see Using the partedUtil command line utility on ESXi and ESX (1036609).esxcli
command line utility to list all accessible diagnostic partitions. Validate that the list of partitions includes the one created in step 3.esxcli system coredump partition list
Name Path Active Configured
--------------------- ------------------ ------ ----------
mpx.vmhba2:C0:T0:L0:7 /vmfs/devices/.... false false
esxcli
command line utility. Either specify a device explicitly, or use the Smart Activate feature to automatically select one of the accessible diagnostic partitions:esxcli system coredump partition set --partition="Partition_Name"
esxcli system coredump partition set --enable true
esxcli system coredump partition set --partition="mpx.vmhba2:C0:T0:L0:7"
esxcli system coredump partition set --enable true
esxcli system coredump partition set --enable true --smart
esxcli system coredump partition list
Name Path Active Configured
--------------------- ------------------ ------ ----------
mpx.vmhba2:C0:T0:L0:7 /vmfs/devices/.... true true
The environment that does not have Core Dump Configured will receive an Alarm as "Configuration Issues :- No Coredump Target has been Configured Host Core Dumps Cannot be Saved Error".
In the scenarios where the Core Dump partition is not configured and is not needed in the specific environment, you can suppress the Informational Alarm message, following the below steps,
To extract contents from the VMKcore diagnostic partition after a purple screen error, see Collecting diagnostic information from an ESX or ESXi host that experiences a purple diagnostic screen (1004128).
Configuring an ESXi/ESX host to capture a VMkernel coredump from a purple diagnostic screen
Identifying disks when working with VMware ESXi/ESX
Using the partedUtil command line utility on ESXi and ESX
Configuring a vSphere ESXi host to use a local USB device for VMkernel coredumps
Configuring an ESX/ESXi 3.0-4.1 host to capture a VMkernel coredump from a purple diagnostic screen to a diagnostic partition
ESXi 5.x/6.x ホスト上での診断コアダンプ用パーティションの構成
在 ESXi 5.x/6.0 主机上配置诊断核心转储分区
ESXi ホストの [サマリ] タブで次のエラーが表示される: 「vmkcore ディスク パーティションが存在しません」