Disable ESXi coredump and delete coredump file

From Notes_Wiki

Home > VMWare platform > VMWare vSphere or ESXi > Disable ESXi coredump and delete coredump file

ESXi might automatically set first available datastore as destination for coredump file. This might become an issue if you want to delete that particular data-store in future as it would not get deleted with error 'datastore in use'. The folder or file name might have name 'vmkcore'. To solve this problem use:

  1. List current core-dump location using:
    esxcli system coredump file list
    You can also use 'esxcli system coredump file get'
  2. Deactivate the coredump file using:
    esxcli system coredump file set --unconfigure
  3. Delete core dump file after deactivating using:
    system coredump file remove --file <file-path>


Refer:



Home > VMWare platform > VMWare vSphere or ESXi > Disable ESXi coredump and delete coredump file