Difference between revisions of "Disable ESXi coredump and delete coredump file"

From Notes_Wiki
(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...")
 
m
 
Line 1: Line 1:
<yambe:breadcrumb>VMWare_vSphere_or_ESXi|VMWare vSphere or ESXi</yambe:breadcrumb>
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Disable ESXi coredump and delete coredump file]]
=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:
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:
Line 22: Line 21:
* 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-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
* https://docs.vmware.com/en/VMware-vSphere/6.5/com.vmware.vsphere.storage.doc/GUID-FD3877CD-DB36-4F75-B30B-4EBB9A2A76F4.html
[[Main_Page|Home]] > [[VMWare platform]] > [[VMWare vSphere or ESXi]] > [[Disable ESXi coredump and delete coredump file]]

Latest revision as of 08:45, 7 April 2022

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