Avatar of Cobra25
Cobra25
 asked on

No Coredump vmware

hey guys, i had to reformat my local datastores, now i see this message in my esx:

No coredump target has been configured. Host core dumps cannot be saved.
System logs on host are stored on non-peristent storage.

How do i fix?
VMwareVirtualizationStorage

Avatar of undefined
Last Comment
Cobra25

8/22/2022 - Mon
ASKER CERTIFIED SOLUTION
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

THIS SOLUTION ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
Start Free Trial
GET A PERSONALIZED SOLUTION
Ask your own question & get feedback from real experts
Find out why thousands trust the EE community with their toughest problems.
Cobra25

ASKER
I would just like them stored locally,


 i have this for the logDir: [] /scratch/log

not sure for logHost, i have no syslog
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

this needs to be changed to reflect the datastore name and folder.
Cobra25

ASKER
what exactly would be the syntax for that?
I started with Experts Exchange in 2004 and it's been a mainstay of my professional computing life since. It helped me launch a career as a programmer / Oracle data analyst
William Peck
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

it's in my EE Article, did you read it.
Cobra25

ASKER
It seems like i can to manually create a folder first for this?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

yes, you can create a folder.

it's best to label it, and make sure that folder is not the root of a datastore, especially if ESXi 6.0.
⚡ FREE TRIAL OFFER
Try out a week of full access for free.
Find out why thousands trust the EE community with their toughest problems.
Cobra25

ASKER
how do i create it?
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

what do you want to create?
Cobra25

ASKER
Create a folder to put the core dump in?
Experts Exchange is like having an extremely knowledgeable team sitting and waiting for your call. Couldn't do my job half as well as I do without it!
James Murphy
Andrew Hancock (VMware vExpert PRO / EE Fellow/British Beekeeper)

coredumps use a storage device, syslogs and logs can use a folder on a storage datastore, you've got two error messages, coredumps and persistant storage.

okay, this VMware KB Article describes the process in great detail

using the
esxcli system coredump

Open in new window

command

https://kb.vmware.com/selfservice/search.do?cmd=displayKC&docType=kc&docTypeID=DT_KB_1_1&externalId=2004299
Cobra25

ASKER
Thanks! will give it a shot.