You can use vicfg-dumppart to manage core dumps.
The following example scenario changes the diagnostic partition. Specify one of the options listed in Connection Options for vCLI Host Management Commands in place of <conn_options>
.
Procedure
- Show the diagnostic partition the VMkernel uses.
vicfg-dumppart <conn_options> -t
- Display information about all partitions that can be used as diagnostic partitions. Use
-l
to list all diagnostic partitions, -f
to list all diagnostic partitions in order of priority.
vicfg-dumppart <conn_options> -f
The output might appear in the following format.
Partition name on vml.mpx.vmhba36:C0:T0:L0:7 -> mpx.vmhba36:C0:T0:L0:7
- Deactivate the diagnostic partition.
vicfg-dumppart <conn_options> -d
The
ESXi system is now without a diagnostic partition, and you must immediately set a new one.
- Set the active partition to
naa.<naa_ID>
.
vicfg-dumppart <conn_options> -s naa.<naa_ID>
- Run
vicfg-dumppart -t
again to verify that a diagnostic partition is set.
vicfg-dumppart <conn_options> -t
If a diagnostic partition is set, the command displays information about it. Otherwise, the command informs you that no partition is set.