Allow Diagnostic CoreDump on USB Drive

Here is a quick rundown on how to disable the coredump warning or to use the USB drive as noted to be supported in 7.0 per KB2077516

You will note the aforementioned informational warning in the UI when no cordump target has been created and specified.

Running the following as described by William Lam: esxcli system settings advanced set -o /UserVars/SuppressCoredumpWarning -i 1 will remove this warning.

As seen above after running the esxcli command above, the warning is successfully suppressed. As noted, you should have coredumps configured in prod systems.

Here, now, lets setup coredumps using USB drives inside our hosts.

Under advanced settings of your esxi host, search for and set VMkernel.Boot.allowCoreDumpOnUsb to “True”

First run esxcli storage filesystem list to list the available storage locations. Im looking for VMFS-L (local) which is my USB drive.

Create the coredump location: esxcli system coredump file add -d DATASTORE-FROM-ABOVE -f aHostName -s 2000
-d option for datastore
-f file followed by a name for the coredump
-s for size in MB

to validate its creation run: esxcli system coredump file list

Lastly, set the coredump to active with esxcl system cordump file set -s –e=True

VMWare KB 2077516

Scroll to Top