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?
LVL 4
Cobra25Asked:
Who is Participating?
I wear a lot of hats...

"The solutions and answers provided on Experts Exchange have been extremely helpful to me over the last few years. I wear a lot of hats - Developer, Database Administrator, Help Desk, etc., so I know a lot of things but not a lot about one thing. Experts Exchange gives me answers from people who do know a lot about one thing, in a easy to use platform." -Todd S.

Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
specification the location in the Advanced settings, to the new datastore. (where you want them located)

see my EE Article

Part 11: HOW TO: Suppress Configuration Issues System logs on host are stored on non-persistent storage

Experts Exchange Solution brought to you by

Your issues matter to us.

Facing a tech roadblock? Get the help and guidance you need from experienced professionals who care. Ask your question anytime, anywhere, with no hassle.

Start your 7-day free trial
Cobra25Author Commented:
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 / EE Fellow)VMware and Virtualization ConsultantCommented:
this needs to be changed to reflect the datastore name and folder.
Your Guide to Achieving IT Business Success

The IT Service Excellence Tool Kit has best practices to keep your clients happy and business booming. Inside, you’ll find everything you need to increase client satisfaction and retention, become more competitive, and increase your overall success.

Cobra25Author Commented:
what exactly would be the syntax for that?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
it's in my EE Article, did you read it.
Cobra25Author Commented:
It seems like i can to manually create a folder first for this?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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.
Cobra25Author Commented:
how do i create it?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
what do you want to create?
Cobra25Author Commented:
Create a folder to put the core dump in?
Andrew Hancock (VMware vExpert / EE Fellow)VMware and Virtualization ConsultantCommented:
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
Cobra25Author Commented:
Thanks! will give it a shot.
It's more than this solution.Get answers and train to solve all your tech problems - anytime, anywhere.Try it for free Edge Out The Competitionfor your dream job with proven skills and certifications.Get started today Stand Outas the employee with proven skills.Start learning today for free Move Your Career Forwardwith certification training in the latest technologies.Start your trial today
VMware

From novice to tech pro — start learning today.