6.0.1

Table Of Contents
Procedure
1 Create a VMFS datastore core dump le by running the following command:
esxcli system coredump file add
The command takes the following options, but they are not required and can be omied:
Option Description
--datastore | -d datastore_UUID or
datastore_name
If not provided, the system selects a datastore of sucient size.
--file | -f file_name
If not provided, the system species a unique name for the core dump le.
--size |-s file_size_MB
If not provided, the system creates a le of the size appropriate for the
memory installed in the host.
2 Verify that the le has been created:
esxcli system coredump file list
You can see the output similar to the following:
Path Active Configured Size
------------------------------------------------ ------ ---------- ---------
/vmfs/volumes/52b021c3-.../vmkdump/test.dumpfile false false 104857600
3 Activate the core dump le for the host:
esxcli system coredump file set
The command takes the following options:
Option Description
--path | -p
The path of the core dump le to use. This must be a pre-allocated le.
--smart | -s
This ag can be used only with --enable | -e=true. It will cause the le to be
selected using the smart selection algorithm.
For example,
esxcli system coredump file set --smart --enable true
4 Verify that the core dump le is active and congured:
esxcli system coredump file list
The output similar to the following indicates that the core dump le is active and congured:
Path Active Configured Size
------------------------------------------------ ------ ---------- ---------
/vmfs/volumes/52b021c3-.../vmkdump/test.dumpfile True True 104857600
What to do next
For information about other commands you can use to manage the core dump les, see the vSphere
Command-Line Interface Reference documentation.
Deactivate and Delete a Core Dump File
Deactivate a congured core dump le and, if needed, remove it from the VMFS datastore.
You can temporarily deactivate the core dump le. If you do not plan to use the deactivated le, you can
remove it from the VMFS datastore. To remove the le that has not been deactivated, you can use the system
coredump file remove with the --force | -F option.
Chapter 16 Working with Datastores
VMware, Inc. 177