Deactivate a configured core dump file and, if needed, remove it from the VMFS datastore.
You can temporarily deactivate the core dump file. If you do not plan to use the deactivated file, you can remove it from the VMFS datastore. To remove the file that has not been deactivated, you can use the esxcli system coredump file remove command with the --force | -F parameter.
Prerequisites
Install ESXCLI. See Getting Started with ESXCLI. For troubleshooting, run esxcli commands in the ESXi Shell.
Procedure
- List the core dump files:
esxcli system coredump file list
- Deactivate the core dump file by running the following command:
esxcli system coredump file set --unconfigure | -u
- Remove the file from the VMFS datastore:
esxcli system coredump file remove --file | -f file_name
The command takes the following options:
Option |
Description |
--file | -f |
Enter the name of the dump file to be removed. If you do not enter the name, the command removes the default configured core dump file. |
--force | -F |
Deactivate and unconfigure the dump file being removed. This option is required if the file has not been previously deactivated and is active. |
Results
The core dump file becomes disabled and is removed from the VMFS datastore.