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.

Is it possible to give a virtual machine a dedicated hard drive in ESX. I want to do this to improve performance but my co worker says it's not possible.

share|improve this question

2 Answers 2

Yes, it's totally possible. When you are assigning a disk to a virtual machine, you can choose between a logical disk or a physical disk.

If you choose Physical Disk, it will give you a choice of all the un-allocated disks on the server.

If you don't have that option, in later versions of ESX and ESXi you need to choose "Raw Device Mappings".

share|improve this answer

Raw Device Mapping does this for disk IO and has been around for some time. vSphere (ESX\i 4) supports VM Direct Path IO which will allow you to directly map other IO devices (NICS & HBA's primarily) provided those devices are supported. Here's some information from Intel at the latest IDF that claims a 1.7x performance improvement when using direct path IO with 10GigE versus the standard VM emulated network hardware. The benefits for direct mapping slower hardware (e.g. GigE or 4Gig FC). There are some significant drawbacks to doing this at the moment - almost all advanced cluster\fault tolerance\high availability features are unavailable to VM's that directly map IO devices. It also requires support at the platform level - on Intel platforms VT-d is required so this is limited to Xeon 5500 platforms AFAIK.

Further steps along this road make use of Single Root IO Virtualization (SR-IOV) where the hardware provides virtualization support enabling direct mapping of multiple VM's to the same physical device, offloading the hardware virtualization from the Hypervisor in the same way as DirectPath but retaining the ability to have a device shared between VM's and hopefully recovering many of the lost cluster\FT capabilities. Multiple-Root IO Virtualization is an extension to this that provides direct IO mapping for distributed PCI complexes (e.g. Blade chassis or clusters with shared IO fabrics).

share|improve this answer

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.