SHIFT

--- Sjoerd Hooft's InFormation Technology ---

User Tools

Site Tools


Sidebar

Sponsor:

Would you like to sponsor this site?
Or buy me a beer?:


Recently Changed Pages:

View All Pages
View All Q Pages


View All Tags


Sign up for Q to post comments.





WIKI Disclaimer: As with most other things on the Internet, the content on this wiki is not supported. It was contributed by me and is published “as is”. It has worked for me, and might work for you.
Also note that any view or statement expressed anywhere on this site are strictly mine and not the opinions or views of my employer.


Terms And Conditions for Q users


Pages with comments

PageDateDiscussionTags
2019/05/01 14:08 2 Comments
2019/03/15 16:02 1 Comment
2019/03/15 16:02 1 Comment
2019/03/15 16:02 3 Comments
2017/04/20 15:28 1 Comment
2017/04/20 15:23 1 Comment
2017/04/19 14:44 1 Comment
2017/04/17 20:10 1 Comment
2017/04/17 20:07 1 Comment
2017/04/17 19:58 1 Comment
2017/04/17 19:52 1 Comment

View All Comments

esxiscratch

Creating an ESXi 5.1 Scratch Partition

When using ESXi 5.1 while running from an usb drive a random datastore is selected by ESXi to store the host's logfiles. If you would detach this datastore the logfiles are lost, which is not really something you want. This article shows how to create a scratch partition and how to tell ESXi to use it. Note that you'll need a reboot and this is only necessary on ESXi hosts running without local storage.

The procedure for doing this is pretty straight forward:

  • Create a datastore
    • Set the size to about 1-5 GB per host that will use it
  • Attach the datastore to the host and create a directory in it
    • The VMware default for the directory name is .locker-hostname
  • Configure scratch partition on host's advanced settings
    • Go to Configuration tab → Advanced Settings → ScratchConfig
      • Fill in the ScratchConfig.ConfiguredScratchLocation variable like this: /vmfs/volumes/<datastorename>/.locker-esxihostXXX
    • Note that after a reboot the friendly name will dissappear and change something like /vmfs/volumes/50d82ad1-872mrt40-a404-5cf3fabcf838/.locker-esxihostXXX
    • Als note that this friendly name is still used when browsing through the datastore using the Datastore Browser utility
  • Reboot host
  • Check that files have been created in the directory

More Information

On a medium to busy environment the amount of logging was about 2 GB after more than a year.

Resources

You could leave a comment if you were logged in.
esxiscratch.txt · Last modified: 2014/03/24 16:48 by sjoerd