Deactivate a configured core dump file and, if needed, remove it from the VMFS datastore.

Before you begin

Install vCLI or deploy the vSphere Management Assistant (vMA) virtual machine. See Getting Started with vSphere Command-Line Interfaces. For troubleshooting, run esxcli commands in the ESXi Shell.

About this task

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 system coredump file remove with the --force | -F option.

Procedure

  1. Deactivate the core dump file by running the following command:

    esxcli system coredump file set --unconfigure | -u

  2. Remove the file from the VMFS datastore:

    system coredump file remove --file | -f file_name

    The command takes the following options:

    Option

    Description

    --file | -f

    Specify the file name of the dump file to be removed. If you do not specify the file name, the configured core dump file will be removed.

    --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.