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

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 command with the --force | -F parameter.

Prerequisites

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.

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

    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.