Solved

VMWare ESXi 4.1 Scratch partition?

Posted on 2013-05-27
3
884 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

Microsoft Certification Exam 74-409

Veeam® is happy to provide the Microsoft community with a study guide prepared by MVP and MCT, Orin Thomas. This guide will take you through each of the exam objectives, helping you to prepare for and pass the examination.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
VMware 6.0 second VCenter PSC question 3 52
ESXi 6 ESXTOP %C0 and %C1 Stats 8 92
VMware 6.0 3 67
ESX 6.0 Best Practices for datastore size 5 70
HOW TO: Connect to the VMware vSphere Hypervisor 6.5 (ESXi 6.5) using the vSphere (HTML5 Web) Host Client 6.5, and perform a simple configuration task of adding a new VMFS 6 datastore.
When rebooting a vCenters 6.0 and try to connect using vSphere Client we get this issue "Invalid URL: The hostname could not parsed." When we get this error we need to do some changes in the vCenter advanced settings to fix the issue.
Teach the user how to delpoy the vCenter Server Appliance and how to configure its network settings Deploy OVF: Open VM console and configure networking:
This video shows you how easy it is to boot from ISO images for virtual machines with the ISO images stored on a local datastore on the ESXi host.

815 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

10 Experts available now in Live!

Get 1:1 Help Now