Disable ESXi coredump and delete coredump file

From Notes_Wiki
Revision as of 01:03, 25 June 2018 by Saurabh (talk | contribs) (Created page with "<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb> =Disable ESXi coredump and delete coredump file= ESXi might automatically set first availab...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb>

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: