Solved

VMWare ESXi 4.1 Scratch partition?

Posted on 2013-05-27
3
870 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
Comment Utility
0
 

Author Comment

by:janhoedt
Comment Utility
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
Comment Utility
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

Zoho SalesIQ

Hassle-free live chat software re-imagined for business growth. 2 users, always free.

Join & Write a Comment

Using a software based iSCSI solution, there is no requirement to purchase a hardware iSCSI initiator or TOE (TCP/IP Offload Engine) interface card. A standard network interface card can be used to connect an existing ESXi server to a remote iSCSI t…
David Varnum recently wrote up his impressions of PRTG, based on a presentation by my colleague Christian at Tech Field Day at VMworld in Barcelona. Thanks David, for your detailed and honest evaluation!
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:
Advanced tutorial on how to run the esxtop command to capture a batch file in csv format in order to export the file and use it for performance analysis. He demonstrates how to download the file using a vSphere web client (or vSphere client) and exp…

771 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

16 Experts available now in Live!

Get 1:1 Help Now