Solved

VMWare ESXi 4.1 Scratch partition?

Posted on 2013-05-27
3
877 Views
Last Modified: 2013-05-27
Hi,

I have a lab-environment with ESXi 5.1-servers, they are installed on USB-drives.

There is a production environment I work with, which has ESX 4.1 servers, these are installed to SSD-drives. However, for config, choice has been made to move ONLY the scratch-partition to a SAN-drive.
Reason = SSD’s would be worn-out due to frequent read-writes.

Questions:

*is the reason above  a valid reason/reason to move the scratch-partition, also for (my) ESXi 5?
I always understood, you could remove the USB-drive once server has been booted, since everything runs in RAM (never tried it though)?

*if moving scratch-partion is advisable, is there an article + is there performance gain?

Please advise.
J.
0
Comment
Question by:janhoedt
  • 2
3 Comments
 
LVL 10

Expert Comment

by:Subhashish Laha
ID: 39199118
0
 

Author Comment

by:janhoedt
ID: 39199128
Thanks! Somehow contradictory however:


When booting from USB/SD keep in mind that once ESXi is loaded, it runs from memory and there is very little ongoing I/O to the boot device.


Because USB/SD devices are sensitive to high amounts of I/O the installer will not place the scratch partition on a USB/SD device.  Instead, the installer first scans for a local 4GB vfat partition, if it doesn’t find one it will then scan for a local VMFS volume on which to create a scratch directory.  If no local vfat partition or VMFS volume is found, as a last resort the installer will put the scratch partition in “/tmp/scratch” (i.e. put scratch on the local ramdisk).  If this happens it’s a good idea to manually reconfigure the scratch partition after the install.


So, first it says: it runs in memory BUT you should reconfigure the scratch partition to another drive if no local drive is available since it highly used ....
0
 
LVL 10

Accepted Solution

by:
Subhashish Laha earned 500 total points
ID: 39199230
Hope this clears your doubt

This “scratch partition” is used for storing

- vm-support dumps
- log files
- userworld swapfiles (if enabled).

When using Boot-from-SAN or USB scratch partitions are not automatically created and the above mentioned files will be stored in a RAM disk. This means that after a reboot these files will be gone. Therefore, from an operational point of view it is a good idea to manually specify or script the scratch partition after the installation. You could use a VMFS volume for it and create multiple folders per server to store the respective files.

http://ituda.com/vmware-esx-scratch-partition-and-logging/
0

Featured Post

Control application downtime with dependency maps

Visualize the interdependencies between application components better with Applications Manager's automated application discovery and dependency mapping feature. Resolve performance issues faster by quickly isolating problematic components.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This is an issue that we can get adding / removing permissions in the vCSA 6.0. We can also have issues searching for users / groups in the AD (using your identify sources). This is how one of the ways to handle this issues and fix it.
This article will show you how to create an ISO CD-ROM/DVD-ROM image (*.iso), and MD5 checksum signature, for use with VMware vSphere Hypervisor 6.5 (ESXi 6.5). It's a good idea to compare checksums, because many installations fail because of a corr…
Teach the user how to install vSphere Update Manager  Console to Windows system:  Install vSphere Update Manager: Configure vSphere Update Manager plug-in in vSphere Client: Verify vSphere Update Manager settings in vSphere Client:
Teach the user how to configure vSphere clusters to support the VMware FT feature Open vSphere Web Client: Verify vSphere HA is enabled: Verify netowrking for vMotion and FT Logging is in place or create it: Turn On FT for a virtual machine: Verify …

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

13 Experts available now in Live!

Get 1:1 Help Now