Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am installing ESXi for the first time and really need to know if I have to partition and format the hard drive for the virtual machines prior to installation of ESXi or ESXi will be handling all hard drive problems for me?

share|improve this question
2  
Just as a helpful comment, you may want to consider installing ESXi onto a USB flash drive or SD card. This allows all of your hard disk space to be used for virtual machines (or to have a diskless server if you use shared storage). I used a few 8G usb drives, they work great. –  Jim G. Mar 7 '12 at 0:44

5 Answers 5

up vote 2 down vote accepted

short answer: don't worry. No need to partition.

longer answer: make sure that there is nothing you are still interested in on the hard disks attached to the hosts you install ESXi on when you install. ESXi will apply a default format for it's own (management) stuff, and create a "data store" from the space left.

remark on namings:

ESX and ESXi store hypervisor "stuff" they need to run on partitions usually not visible in the VI Client. You get to see results that come from there, like log entries, but usually you are not moving around there by yourself (unless you explicitly login the the CLI on the ESX host). Such partitions are often locally attached disks on a ESX/i host, as they are only used by one single host.

Virtual machines and such are stored on separate partitions, called "data stores", and usually you put those on a shared storage so everyone attached to the SAN/NAS can see and use the data store. However, data store can reside pretty much everywhere - also on local hard disks. In that case, other host would not be able to mount that data store, but it's still a perfectly avlid data store.

To share locally attached disks with other ESXi hosts, have a look at the vSphere Storage Appliance.

share|improve this answer

Once you have installed ESXi you can use its interface to set up your data stores. There are no third party steps involved.

share|improve this answer

Yes, ESXi partitions and formats vmfs volumes on your local disk.

During the reboot operation, VFAT scratch and VMFS partitions are created on the disk.

http://www.vmware.com/pdf/vsphere4/r41/vsp_41_esxi_i_vc_setup_guide.pdf, page 45, step 9

share|improve this answer

The "hard drives" you set up for Virtual Machines are actually files. Usually VMDK files with VMWare. Your physical hard disks become Data Stores and as you configure virtual machines and drives for them, you'll see folders with various files, the largest of which will probably be VMDK files which are the only Hard Drives the virtual machines know about.

So don't bother partitioning anything on the physical drives. Do all your hard disk config for the virtual machines inside the vCenter app as you set up each virtual machine.

share|improve this answer

Unless you have a specific need, partitioning will reduce your future flexibility. I just have one giant volume, then in the datastore vmWare puts each VM's files in a seperate folder to keep them tidy.

share|improve this answer
    
Even a single file system has a partition. –  Aaron Copley Mar 7 '12 at 0:14

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.