[VMware] ESXi Configuration Issues “No coredump target has been configured. Host core dumps cannot be saved “

客戶近日二台新機Cisco UCS C200 M4 , ESXi 6.0出現了如下圖所示 Configuration Issues “No coredump target has been configured. Host core dumps cannot be saved

vmware-configuration-issues-no-coredump-target-has-been-configured.jpg

(極不建議) 若不想要CoreDump則是可以忽略;而忽略方式為
> Host > Configuration > Advanced Settings > UserVars > SuppressCoredumpWarning “1″

** 2020-01-31 add **
(註) 原廠KB說到 iSCSI 是無法存放coredump !

step01. # partedUtil showGuids // 確認 coredump 用的是vmkDiagnostic
———————————————————————————————
Partition Type GUID
vmfs AA31E02A400F11DB9590000C2911D1B8
vmkDiagnostic 9D27538040AD11DBBF97000C2911D1B8
vsan 381CFCCC728811E092EE000C2911D0B2
virsto 77719A0CA4A011E3A47E000C29745A24
VMware Reserved 9198EFFC31C011DB8F78000C2911D1B8
Basic Data EBD0A0A2B9E5443387C068B6B72699C7
Linux Swap 0657FD6DA4AB43C484E50933C84B4F4F
Linux Lvm E6D6D379F50744C2A23C238F2A3DF928
Linux Raid A19D880F05FC4D3BA006743F0F84911E
Efi System C12A7328F81F11D2BA4B00A0C93EC93B
Microsoft Reserved E3C9E3160B5C4DB8817DF92DF00215AE
Unused Entry 00000000000000000000000000000000
———————————————————————————————

step02. ls -alh /vmfs/devices/disks // 確認所要的coredump存放位置

step03.
#partedUtil get “/vmfs/devices/disks/naa.6f80bcbeac390c9021cc5fc20dbece25″
36351 255 63 583983104

step04.由於我個案是要存放本機RAID-1 HDD 且目前無資料在裡頭,因此我先刪除該Datastore

step05.
# partedUtil get /vmfs/deivces/disks/naa.6f80bcbeac390c9021cc5fc20dbece25
# partedUtil getptbl /vmfs/devices/disks/naa.6f80bcbeac390c9021cc5fc20dbece25

step05.
# partedUtil setptbl “/vmfs/devices/disks/naa.6f80bcbeac390c9021cc5fc20dbece25″ gpt “1 2048 536858623 AA31E02A400F11DB9590000C2911D1B8 0″ “2 536860170 583983104 9D27538040AD11DBBF97000C2911D1B8 0″

step06.設定第二個Partition 當 coredump (vmkDiagnostic) 存放位置
# esxcli system coredump partition set –partition="naa.6f80bcbeac390c9021cc5fc20dbece25:2″

step07.再次確認OK
# esxcli system coredump partition list
# esxcli system coredump partition get



Reference :

  1. Configuring a diagnostic coredump partition on an ESXi 5.x/6.x host (2004299)
  2. Provirtualzone – VMware: ESXi 5.5 update – No coredump target has been configured. Host core dumps cannot be saved
  3. TUX ROOT – Disable “No Coredump Target has been Configured. Host Core Dumps Cannot be Saved” Error on ESXi host
  4. 9to5it.com – Fix – No coredump target has been configured
  5. Microsoft & VMWare – How To Use Partedutil To Create A Coredump Partition
  6. vstrong.info – HOW TO: Configure Shared Diagnostic Partition on VMware ESX host

發表迴響

在下方填入你的資料或按右方圖示以社群網站登入:

WordPress.com 標誌

您的留言將使用 WordPress.com 帳號。 登出 /  變更 )

Google photo

您的留言將使用 Google 帳號。 登出 /  變更 )

Twitter picture

您的留言將使用 Twitter 帳號。 登出 /  變更 )

Facebook照片

您的留言將使用 Facebook 帳號。 登出 /  變更 )

連結到 %s