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:
- List current core-dump location using:
- esxcli system coredump file list
-
- You can also use 'esxcli system coredump file get'
- Deactivate the coredump file using:
- esxcli system coredump file set --unconfigure
- Delete core dump file after deactivating using:
- system coredump file remove --file <file-path>
Refer:
- https://kb.vmware.com/s/article/1020668
- https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.storage.doc/GUID-0734F24A-C019-4F56-A183-BB58AA1A1390.html
- https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.storage.doc/GUID-FD3877CD-DB36-4F75-B30B-4EBB9A2A76F4.html
Home > VMWare platform > VMWare vSphere or ESXi > Disable ESXi coredump and delete coredump file